summaryrefslogtreecommitdiff
path: root/system/nspr/fix-getproto.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 01:58:09 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 01:58:09 -0500
commit1c07ca93830bfea66915f4460be833c0a74da21d (patch)
tree165fc160513aef745c8d499ec63af761e98cebd5 /system/nspr/fix-getproto.patch
parentdd1e1e025a185c6bbcd8773443c71cb396f20304 (diff)
downloadpackages-1c07ca93830bfea66915f4460be833c0a74da21d.tar.gz
packages-1c07ca93830bfea66915f4460be833c0a74da21d.tar.bz2
packages-1c07ca93830bfea66915f4460be833c0a74da21d.tar.xz
packages-1c07ca93830bfea66915f4460be833c0a74da21d.zip
system/nspr: pull in for nss
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