aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libconfig
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-04-22 15:04:14 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-04-22 15:09:07 +0200
commit630b9cff97dbe729393a9e0b0238f77957f75f17 (patch)
tree494ebe41478f6c8ae8518a0d79099e80881fd01f /recipes/libconfig
parent4914d6f9f448f5762d0f9596f325cc8e8b70d00a (diff)
downloadopenembedded-630b9cff97dbe729393a9e0b0238f77957f75f17.tar.gz
libconfig_1.3.2: add patch for build with automake-1.11
* libconfig.h is installed twice from $(libinc) and then again from $(libinc_cpp) * newer automake checks that and fails Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/libconfig')
-rw-r--r--recipes/libconfig/libconfig-1.3.2/libconfig.newer.automake-1.11.patch12
-rw-r--r--recipes/libconfig/libconfig_1.3.2.bb5
2 files changed, 15 insertions, 2 deletions
diff --git a/recipes/libconfig/libconfig-1.3.2/libconfig.newer.automake-1.11.patch b/recipes/libconfig/libconfig-1.3.2/libconfig.newer.automake-1.11.patch
new file mode 100644
index 0000000000..cabd356657
--- /dev/null
+++ b/recipes/libconfig/libconfig-1.3.2/libconfig.newer.automake-1.11.patch
@@ -0,0 +1,12 @@
+diff -uNr libconfig-1.3.2.orig//Makefile.am libconfig-1.3.2/Makefile.am
+--- libconfig-1.3.2.orig//Makefile.am 2009-02-18 20:46:32.000000000 +0100
++++ libconfig-1.3.2/Makefile.am 2010-04-22 14:59:36.000000000 +0200
+@@ -34,7 +34,7 @@
+ libinc = libconfig.h
+
+ libsrc_cpp = $(libsrc) libconfigcpp.c++
+-libinc_cpp = $(libinc) libconfig.h++
++libinc_cpp = libconfig.h++
+
+ BUILT_SOURCES = scanner.c scanner.h grammar.c grammar.h
+
diff --git a/recipes/libconfig/libconfig_1.3.2.bb b/recipes/libconfig/libconfig_1.3.2.bb
index df0be71ccc..701ac73b34 100644
--- a/recipes/libconfig/libconfig_1.3.2.bb
+++ b/recipes/libconfig/libconfig_1.3.2.bb
@@ -4,9 +4,10 @@ HOMEPAGE = "http://www.hyperrealm.com/libconfig/"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPLv2"
-PR = "r0"
+PR = "r1"
-SRC_URI = "http://www.hyperrealm.com/libconfig/libconfig-${PV}.tar.gz"
+SRC_URI = "http://www.hyperrealm.com/libconfig/libconfig-${PV}.tar.gz \
+ file://libconfig.newer.automake-1.11.patch;patch=1"
S = "${WORKDIR}/libconfig-${PV}"