]> code.ossystems Code Review - openembedded-core.git/commitdiff
libsndfile: there are c++ files in sources - fix configure.ac
authorMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 23 May 2008 14:08:41 +0000 (14:08 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Fri, 23 May 2008 14:08:41 +0000 (14:08 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4548 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta-openmoko/packages/libsndfile/files/add-cxx.patch [new file with mode: 0644]
meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb

diff --git a/meta-openmoko/packages/libsndfile/files/add-cxx.patch b/meta-openmoko/packages/libsndfile/files/add-cxx.patch
new file mode 100644 (file)
index 0000000..da0c401
--- /dev/null
@@ -0,0 +1,18 @@
+---
+ configure.ac |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- libsndfile-1.0.17.orig/configure.ac
++++ libsndfile-1.0.17/configure.ac
+@@ -29,10 +29,11 @@ AC_LANG([C])
+ #     to 0.
+ SHARED_VERSION_INFO="1:17:0"
+ AC_PROG_CC
++AC_PROG_CXX
+ AM_PROG_LIBTOOL
+ AC_CHECK_PROG(autogen, autogen, yes, no)
+ AC_PROG_INSTALL
index cf3b6d8e4868cf6ada4499f8607c7fe76ecb14d5..a010c51184bff87d92c6b9679d1a0d5a9659bed0 100644 (file)
@@ -3,9 +3,11 @@ HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
 AUTHOR = "Erik de Castro Lopo"
 SECTION = "libs/multimedia"
 LICENSE = "LGPL"
-PR = "r0"
+PR = "r1"
+
+SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \
+           file://add-cxx.patch;patch=1"
 
-SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz"
 S = "${WORKDIR}/libsndfile-${PV}"
 
 inherit autotools lib_package pkgconfig