summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-29 22:51:21 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-29 22:51:21 +0000
commitf71a718be904b8a85c85c5ba3a03e9f9e13991c7 (patch)
tree69edccd179a84e023dd89269cb0884eb03858f46 /media-sound/esound/files
parentVersion bump. Closing #41040. (diff)
downloadhistorical-f71a718be904b8a85c85c5ba3a03e9f9e13991c7.tar.gz
historical-f71a718be904b8a85c85c5ba3a03e9f9e13991c7.tar.bz2
historical-f71a718be904b8a85c85c5ba3a03e9f9e13991c7.zip
fix warnings when compiling with older alsa-lib #36417
Diffstat (limited to 'media-sound/esound/files')
-rw-r--r--media-sound/esound/files/esound-0.2.32-new-alsa.patch6
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