From 5565eda44fc660ce92c85460ec55370921df5903 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 7 Feb 2017 04:10:31 +0100 Subject: glibc: update to 2.25 --- toolchain/glibc/patches/2.25/glibc-cross.patch | 41 ++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 toolchain/glibc/patches/2.25/glibc-cross.patch (limited to 'toolchain/glibc/patches/2.25/glibc-cross.patch') diff --git a/toolchain/glibc/patches/2.25/glibc-cross.patch b/toolchain/glibc/patches/2.25/glibc-cross.patch new file mode 100644 index 000000000..c38ea8a3c --- /dev/null +++ b/toolchain/glibc/patches/2.25/glibc-cross.patch @@ -0,0 +1,41 @@ +diff -Nur glibc-2.22.orig/sunrpc/rpc_main.c glibc-2.22/sunrpc/rpc_main.c +--- glibc-2.22.orig/sunrpc/rpc_main.c 2015-08-05 08:42:21.000000000 +0200 ++++ glibc-2.22/sunrpc/rpc_main.c 2015-12-08 06:21:38.000000000 +0100 +@@ -38,7 +38,11 @@ + #include + #include + #include ++#if defined(__APPLE__) || defined(__CYGWIN__) ++#define gettext(X) (X) ++#else + #include ++#endif + #include + #include + #include +@@ -51,6 +55,10 @@ + #include "rpc_scan.h" + #include "proto.h" + ++#ifdef __CYGWIN__ ++#define stat64 stat ++#endif ++ + #include "../version.h" + #define PACKAGE _libc_intl_domainname + +diff -Nur glibc-2.22.orig/sunrpc/rpc_scan.c glibc-2.22/sunrpc/rpc_scan.c +--- glibc-2.22.orig/sunrpc/rpc_scan.c 2015-08-05 08:42:21.000000000 +0200 ++++ glibc-2.22/sunrpc/rpc_scan.c 2015-12-08 06:22:36.000000000 +0100 +@@ -37,7 +37,11 @@ + #include + #include + #include ++#if defined(__APPLE__) || defined(__CYGWIN__) ++#define gettext(X) (X) ++#else + #include ++#endif + #include "rpc_scan.h" + #include "rpc_parse.h" + #include "rpc_util.h" -- cgit v1.2.3