From 27e194b71491a1c40fa2b37b966a7a671f68b4d0 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 23 May 2008 14:08:41 +0000 Subject: libsndfile: there are c++ files in sources - fix configure.ac 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 | 18 ++++++++++++++++++ .../packages/libsndfile/libsndfile1_1.0.17.bb | 6 ++++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 meta-openmoko/packages/libsndfile/files/add-cxx.patch diff --git a/meta-openmoko/packages/libsndfile/files/add-cxx.patch b/meta-openmoko/packages/libsndfile/files/add-cxx.patch new file mode 100644 index 0000000000..da0c4010e6 --- /dev/null +++ b/meta-openmoko/packages/libsndfile/files/add-cxx.patch @@ -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 diff --git a/meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb b/meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb index cf3b6d8e48..a010c51184 100644 --- a/meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb +++ b/meta-openmoko/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 = "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 -- cgit 1.2.3-korg