[oe-commits] org.oe.dev coreutils 0.5.3: fix build issue with glibc-6 bug #2553
utx commit
openembedded-commits at lists.openembedded.org
Wed Jul 18 18:06:17 UTC 2007
coreutils 0.5.3: fix build issue with glibc-6 bug #2553
* bumped revision to r2
* applied patch from Stanislav Brabec <utx at penguin.cz>
* fixes bug http://bugs.openembedded.org/show_bug.cgi?id=2553
Author: utx at penguin.cz
Branch: org.openembedded.dev
Revision: fd16a0f8dbc05939a98a1ef35514d059962d5015
ViewMTN: http://monotone.openembedded.org/revision.psp?id=fd16a0f8dbc05939a98a1ef35514d059962d5015
Files:
1
packages/coreutils/coreutils-5.3.0/futimens.patch
packages/coreutils/coreutils_5.3.0.bb
Diffs:
#
# mt diff -r56be6d575e5f3b62685686fa67fa89cc9a56125b -rfd16a0f8dbc05939a98a1ef35514d059962d5015
#
#
#
# add_file "packages/coreutils/coreutils-5.3.0/futimens.patch"
# content [8b0fd4cbd9f8b4c19f8690c6a0df9844f864da86]
#
# patch "packages/coreutils/coreutils_5.3.0.bb"
# from [e3c222c8a27658bb6f3092680fe67a444fd60c47]
# to [2223f1c92c49c889593d31301609cfa7d888d1cb]
#
============================================================
--- packages/coreutils/coreutils-5.3.0/futimens.patch 8b0fd4cbd9f8b4c19f8690c6a0df9844f864da86
+++ packages/coreutils/coreutils-5.3.0/futimens.patch 8b0fd4cbd9f8b4c19f8690c6a0df9844f864da86
@@ -0,0 +1,44 @@
+Index: coreutils-5.3.0/lib/utimens.c
+===================================================================
+--- coreutils-5.3.0.orig/lib/utimens.c 2005-01-03 22:19:15.000000000 +0000
++++ coreutils-5.3.0/lib/utimens.c 2007-07-01 19:12:32.000000000 +0000
+@@ -55,8 +55,8 @@
+ If TIMESPEC is null, set the time stamps to the current time. */
+
+ int
+-futimens (int fd ATTRIBUTE_UNUSED,
+- char const *file, struct timespec const timespec[2])
++gl_futimens (int fd ATTRIBUTE_UNUSED,
++ char const *file, struct timespec const timespec[2])
+ {
+ /* There's currently no interface to set file timestamps with
+ nanosecond resolution, so do the best we can, discarding any
+@@ -117,5 +117,5 @@
+ int
+ utimens (char const *file, struct timespec const timespec[2])
+ {
+- return futimens (-1, file, timespec);
++ return gl_futimens (-1, file, timespec);
+ }
+Index: coreutils-5.3.0/lib/utimens.h
+===================================================================
+--- coreutils-5.3.0.orig/lib/utimens.h 2004-11-23 20:54:33.000000000 +0000
++++ coreutils-5.3.0/lib/utimens.h 2007-07-01 19:12:37.000000000 +0000
+@@ -1,3 +1,3 @@
+ #include "timespec.h"
+-int futimens (int, char const *, struct timespec const [2]);
++int gl_futimens (int, char const *, struct timespec const [2]);
+ int utimens (char const *, struct timespec const [2]);
+Index: coreutils-5.3.0/src/touch.c
+===================================================================
+--- coreutils-5.3.0.orig/src/touch.c 2004-11-23 20:54:35.000000000 +0000
++++ coreutils-5.3.0/src/touch.c 2007-07-01 19:11:52.000000000 +0000
+@@ -191,7 +191,7 @@
+ t = timespec;
+ }
+
+- ok = (futimens (fd, file, t) == 0);
++ ok = (gl_futimens (fd, file, t) == 0);
+ if (fd != -1)
+ ok &= (close (fd) == 0);
+
============================================================
--- packages/coreutils/coreutils_5.3.0.bb e3c222c8a27658bb6f3092680fe67a444fd60c47
+++ packages/coreutils/coreutils_5.3.0.bb 2223f1c92c49c889593d31301609cfa7d888d1cb
@@ -1,12 +1,13 @@ require coreutils.inc
require coreutils.inc
-PR = "r1"
+PR = "r2"
SRC_URI = "ftp://alpha.gnu.org/gnu/coreutils/coreutils-${PV}.tar.bz2 \
file://install-cross.patch;patch=1;pnum=0 \
file://man.patch;patch=1 \
file://rename-tee-for-glibc2.5.patch;patch=1 \
- file://uptime-pow-lib.patch;patch=1"
+ file://uptime-pow-lib.patch;patch=1 \
+ file://futimens.patch;patch=1"
# [ gets a special treatment and is not included in this
bindir_progs = "basename cksum comm csplit cut dir dircolors dirname du \
More information about the Openembedded-commits
mailing list