summaryrefslogtreecommitdiff
path: root/system/nspr/fix-getproto.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/nspr/fix-getproto.patch')
-rw-r--r--system/nspr/fix-getproto.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/nspr/fix-getproto.patch b/system/nspr/fix-getproto.patch
new file mode 100644
index 000000000..a96d14730
--- /dev/null
+++ b/system/nspr/fix-getproto.patch
@@ -0,0 +1,13 @@
+--- ./nspr/pr/src/misc/prnetdb.c.orig
++++ ./nspr/pr/src/misc/prnetdb.c
+@@ -61,9 +61,7 @@
+ #define _PR_HAVE_GETPROTO_R_POINTER
+ #endif
+
+-#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT)) \
+- || (defined(LINUX) && defined(_REENTRANT) \
+- && defined(__GLIBC__) && __GLIBC__ < 2)
++#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT))
+ #define _PR_HAVE_GETPROTO_R
+ #define _PR_HAVE_GETPROTO_R_POINTER
+ #endif