From 630b9cff97dbe729393a9e0b0238f77957f75f17 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 22 Apr 2010 15:04:14 +0200 Subject: [PATCH] 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 --- .../libconfig.newer.automake-1.11.patch | 12 ++++++++++++ recipes/libconfig/libconfig_1.3.2.bb | 5 +++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 recipes/libconfig/libconfig-1.3.2/libconfig.newer.automake-1.11.patch 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}" -- 2.39.5