summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-06-02 21:15:36 +0000
committerKoen Kooi <koen@openembedded.org>2008-06-02 21:15:36 +0000
commitfb5cdf5f7a31a9504db535db908f885c53ce2bba (patch)
tree992296ca0e52e9d1987dd8513e791880cf37bd8b
parent7c9ac6ee380c57c5cf6e6b16901e1fd80d6586f6 (diff)
libsndfile: fix configure.ac
-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