aboutsummaryrefslogtreecommitdiffstats
path: root/main/nspr/fix-getproto.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-10-27 17:29:44 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-10-31 08:51:02 +0000
commit006e08826f224a14a0a31d61f3ce8d88b13079a3 (patch)
tree7fb68778ba8ee814838da7b9368e3f1ee1340dd1 /main/nspr/fix-getproto.patch
parent2593f874137ec46b4d84970f1a13fefa47299640 (diff)
downloadaports-006e08826f224a14a0a31d61f3ce8d88b13079a3.tar.bz2
aports-006e08826f224a14a0a31d61f3ce8d88b13079a3.tar.xz
main/nspr: upgrade to 4.23
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