diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-21 18:18:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-21 18:18:40 +0200 |
commit | ef58fff30eaa5d8213fb53b760c2e834ee1b38c7 (patch) | |
tree | 6d552ec348e8a0bdfa8d816576cf98d9efc12a3f /package/nspr/patches | |
parent | 98b7adfbd06f0f6bd99ca4805ca34250ee027fa1 (diff) |
fix musl compile, patch from alpinelinux
Diffstat (limited to 'package/nspr/patches')
-rw-r--r-- | package/nspr/patches/patch-mozilla_nsprpub_configure | 6 | ||||
-rw-r--r-- | package/nspr/patches/patch-mozilla_nsprpub_pr_src_misc_prnetdb_c | 16 |
2 files changed, 19 insertions, 3 deletions
diff --git a/package/nspr/patches/patch-mozilla_nsprpub_configure b/package/nspr/patches/patch-mozilla_nsprpub_configure index 70465b40f..cfaa795ed 100644 --- a/package/nspr/patches/patch-mozilla_nsprpub_configure +++ b/package/nspr/patches/patch-mozilla_nsprpub_configure @@ -1,6 +1,6 @@ ---- nspr-4.9.5.orig/mozilla/nsprpub/configure 2012-12-19 20:21:31.000000000 +0100 -+++ nspr-4.9.5/mozilla/nsprpub/configure 2013-02-27 16:43:20.000000000 +0100 -@@ -2848,7 +2849,7 @@ esac +--- nspr-4.9.6.orig/mozilla/nsprpub/configure 2013-03-14 18:34:31.000000000 +0100 ++++ nspr-4.9.6/mozilla/nsprpub/configure 2013-10-21 15:29:36.000000000 +0200 +@@ -2855,7 +2855,7 @@ esac if test "$cross_compiling" = "yes"; then CROSS_COMPILE=1 else diff --git a/package/nspr/patches/patch-mozilla_nsprpub_pr_src_misc_prnetdb_c b/package/nspr/patches/patch-mozilla_nsprpub_pr_src_misc_prnetdb_c new file mode 100644 index 000000000..99ecc22dc --- /dev/null +++ b/package/nspr/patches/patch-mozilla_nsprpub_pr_src_misc_prnetdb_c @@ -0,0 +1,16 @@ +* patch from alpinelinux + +--- nspr-4.9.6.orig/mozilla/nsprpub/pr/src/misc/prnetdb.c 2012-09-28 16:33:48.000000000 +0200 ++++ nspr-4.9.6/mozilla/nsprpub/pr/src/misc/prnetdb.c 2013-10-21 18:07:57.000000000 +0200 +@@ -61,10 +61,7 @@ PRLock *_pr_dnsLock = NULL; + #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 |