From bc92089f82cae8ac5fb0ca4cd6b531e1ce5dcf5e Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Fri, 4 May 2012 11:21:05 -0700 Subject: coreutils-native-6.9: fix build with automake 1.12 Signed-off-by: Nitin A Kamble --- .../coreutils_fix_for_automake-1.12.patch | 32 ++++++++++++++++++++++ meta/recipes-core/coreutils/coreutils_6.9.bb | 6 ++-- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-core/coreutils/coreutils-6.9/coreutils_fix_for_automake-1.12.patch (limited to 'meta/recipes-core') diff --git a/meta/recipes-core/coreutils/coreutils-6.9/coreutils_fix_for_automake-1.12.patch b/meta/recipes-core/coreutils/coreutils-6.9/coreutils_fix_for_automake-1.12.patch new file mode 100644 index 0000000000..02730dbbb4 --- /dev/null +++ b/meta/recipes-core/coreutils/coreutils-6.9/coreutils_fix_for_automake-1.12.patch @@ -0,0 +1,32 @@ +Upstream-Status: Pending + +automake 1.12 has depricated automatic de-ANSI-fication support + +this patch avoids these kinds of errors: + +| configure.ac:40: error: automatic de-ANSI-fication support has been removed +| /srv/home/nitin/builds/build-gcc47/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12/protos.m4:12: AM_C_PROTOTYPES is expanded from... +| /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-linux/coreutils-native-6.9-r2/coreutils-6.9/m4/jm-macros.m4:138: gl_CHECK_ALL_TYPES is expanded from... +| /srv/home/nitin/builds/build-gcc47/tmp/work/x86_64-linux/coreutils-native-6.9-r2/coreutils-6.9/m4/jm-macros.m4:24: coreutils_MACROS is expanded from... +| configure.ac:40: the top level +| autom4te: m4 failed with exit status: 1 + +Signed-Off-By: Nitin A Kamble +2012/05/04 + +Index: coreutils-6.9/m4/jm-macros.m4 +=================================================================== +--- coreutils-6.9.orig/m4/jm-macros.m4 ++++ coreutils-6.9/m4/jm-macros.m4 +@@ -142,11 +142,6 @@ AC_DEFUN([gl_CHECK_ALL_TYPES], + dnl whether functions and headers are available, whether they work, etc. + AC_REQUIRE([AC_SYS_LARGEFILE]) + +- dnl This test must precede tests of compiler characteristics like +- dnl that for the inline keyword, since it may change the degree to +- dnl which the compiler supports such features. +- AC_REQUIRE([AM_C_PROTOTYPES]) +- + dnl Checks for typedefs, structures, and compiler characteristics. + AC_REQUIRE([AC_C_BIGENDIAN]) + AC_REQUIRE([AC_C_VOLATILE]) diff --git a/meta/recipes-core/coreutils/coreutils_6.9.bb b/meta/recipes-core/coreutils/coreutils_6.9.bb index 8a47a605c1..bbde63c697 100644 --- a/meta/recipes-core/coreutils/coreutils_6.9.bb +++ b/meta/recipes-core/coreutils/coreutils_6.9.bb @@ -8,7 +8,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://src/ls.c;startline=4;endline=16;md5=482a96d4f25010a4e13f8743e0c3685e" -PR = "r2" +PR = "r3" DEPENDS = "coreutils-native-${PV}" DEPENDS_virtclass-native = "gettext-native" @@ -22,7 +22,9 @@ SRC_URI_BASE = "${GNU_MIRROR}/coreutils/${BP}.tar.bz2 \ file://coreutils-i18n.patch \ file://coreutils-overflow.patch \ file://coreutils-fix-install.patch \ - file://man-touch.patch" + file://man-touch.patch \ + file://coreutils_fix_for_automake-1.12.patch \ + " SRC_URI = "${SRC_URI_BASE} file://fix_for_manpage_building.patch" SRC_URI_virtclass-native = "${SRC_URI_BASE}" -- cgit v1.2.3