aboutsummaryrefslogtreecommitdiffstats
path: root/main/nspr/fix-getproto.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/nspr/fix-getproto.patch')
-rw-r--r--main/nspr/fix-getproto.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/main/nspr/fix-getproto.patch b/main/nspr/fix-getproto.patch
index a96d147308..cb1a9b2977 100644
--- a/main/nspr/fix-getproto.patch
+++ b/main/nspr/fix-getproto.patch
@@ -1,11 +1,11 @@
---- ./nspr/pr/src/misc/prnetdb.c.orig
-+++ ./nspr/pr/src/misc/prnetdb.c
-@@ -61,9 +61,7 @@
- #define _PR_HAVE_GETPROTO_R_POINTER
- #endif
+--- a/nspr/pr/src/misc/prnetdb.c
++++ b/nspr/pr/src/misc/prnetdb.c
+@@ -58,9 +58,7 @@
+ * an int, and glibc's flavor takes five arguments.
+ */
-#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT)) \
-- || (defined(LINUX) && defined(_REENTRANT) \
+- || (defined(LINUX) && defined(_REENTRANT) \
- && defined(__GLIBC__) && __GLIBC__ < 2)
+#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT))
#define _PR_HAVE_GETPROTO_R