summaryrefslogtreecommitdiff
path: root/patches/glibc/2.25/100-Cygwin-doesnt-have-stat64.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-06 00:10:40 (GMT)
committerAlexey Neyman <stilor@att.net>2017-02-06 00:10:40 (GMT)
commite69734cb1265a4021d010ead19222a02f0aff1c1 (patch)
tree0c5872549a1942b12c6612bf45d0505356ccd007 /patches/glibc/2.25/100-Cygwin-doesnt-have-stat64.patch
parent10db7887ce0ff5e8323dc35176eaabbb3618e81c (diff)
Add glibc 2.25
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/glibc/2.25/100-Cygwin-doesnt-have-stat64.patch')
-rw-r--r--patches/glibc/2.25/100-Cygwin-doesnt-have-stat64.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/glibc/2.25/100-Cygwin-doesnt-have-stat64.patch b/patches/glibc/2.25/100-Cygwin-doesnt-have-stat64.patch
new file mode 100644
index 0000000..9097628
--- /dev/null
+++ b/patches/glibc/2.25/100-Cygwin-doesnt-have-stat64.patch
@@ -0,0 +1,13 @@
+--- glibc-2.22/sunrpc/rpc_main.c.orig 2015-08-05 07:42:21.000000000 +0100
++++ glibc-2.22/sunrpc/rpc_main.c 2015-10-21 23:37:31.071268800 +0100
+@@ -51,6 +51,10 @@
+ #include "rpc_scan.h"
+ #include "proto.h"
+
++#if defined(__CYGWIN__)
++#define stat64 stat
++#endif
++
+ #include "../version.h"
+ #define PACKAGE _libc_intl_domainname
+