From 0037f115e025fc2e545275f7cab20f5607811dc3 Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Sun, 1 Feb 2004 12:31:27 +0000 Subject: Closing alsalib-1.0 compilation bug (38995) --- .../galan/files/galan-0.2.14-alsalib-fix.patch | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 media-sound/galan/files/galan-0.2.14-alsalib-fix.patch (limited to 'media-sound/galan/files') 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 + //#include ++#include ++#if SND_LIB_MAJOR==1 ++#define ALSA_PCM_OLD_HW_PARAMS_API ++#endif + #include + + #include +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 + //#include ++#include ++#if SND_LIB_MAJOR==1 ++#define ALSA_PCM_OLD_HW_PARAMS_API ++#endif + #include + + #include +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 -- cgit v1.2.3-65-gdbad