diff options
author | Brian Harring <ferringb@gentoo.org> | 2004-02-01 12:29:46 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2004-02-01 12:29:46 +0000 |
commit | 9a30d2399f31776891c19b5604e1b3acc1c824e0 (patch) | |
tree | cee3eb284663a4f6bf00a6f0d84514a967860c10 /games-emulation/stella/files | |
parent | Fixed my errors. Closes #40045. (diff) | |
download | gentoo-2-9a30d2399f31776891c19b5604e1b3acc1c824e0.tar.gz gentoo-2-9a30d2399f31776891c19b5604e1b3acc1c824e0.tar.bz2 gentoo-2-9a30d2399f31776891c19b5604e1b3acc1c824e0.zip |
Tweaked the alsalib patch slightly, removing an uncessary definition.
Diffstat (limited to 'games-emulation/stella/files')
-rw-r--r-- | games-emulation/stella/files/stella-1.3-alsa-fix.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/games-emulation/stella/files/stella-1.3-alsa-fix.patch b/games-emulation/stella/files/stella-1.3-alsa-fix.patch index fd603b286a72..a9193fd870b8 100644 --- a/games-emulation/stella/files/stella-1.3-alsa-fix.patch +++ b/games-emulation/stella/files/stella-1.3-alsa-fix.patch @@ -1,14 +1,13 @@ diff -ur stella-1.3/src/ui/sound/SoundALSA.cxx stella-1.3-fixed/src/ui/sound/SoundALSA.cxx --- stella-1.3/src/ui/sound/SoundALSA.cxx 2003-02-17 19:19:44.000000000 -0600 +++ stella-1.3-fixed/src/ui/sound/SoundALSA.cxx 2004-01-22 00:57:30.000000000 -0600 -@@ -16,6 +16,11 @@ - // $Id: stella-1.3-alsa-fix.patch,v 1.1 2004/02/01 12:13:02 ferringb Exp $ +@@ -16,6 +16,10 @@ + // $Id: stella-1.3-alsa-fix.patch,v 1.2 2004/02/01 12:29:32 ferringb Exp $ //============================================================================ +#include <alsa/version.h> +#if SND_LIB_MAJOR==1 +#define ALSA_PCM_OLD_HW_PARAMS_API -+#define ALSA_PCM_NEW_HW_PARAMS_API +#endif #include <alsa/asoundlib.h> #include <stdio.h> @@ -16,14 +15,13 @@ diff -ur stella-1.3/src/ui/sound/SoundALSA.cxx stella-1.3-fixed/src/ui/sound/Sou diff -ur stella-1.3/src/ui/sound/SoundALSA.hxx stella-1.3-fixed/src/ui/sound/SoundALSA.hxx --- stella-1.3/src/ui/sound/SoundALSA.hxx 2003-02-17 19:19:44.000000000 -0600 +++ stella-1.3-fixed/src/ui/sound/SoundALSA.hxx 2004-01-22 00:57:01.000000000 -0600 -@@ -19,6 +19,11 @@ +@@ -20,6 +19,10 @@ #ifndef SOUNDALSA_HXX #define SOUNDALSA_HXX +#include <alsa/version.h> +#if SND_LIB_MAJOR==1 +#define ALSA_PCM_OLD_HW_PARAMS_API -+#define ALSA_PCM_NEW_HW_PARAMS_API +#endif #include <alsa/asoundlib.h> |