summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/libsndfile/files/.mtn2git_empty0
-rw-r--r--packages/libsndfile/files/configure-fix.patch10
-rw-r--r--packages/libsndfile/libsndfile1_1.0.17.bb6
3 files changed, 14 insertions, 2 deletions
diff --git a/packages/libsndfile/files/.mtn2git_empty b/packages/libsndfile/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libsndfile/files/.mtn2git_empty
diff --git a/packages/libsndfile/files/configure-fix.patch b/packages/libsndfile/files/configure-fix.patch
new file mode 100644
index 0000000000..1fcbb8c790
--- /dev/null
+++ b/packages/libsndfile/files/configure-fix.patch
@@ -0,0 +1,10 @@
+--- /tmp/configure.ac 2008-06-02 20:33:03.191936504 +0200
++++ libsndfile-1.0.17/configure.ac 2008-06-02 20:33:15.120002907 +0200
+@@ -31,6 +31,7 @@
+ SHARED_VERSION_INFO="1:17:0"
+
+ AC_PROG_CC
++AC_PROG_CXX
+ AM_PROG_LIBTOOL
+
+ AC_CHECK_PROG(autogen, autogen, yes, no)
diff --git a/packages/libsndfile/libsndfile1_1.0.17.bb b/packages/libsndfile/libsndfile1_1.0.17.bb
index b15f84f94f..670f75b3fc 100644
--- a/packages/libsndfile/libsndfile1_1.0.17.bb
+++ b/packages/libsndfile/libsndfile1_1.0.17.bb
@@ -3,9 +3,11 @@ HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
AUTHOR = "Erik de Castro Lopo"
SECTION = "libs/multimedia"
LICENSE = "LGPL"
-PR = "r1"
+PR = "r2"
+
+SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \
+ file://configure-fix.patch;patch=1"
-SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz"
S = "${WORKDIR}/libsndfile-${PV}"
inherit autotools lib_package pkgconfig