diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-10-08 08:25:21 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-10-08 08:25:21 +0000 |
commit | 7d364746ce9ad378592c1810d4b4d145cabb27cc (patch) | |
tree | 455d3a6a2e668380ae02f2a1baecad8094824413 /main/nspr/fix-getproto.patch | |
parent | 9c5cd3c329a40ba4559cc1d8c7d17a9bf95c237b (diff) | |
download | aports-7d364746ce9ad378592c1810d4b4d145cabb27cc.tar.bz2 aports-7d364746ce9ad378592c1810d4b4d145cabb27cc.tar.xz |
main/nspr: upgrade to 4.10.1, and fix musl build
Diffstat (limited to 'main/nspr/fix-getproto.patch')
-rw-r--r-- | main/nspr/fix-getproto.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/nspr/fix-getproto.patch b/main/nspr/fix-getproto.patch new file mode 100644 index 0000000000..7fa98da26f --- /dev/null +++ b/main/nspr/fix-getproto.patch @@ -0,0 +1,14 @@ +--- ./nspr/pr/src/misc/prnetdb.c.orig ++++ ./nspr/pr/src/misc/prnetdb.c +@@ -61,10 +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)) ++#if defined(SOLARIS) || (defined(BSDI) && defined(_REENTRANT)) + #define _PR_HAVE_GETPROTO_R + #define _PR_HAVE_GETPROTO_R_POINTER + #endif |