summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2006-12-08 17:02:23 +0000
committerAlexis Ballier <aballier@gentoo.org>2006-12-08 17:02:23 +0000
commitea5489174b353a7fc3379aef68da02d8920f475a (patch)
tree9d4bee2cd3a0e265b9179ae2683bf76621fde394 /media-libs/libsamplerate/files
parentStable on ppc wrt bug 157356 (diff)
downloadgentoo-2-ea5489174b353a7fc3379aef68da02d8920f475a.tar.gz
gentoo-2-ea5489174b353a7fc3379aef68da02d8920f475a.tar.bz2
gentoo-2-ea5489174b353a7fc3379aef68da02d8920f475a.zip
Fixing automagic dep on libsndfile, bug #155025
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'media-libs/libsamplerate/files')
-rw-r--r--media-libs/libsamplerate/files/digest-libsamplerate-0.1.2-r13
-rw-r--r--media-libs/libsamplerate/files/libsamplerate-0.1.2-automagic.patch16
2 files changed, 19 insertions, 0 deletions
diff --git a/media-libs/libsamplerate/files/digest-libsamplerate-0.1.2-r1 b/media-libs/libsamplerate/files/digest-libsamplerate-0.1.2-r1
new file mode 100644
index 000000000000..a835e837dc85
--- /dev/null
+++ b/media-libs/libsamplerate/files/digest-libsamplerate-0.1.2-r1
@@ -0,0 +1,3 @@
+MD5 06861c2c6b8e5273c9b80cf736b9fd0e libsamplerate-0.1.2.tar.gz 707867
+RMD160 4e5453821b80b17586ad66068e409ed0437cca02 libsamplerate-0.1.2.tar.gz 707867
+SHA256 98b8766323c78b7b718dfd4ef6b9292bbf0796b742abb2319b8278cbeee731d4 libsamplerate-0.1.2.tar.gz 707867
diff --git a/media-libs/libsamplerate/files/libsamplerate-0.1.2-automagic.patch b/media-libs/libsamplerate/files/libsamplerate-0.1.2-automagic.patch
new file mode 100644
index 000000000000..1a4ce778baec
--- /dev/null
+++ b/media-libs/libsamplerate/files/libsamplerate-0.1.2-automagic.patch
@@ -0,0 +1,16 @@
+--- libsamplerate-0.1.2/configure.ac.old 2006-12-08 17:39:38.000000000 +0100
++++ libsamplerate-0.1.2/configure.ac 2006-12-08 17:41:44.000000000 +0100
+@@ -183,8 +183,13 @@
+
+ #====================================================================================
+ # Check for libsndfile which is required for the test and example programs.
++AC_ARG_ENABLE(sndfile, AC_HELP_STRING([--disable-sndfile], [disable support for sndfile (default=autodetect)]), [ enable_sndfile=$enableval ], [ enable_sndfile=yes ])
+
++if test "x$enable_sndfile" = "xyes"; then
+ PKG_CHECK_MODULES(SNDFILE, sndfile >= 1.0.6, ac_cv_sndfile=1, ac_cv_sndfile=0)
++else
++ac_cv_sndfile=0
++fi
+
+ AC_DEFINE_UNQUOTED([HAVE_SNDFILE],$ac_cv_sndfile,[Set to 1 if you have libsndfile.])
+