diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-02-29 22:51:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-02-29 22:51:21 +0000 |
commit | b7f1fe133ee5503d46ffa85a6fb7248c02178b4b (patch) | |
tree | 9b9c3cc0c5fc0a9502db0304bac96f726a8c53f0 /media-sound/esound | |
parent | Version bump. Closing #41040. (Manifest recommit) (diff) | |
download | gentoo-2-b7f1fe133ee5503d46ffa85a6fb7248c02178b4b.tar.gz gentoo-2-b7f1fe133ee5503d46ffa85a6fb7248c02178b4b.tar.bz2 gentoo-2-b7f1fe133ee5503d46ffa85a6fb7248c02178b4b.zip |
fix warnings when compiling with older alsa-lib #36417
Diffstat (limited to 'media-sound/esound')
-rw-r--r-- | media-sound/esound/files/esound-0.2.32-new-alsa.patch | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/media-sound/esound/files/esound-0.2.32-new-alsa.patch b/media-sound/esound/files/esound-0.2.32-new-alsa.patch index fdbceb35e161..26af05dfab59 100644 --- a/media-sound/esound/files/esound-0.2.32-new-alsa.patch +++ b/media-sound/esound/files/esound-0.2.32-new-alsa.patch @@ -1,11 +1,12 @@ diff -Naur esound-0.2.32.orig/acconfig.h esound-0.2.32/acconfig.h --- esound-0.2.32.orig/acconfig.h 2003-08-01 09:56:21.000000000 -0400 +++ esound-0.2.32/acconfig.h 2004-02-02 08:53:54.000000000 -0500 -@@ -8,6 +8,7 @@ +@@ -8,6 +8,8 @@ #undef DRIVER_ALSA #undef DRIVER_NEWALSA #undef DRIVER_ALSA_09 +#undef DRIVER_ALSA_09_AFTER_RC4 ++#undef ALSA_PCM_NEW_HW_PARAMS_API #undef DRIVER_DART #undef DRIVER_COREAUDIO #undef DRIVER_NONE @@ -68,7 +69,7 @@ diff -Naur esound-0.2.32.orig/audio_alsa09.c esound-0.2.32/audio_alsa09.c diff -Naur esound-0.2.32.orig/configure.in esound-0.2.32/configure.in --- esound-0.2.32.orig/configure.in 2003-09-03 12:23:23.000000000 -0400 +++ esound-0.2.32/configure.in 2004-02-02 08:53:54.000000000 -0500 -@@ -269,6 +269,22 @@ +@@ -269,6 +269,23 @@ AC_CHECK_FUNC(snd_cards,,[AC_CHECK_LIB(sound,snd_cards)]) AC_CHECK_FUNC(snd_cards,,[AC_CHECK_LIB(asound,snd_cards)]) AC_CHECK_FUNC(snd_pcm_pause,,[AC_CHECK_LIB(asound,snd_pcm_pause)]) @@ -86,6 +87,7 @@ diff -Naur esound-0.2.32.orig/configure.in esound-0.2.32/configure.in + snd_pcm_hw_params_set_rate_near(pcm, params, val, dir); + ], , [ + AC_DEFINE(DRIVER_ALSA_09_AFTER_RC4) ++ AC_DEFINE(ALSA_PCM_NEW_HW_PARAMS_API) + ]) + fi |