summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2004-02-01 12:31:27 +0000
committerBrian Harring <ferringb@gentoo.org>2004-02-01 12:31:27 +0000
commit0037f115e025fc2e545275f7cab20f5607811dc3 (patch)
tree152107b01cd37f59f3630ab2c30b9d6eb9342922 /media-sound/galan/files
parentClosing alsalib-1.0 compilation bug (38995) (diff)
downloadgentoo-2-0037f115e025fc2e545275f7cab20f5607811dc3.tar.gz
gentoo-2-0037f115e025fc2e545275f7cab20f5607811dc3.tar.bz2
gentoo-2-0037f115e025fc2e545275f7cab20f5607811dc3.zip
Closing alsalib-1.0 compilation bug (38995)
Diffstat (limited to 'media-sound/galan/files')
-rw-r--r--media-sound/galan/files/galan-0.2.14-alsalib-fix.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/media-sound/galan/files/galan-0.2.14-alsalib-fix.patch b/media-sound/galan/files/galan-0.2.14-alsalib-fix.patch
new file mode 100644
index 000000000000..f3c47a25491a
--- /dev/null
+++ b/media-sound/galan/files/galan-0.2.14-alsalib-fix.patch
@@ -0,0 +1,56 @@
+diff -ur galan-0.2.14/plugins/alsa_midi.c galan-0.2.14-fixed/plugins/alsa_midi.c
+--- galan-0.2.14/plugins/alsa_midi.c 2002-09-18 16:10:24.000000000 -0500
++++ galan-0.2.14-fixed/plugins/alsa_midi.c 2004-01-22 01:49:41.000000000 -0600
+@@ -28,6 +28,10 @@
+
+ //#include <sys/ioctl.h>
+ //#include <sys/soundcard.h>
++#include <alsa/version.h>
++#if SND_LIB_MAJOR==1
++#define ALSA_PCM_OLD_HW_PARAMS_API
++#endif
+ #include <alsa/asoundlib.h>
+
+ #include <gdk/gdk.h>
+diff -ur galan-0.2.14/plugins/alsa_midi.la.c galan-0.2.14-fixed/plugins/alsa_midi.la.c
+--- galan-0.2.14/plugins/alsa_midi.la.c 2002-09-18 16:10:24.000000000 -0500
++++ galan-0.2.14-fixed/plugins/alsa_midi.la.c 2004-01-22 01:47:43.000000000 -0600
+@@ -28,6 +28,10 @@
+
+ //#include <sys/ioctl.h>
+ //#include <sys/soundcard.h>
++#include <alsa/version.h>
++#if SND_LIB_MAJOR==1
++#define ALSA_PCM_OLD_HW_PARAMS_API
++#endif
+ #include <alsa/asoundlib.h>
+
+ #include <gdk/gdk.h>
+diff -ur galan-0.2.14/plugins/alsa_out.c galan-0.2.14-fixed/plugins/alsa_out.c
+--- galan-0.2.14/plugins/alsa_out.c 2003-03-15 01:17:25.000000000 -0600
++++ galan-0.2.14-fixed/plugins/alsa_out.c 2004-01-22 01:49:24.000000000 -0600
+@@ -36,6 +36,10 @@
+ #include "gencomp.h"
+ #include "msgbox.h"
+ #include "prefs.h"
++#include "alsa/version.h"
++#if SND_LIB_MAJOR==1
++#define ALSA_PCM_OLD_HW_PARAMS_API
++#endif
+ #include "alsa/asoundlib.h"
+
+ #define SIG_LEFT_CHANNEL 0
+diff -ur galan-0.2.14/plugins/alsa_out.la.c galan-0.2.14-fixed/plugins/alsa_out.la.c
+--- galan-0.2.14/plugins/alsa_out.la.c 2003-03-15 01:17:25.000000000 -0600
++++ galan-0.2.14-fixed/plugins/alsa_out.la.c 2004-01-22 01:53:49.000000000 -0600
+@@ -36,6 +36,10 @@
+ #include "gencomp.h"
+ #include "msgbox.h"
+ #include "prefs.h"
++#include "alsa/version.h"
++#if SND_LIB_MAJOR==1
++#define ALSA_PCM_OLD_HW_PARAMS_API
++#endif
+ #include "alsa/asoundlib.h"
+
+ #define SIG_LEFT_CHANNEL 0