summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2012-05-03 13:39:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-25 11:17:38 +0100
commitdda947447aee5bcf496d7bae2bf0fb6897e2e0f9 (patch)
treea58ed8df670bb1409d6c59e330bc4aea62984641
parentc4fea2a6cb0aa8ee5245a4bb4a9fe1f35fbe2a32 (diff)
downloadopenembedded-core-dda947447aee5bcf496d7bae2bf0fb6897e2e0f9.tar.gz
openembedded-core-dda947447aee5bcf496d7bae2bf0fb6897e2e0f9.tar.bz2
openembedded-core-dda947447aee5bcf496d7bae2bf0fb6897e2e0f9.zip
libcroco: fix build with automake 1.12
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
-rw-r--r--meta/recipes-support/libcroco/files/libcroco_fix_for_automake-1.12.patch22
-rw-r--r--meta/recipes-support/libcroco/libcroco_0.6.3.bb5
2 files changed, 25 insertions, 2 deletions
diff --git a/meta/recipes-support/libcroco/files/libcroco_fix_for_automake-1.12.patch b/meta/recipes-support/libcroco/files/libcroco_fix_for_automake-1.12.patch
new file mode 100644
index 0000000000..9dcf7b039d
--- /dev/null
+++ b/meta/recipes-support/libcroco/files/libcroco_fix_for_automake-1.12.patch
@@ -0,0 +1,22 @@
+Upstream-Status: Pending
+
+This patch fixes following kind of issues with automake 1.12
+
+| configure.in:51: error: automatic de-ANSI-fication support has been removed
+
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+2012/05/03
+
+Index: libcroco-0.6.3/configure.in
+===================================================================
+--- libcroco-0.6.3.orig/configure.in
++++ libcroco-0.6.3/configure.in
+@@ -47,8 +47,6 @@ AC_PROG_CC
+ AC_PROG_INSTALL
+ AC_PROG_CPP
+
+-dnl Make sure we have an ANSI compiler
+-AM_C_PROTOTYPES
+ test "x$U" != "x" && AC_MSG_ERROR(Compiler not ANSI compliant)
+
+ dnl Checks for libraries.
diff --git a/meta/recipes-support/libcroco/libcroco_0.6.3.bb b/meta/recipes-support/libcroco/libcroco_0.6.3.bb
index 74c2cbba75..d9ff8de7e4 100644
--- a/meta/recipes-support/libcroco/libcroco_0.6.3.bb
+++ b/meta/recipes-support/libcroco/libcroco_0.6.3.bb
@@ -9,11 +9,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
SECTION = "x11/utils"
DEPENDS = "glib-2.0 libxml2 zlib"
-PR = "r2"
+PR = "r3"
inherit autotools pkgconfig gnome
-SRC_URI_append = " file://croco.patch;apply=yes "
+SRC_URI_append = " file://croco.patch;apply=yes \
+ file://libcroco_fix_for_automake-1.12.patch "
SRC_URI[archive.md5sum] = "e1e93eeff4367c896f3959af34ba20eb"
SRC_URI[archive.sha256sum] = "746192d979263c74094d41e5ff0e19900b3d81eb2bd42c27c1c320dd94008034"