|
@@ -0,0 +1,26 @@
|
|
|
+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-08-19 02:37:42.912687500 +0200
|
|
|
+@@ -38,7 +38,11 @@
|
|
|
+ #include <stdio.h>
|
|
|
+ #include <string.h>
|
|
|
+ #include <unistd.h>
|
|
|
++#if defined(__APPLE__) || defined(__CYGWIN__)
|
|
|
++#define gettext(X) (X)
|
|
|
++#else
|
|
|
+ #include <libintl.h>
|
|
|
++#endif
|
|
|
+ #include <locale.h>
|
|
|
+ #include <ctype.h>
|
|
|
+ #include <sys/types.h>
|
|
|
+@@ -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
|
|
|
+
|