SOURCES: cpio-futimens.patch (NEW) - fixes build with glibc 2.6
areq
areq at pld-linux.org
Wed Jun 6 14:15:02 CEST 2007
Author: areq Date: Wed Jun 6 12:15:02 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixes build with glibc 2.6
---- Files affected:
SOURCES:
cpio-futimens.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/cpio-futimens.patch
diff -u /dev/null SOURCES/cpio-futimens.patch:1.1
--- /dev/null Wed Jun 6 14:15:02 2007
+++ SOURCES/cpio-futimens.patch Wed Jun 6 14:14:57 2007
@@ -0,0 +1,27 @@
+diff -Nur cpio-2.7.org/lib/utimens.c cpio-2.7/lib/utimens.c
+--- cpio-2.7.org/lib/utimens.c 2006-09-27 08:06:57.000000000 +0000
++++ cpio-2.7/lib/utimens.c 2007-06-06 12:12:34.148446894 +0000
+@@ -73,7 +73,7 @@
+ Return 0 on success, -1 (setting errno) on failure. */
+
+ int
+-futimens (int fd ATTRIBUTE_UNUSED,
++cpio_futimens (int fd ATTRIBUTE_UNUSED,
+ char const *file, struct timespec const timespec[2])
+ {
+ /* There's currently no interface to set file timestamps with
+@@ -166,5 +166,5 @@
+ int
+ utimens (char const *file, struct timespec const timespec[2])
+ {
+- return futimens (-1, file, timespec);
++ return cpio_futimens (-1, file, timespec);
+ }
+diff -Nur cpio-2.7.org/lib/utimens.h cpio-2.7/lib/utimens.h
+--- cpio-2.7.org/lib/utimens.h 2004-11-23 20:59:50.000000000 +0000
++++ cpio-2.7/lib/utimens.h 2007-06-06 12:12:34.148446894 +0000
+@@ -1,3 +1,3 @@
+ #include "timespec.h"
+-int futimens (int, char const *, struct timespec const [2]);
++int cpio_futimens (int, char const *, struct timespec const [2]);
+ int utimens (char const *, struct timespec const [2]);
================================================================
More information about the pld-cvs-commit
mailing list