summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2012-02-26 19:43:35 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2012-02-26 19:43:35 +0000
commit550cd128119391945c08024598edb66209ca5381 (patch)
tree4804f5338da900e5432c2ab5b699b4c314b965da /media-libs/ccaudio2/files
parentAdd dev-libs/ucommon, bug #220597. Thanks to slepnoga (diff)
downloadhistorical-550cd128119391945c08024598edb66209ca5381.tar.gz
historical-550cd128119391945c08024598edb66209ca5381.tar.bz2
historical-550cd128119391945c08024598edb66209ca5381.zip
Add media-libs/ccaudio2, bug #109034. Thanks to slepnoga
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'media-libs/ccaudio2/files')
-rw-r--r--media-libs/ccaudio2/files/disable_gsm_automagic.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-libs/ccaudio2/files/disable_gsm_automagic.patch b/media-libs/ccaudio2/files/disable_gsm_automagic.patch
new file mode 100644
index 000000000000..1ae6a79239c7
--- /dev/null
+++ b/media-libs/ccaudio2/files/disable_gsm_automagic.patch
@@ -0,0 +1,25 @@
+--- configure.ac.orig 2011-05-15 21:40:14.000000000 +0300
++++ configure.ac 2011-05-15 21:46:11.000000000 +0300
+@@ -138,6 +138,9 @@
+ ac_gsm_codec=false
+ ac_spx_codec=false
+
++AC_ARG_ENABLE(gsm, [ --disable-gsm disable gsm support])
++if test "$enable_gsm" != "no" ; then
++
+ AC_CHECK_HEADER(gsm/gsm.h, [
+ ac_gsm_codec=true
+ AC_DEFINE(HAVE_GSM_GSM_H, [1], [gsm header found])
+@@ -145,9 +148,11 @@
+ ],[
+ AC_CHECK_HEADER(gsm.h, [
+ AUDIO_LIBS="$AUDIO_LIBS -lgsm"
+- AC_DEFINE(HAVE_GSM_H, [1], [gsm default header])
++ AC_DEFINE(HAVE_GSM_H, [1], [gsm default header])
++
+ ])
+ ])
++fi
+
+ AC_ARG_ENABLE(speex, [ --disable-speex disable speex support])
+ if test "$enable_speex" != "no" ; then