diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-05-23 14:08:41 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-05-23 14:08:41 +0000 |
commit | 27e194b71491a1c40fa2b37b966a7a671f68b4d0 (patch) | |
tree | 69b813b800624e579ed7730b93d9ac7f91fb495a | |
parent | 10f85ff8d5b382cf7e5d09d52e6a800d31f00d6c (diff) | |
download | poky-27e194b71491a1c40fa2b37b966a7a671f68b4d0.tar.gz |
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
-rw-r--r-- | meta-openmoko/packages/libsndfile/files/add-cxx.patch | 18 | ||||
-rw-r--r-- | meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb | 6 |
2 files changed, 22 insertions, 2 deletions
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 @@ | |||
1 | --- | ||
2 | configure.ac | 1 + | ||
3 | 1 file changed, 1 insertion(+) | ||
4 | |||
5 | --- libsndfile-1.0.17.orig/configure.ac | ||
6 | +++ libsndfile-1.0.17/configure.ac | ||
7 | @@ -29,10 +29,11 @@ AC_LANG([C]) | ||
8 | # to 0. | ||
9 | |||
10 | SHARED_VERSION_INFO="1:17:0" | ||
11 | |||
12 | AC_PROG_CC | ||
13 | +AC_PROG_CXX | ||
14 | AM_PROG_LIBTOOL | ||
15 | |||
16 | AC_CHECK_PROG(autogen, autogen, yes, no) | ||
17 | |||
18 | 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" | |||
3 | AUTHOR = "Erik de Castro Lopo" | 3 | AUTHOR = "Erik de Castro Lopo" |
4 | SECTION = "libs/multimedia" | 4 | SECTION = "libs/multimedia" |
5 | LICENSE = "LGPL" | 5 | LICENSE = "LGPL" |
6 | PR = "r0" | 6 | PR = "r1" |
7 | |||
8 | SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \ | ||
9 | file://add-cxx.patch;patch=1" | ||
7 | 10 | ||
8 | SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz" | ||
9 | S = "${WORKDIR}/libsndfile-${PV}" | 11 | S = "${WORKDIR}/libsndfile-${PV}" |
10 | 12 | ||
11 | inherit autotools lib_package pkgconfig | 13 | inherit autotools lib_package pkgconfig |