aboutsummaryrefslogtreecommitdiffstats
path: root/main/nspr/fix-getproto.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-03-10 09:41:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-03-10 10:03:19 +0000
commit0035e7be16150a58c8d9c885ce9a7b06a0e9d57f (patch)
tree6fef41f7e061cb57a5a2dca864dce1670dce0012 /main/nspr/fix-getproto.patch
parentaea827376fbb2d3db30918af729cf67cae291b36 (diff)
downloadaports-0035e7be16150a58c8d9c885ce9a7b06a0e9d57f.tar.bz2
aports-0035e7be16150a58c8d9c885ce9a7b06a0e9d57f.tar.xz
main/nspr: upgrade to 4.12
Diffstat (limited to 'main/nspr/fix-getproto.patch')
-rw-r--r--main/nspr/fix-getproto.patch5
1 files changed, 2 insertions, 3 deletions
diff --git a/main/nspr/fix-getproto.patch b/main/nspr/fix-getproto.patch
index 7fa98da26f..a96d147308 100644
--- a/main/nspr/fix-getproto.patch
+++ b/main/nspr/fix-getproto.patch
@@ -1,13 +1,12 @@
--- ./nspr/pr/src/misc/prnetdb.c.orig
+++ ./nspr/pr/src/misc/prnetdb.c
-@@ -61,10 +61,7 @@
+@@ -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) \
-- && !defined(ANDROID))
+- && defined(__GLIBC__) && __GLIBC__ < 2)
+#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT))
#define _PR_HAVE_GETPROTO_R
#define _PR_HAVE_GETPROTO_R_POINTER