summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/coreutils
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-10-20 12:24:46 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-24 17:27:18 +0100
commiteee0b5aadba34130080df8aebc7e8dd57c7d5ccb (patch)
tree7845ac646acd73d4a6db541c4d0202f3fa5907dc /meta/recipes-core/coreutils
parent74d1c5e4ad50d4d5465105cc0afe35f4f4a9a8d4 (diff)
downloadpoky-eee0b5aadba34130080df8aebc7e8dd57c7d5ccb.tar.gz
coreutils: Upgrade recipe 8.12 -> 8.14
Change in site files is needed since in cross build envrionment the test to check for gl_cv_func_fstatat_zero_flag is a runtime test (From OE-Core rev: 906c46d17146bc91e79999d861274e802e9fc745) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/coreutils')
-rw-r--r--meta/recipes-core/coreutils/coreutils-8.14/remove-usr-local-lib-from-m4.patch (renamed from meta/recipes-core/coreutils/coreutils-8.12/remove-usr-local-lib-from-m4.patch)18
-rw-r--r--meta/recipes-core/coreutils/coreutils_8.14.bb (renamed from meta/recipes-core/coreutils/coreutils_8.12.bb)11
2 files changed, 15 insertions, 14 deletions
diff --git a/meta/recipes-core/coreutils/coreutils-8.12/remove-usr-local-lib-from-m4.patch b/meta/recipes-core/coreutils/coreutils-8.14/remove-usr-local-lib-from-m4.patch
index aac097a4ce..2ef8a548ac 100644
--- a/meta/recipes-core/coreutils/coreutils-8.12/remove-usr-local-lib-from-m4.patch
+++ b/meta/recipes-core/coreutils/coreutils-8.14/remove-usr-local-lib-from-m4.patch
@@ -8,24 +8,24 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 8
9Upstream-Status: Inappropriate [Upstream does care for AIX while we may not] 9Upstream-Status: Inappropriate [Upstream does care for AIX while we may not]
10 10
11Index: coreutils-8.12/m4/getloadavg.m4 11Index: coreutils-8.14/m4/getloadavg.m4
12=================================================================== 12===================================================================
13--- coreutils-8.12.orig/m4/getloadavg.m4 2011-08-03 14:03:59.982197767 -0700 13--- coreutils-8.14.orig/m4/getloadavg.m4 2011-09-19 08:09:24.000000000 -0700
14+++ coreutils-8.12/m4/getloadavg.m4 2011-08-03 14:04:20.402197763 -0700 14+++ coreutils-8.14/m4/getloadavg.m4 2011-10-19 21:42:00.385533357 -0700
15@@ -44,16 +44,6 @@ AC_CHECK_FUNC([getloadavg], [], 15@@ -41,16 +41,6 @@
16 [LIBS="-lutil $LIBS" gl_have_func=yes]) 16 [LIBS="-lutil $LIBS" gl_func_getloadavg_done=yes])
17 fi 17 fi
18 18
19- if test $gl_have_func = no; then 19- if test $gl_func_getloadavg_done = no; then
20- # There is a commonly available library for RS/6000 AIX. 20- # There is a commonly available library for RS/6000 AIX.
21- # Since it is not a standard part of AIX, it might be installed locally. 21- # Since it is not a standard part of AIX, it might be installed locally.
22- gl_getloadavg_LIBS=$LIBS 22- gl_getloadavg_LIBS=$LIBS
23- LIBS="-L/usr/local/lib $LIBS" 23- LIBS="-L/usr/local/lib $LIBS"
24- AC_CHECK_LIB([getloadavg], [getloadavg], 24- AC_CHECK_LIB([getloadavg], [getloadavg],
25- [LIBS="-lgetloadavg $LIBS" gl_have_func=yes], 25- [LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes],
26- [LIBS=$gl_getloadavg_LIBS]) 26- [LIBS=$gl_getloadavg_LIBS])
27- fi 27- fi
28- 28-
29 # Set up the replacement function if necessary. 29 # Set up the replacement function if necessary.
30 if test $gl_have_func = no; then 30 if test $gl_func_getloadavg_done = no; then
31 AC_LIBOBJ([getloadavg]) 31 HAVE_GETLOADAVG=0
diff --git a/meta/recipes-core/coreutils/coreutils_8.12.bb b/meta/recipes-core/coreutils/coreutils_8.14.bb
index 0004ce7fc8..f3b7af7d13 100644
--- a/meta/recipes-core/coreutils/coreutils_8.12.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.14.bb
@@ -7,18 +7,17 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils"
7LICENSE = "GPLv3+" 7LICENSE = "GPLv3+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ 8LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
9 file://src/ls.c;startline=5;endline=16;md5=e1a509558876db58fb6667ba140137ad" 9 file://src/ls.c;startline=5;endline=16;md5=e1a509558876db58fb6667ba140137ad"
10PR = "r3" 10PR = "r0"
11DEPENDS = "gmp" 11DEPENDS = "gmp"
12DEPENDS_virtclass-native = "" 12DEPENDS_virtclass-native = ""
13 13
14inherit autotools gettext 14inherit autotools gettext
15 15
16SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.gz \ 16SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
17 file://remove-usr-local-lib-from-m4.patch \ 17 file://remove-usr-local-lib-from-m4.patch \
18 " 18 "
19 19SRC_URI[md5sum] = "bcb135ce553493a45aba01b39eb3920a"
20SRC_URI[md5sum] = "fce7999953a67243d00d75cc86dbcaa6" 20SRC_URI[sha256sum] = "0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d"
21SRC_URI[sha256sum] = "9e233a62c98a3378a7b0483d2ae3d662dbaf6cd3917d3830d3514665e12a85c8"
22 21
23EXTRA_OECONF_virtclass-native = "--without-gmp" 22EXTRA_OECONF_virtclass-native = "--without-gmp"
24 23
@@ -49,6 +48,8 @@ do_install_append() {
49 # in update-alternatives to fail, therefore use lbracket - the name used 48 # in update-alternatives to fail, therefore use lbracket - the name used
50 # for the actual source file. 49 # for the actual source file.
51 mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${PN} 50 mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${PN}
51 install -d ${D}${libdir}/coreutils
52 mv ${D}${libexecdir}/coreutils/libstdbuf.so ${D}${libdir}/coreutils
52} 53}
53 54
54pkg_postinst_${PN} () { 55pkg_postinst_${PN} () {