summaryrefslogtreecommitdiff
path: root/package/nspr/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/nspr/patches')
-rw-r--r--package/nspr/patches/patch-nspr_pr_src_misc_prnetdb_c16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/nspr/patches/patch-nspr_pr_src_misc_prnetdb_c b/package/nspr/patches/patch-nspr_pr_src_misc_prnetdb_c
new file mode 100644
index 000000000..f2021a63b
--- /dev/null
+++ b/package/nspr/patches/patch-nspr_pr_src_misc_prnetdb_c
@@ -0,0 +1,16 @@
+--- nspr-4.10.2.orig/nspr/pr/src/misc/prnetdb.c 2013-11-09 10:49:40.000000000 +0100
++++ nspr-4.10.2/nspr/pr/src/misc/prnetdb.c 2014-01-06 17:48:32.869546316 +0100
+@@ -89,6 +89,13 @@ PRLock *_pr_dnsLock = NULL;
+ #define _PR_HAVE_5_ARG_GETPROTO_R
+ #endif
+
++#if !defined(__GLIBC__)
++#undef _PR_HAVE_GETPROTO_R
++#undef _PR_HAVE_GETPROTO_R_INT
++#undef _PR_HAVE_GETPROTO_R_POINTER
++#undef _PR_HAVE_5_ARG_GETPROTO_R
++#endif
++
+ #if !defined(_PR_HAVE_GETPROTO_R)
+ PRLock* _getproto_lock = NULL;
+ #endif