pkgsrc/archivers/gzip/patches/patch-ad
minskim 172f325fae Make this build with recent glibc.
Patches provided by Yakovetsky Vladimir in PR 37384.
2007-12-22 20:05:44 +00:00

20 lines
657 B
Text

$NetBSD: patch-ad,v 1.1 2007/12/22 20:05:44 minskim Exp $
--- lib/utimens.c.orig 2007-01-18 00:33:34.000000000 -0800
+++ lib/utimens.c
@@ -75,7 +75,7 @@ struct utimbuf
Return 0 on success, -1 (setting errno) on failure. */
int
-futimens (int fd ATTRIBUTE_UNUSED,
+gl_futimens (int fd ATTRIBUTE_UNUSED,
char const *file, struct timespec const timespec[2])
{
/* Some Linux-based NFS clients are buggy, and mishandle time stamps
@@ -185,5 +185,5 @@ futimens (int fd ATTRIBUTE_UNUSED,
int
utimens (char const *file, struct timespec const timespec[2])
{
- return futimens (-1, file, timespec);
+ return gl_futimens (-1, file, timespec);
}