* 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>
--- /dev/null
+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
+
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}"