summaryrefslogtreecommitdiff
path: root/patches/glibc/2.21
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-12 00:35:28 (GMT)
committerAlexey Neyman <stilor@att.net>2017-02-12 00:35:28 (GMT)
commit39e77a3d34d24340fb9a4f10e0b493157c1df1ea (patch)
tree52603ee9f398cf50117a447ff781087bc493ca9a /patches/glibc/2.21
parentb620a5faae3a769c27dd755da7af5185a7c9af49 (diff)
Propagate Cygwin stat64 patch to 2.21 and older versions
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/glibc/2.21')
-rw-r--r--patches/glibc/2.21/110-Cygwin-doesnt-have-stat64.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/glibc/2.21/110-Cygwin-doesnt-have-stat64.patch b/patches/glibc/2.21/110-Cygwin-doesnt-have-stat64.patch
new file mode 100644
index 0000000..9097628
--- /dev/null
+++ b/patches/glibc/2.21/110-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
+