diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-08 11:54:15 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-05-08 11:54:15 +0000 |
commit | 46d9da3316b0902005b45c009189b0e6db5294ce (patch) | |
tree | c91a22d6d204062b6f55a0b23e6b27b5721094c5 /media-libs/libsndfile/files | |
parent | Fix repoman breaking manifest in kadressbook (diff) | |
download | gentoo-2-46d9da3316b0902005b45c009189b0e6db5294ce.tar.gz gentoo-2-46d9da3316b0902005b45c009189b0e6db5294ce.tar.bz2 gentoo-2-46d9da3316b0902005b45c009189b0e6db5294ce.zip |
Fix automagic jack-audio-connection-kit depend wrt #266346, thanks to Paolo Pedroni for reporting.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libsndfile/files')
-rw-r--r-- | media-libs/libsndfile/files/libsndfile-1.0.19-automagic_jack.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/media-libs/libsndfile/files/libsndfile-1.0.19-automagic_jack.patch b/media-libs/libsndfile/files/libsndfile-1.0.19-automagic_jack.patch new file mode 100644 index 000000000000..caa5566b80b4 --- /dev/null +++ b/media-libs/libsndfile/files/libsndfile-1.0.19-automagic_jack.patch @@ -0,0 +1,25 @@ +diff -ur libsndfile-1.0.19.orig/configure.ac libsndfile-1.0.19/configure.ac +--- libsndfile-1.0.19.orig/configure.ac 2009-03-03 00:37:24.000000000 +0200 ++++ libsndfile-1.0.19/configure.ac 2009-05-08 14:43:11.000000000 +0300 +@@ -124,6 +124,9 @@ + AC_ARG_ENABLE(alsa, + AC_HELP_STRING([--disable-alsa], [disable use of ALSA])) + ++AC_ARG_ENABLE(jack, ++ AC_HELP_STRING([--disable-jack], [disable use of JACK])) ++ + AC_ARG_ENABLE(external-libs, + AC_HELP_STRING([--disable-external-libs], [disable use of FLAC, Ogg and Vorbis])) + +@@ -342,7 +345,10 @@ + #==================================================================================== + # Check for JACK (only used for examples/sndfile-jackplay). + +-PKG_CHECK_MOD_VERSION(JACK, jack >= 0.100, ac_cv_jack=yes, ac_cv_jack=no) ++ac_cv_jack=no ++if test x$enable_jack != xno ; then ++ PKG_CHECK_MOD_VERSION(JACK, jack >= 0.100, ac_cv_jack=yes, ac_cv_jack=no) ++ fi + + if test x$ac_cv_jack = "xyes" ; then + HAVE_JACK=1 |