]> git.pld-linux.org Git - packages/cpio.git/commitdiff
- fixes build with glibc 2.6 auto/th/cpio-2_7-3
authorareq <areq@pld-linux.org>
Wed, 6 Jun 2007 12:14:57 +0000 (12:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cpio-futimens.patch -> 1.1

cpio-futimens.patch [new file with mode: 0644]

diff --git a/cpio-futimens.patch b/cpio-futimens.patch
new file mode 100644 (file)
index 0000000..aeef906
--- /dev/null
@@ -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]);
This page took 0.13138 seconds and 4 git commands to generate.