From 96d11bbe9406d924ac68db4336193d7ca10a628d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 6 Jan 2014 17:57:16 +0100 Subject: update and fix build --- package/nspr/patches/patch-nspr_pr_src_misc_prnetdb_c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/nspr/patches/patch-nspr_pr_src_misc_prnetdb_c (limited to 'package/nspr/patches') diff --git a/package/nspr/patches/patch-nspr_pr_src_misc_prnetdb_c b/package/nspr/patches/patch-nspr_pr_src_misc_prnetdb_c new file mode 100644 index 000000000..f2021a63b --- /dev/null +++ b/package/nspr/patches/patch-nspr_pr_src_misc_prnetdb_c @@ -0,0 +1,16 @@ +--- nspr-4.10.2.orig/nspr/pr/src/misc/prnetdb.c 2013-11-09 10:49:40.000000000 +0100 ++++ nspr-4.10.2/nspr/pr/src/misc/prnetdb.c 2014-01-06 17:48:32.869546316 +0100 +@@ -89,6 +89,13 @@ PRLock *_pr_dnsLock = NULL; + #define _PR_HAVE_5_ARG_GETPROTO_R + #endif + ++#if !defined(__GLIBC__) ++#undef _PR_HAVE_GETPROTO_R ++#undef _PR_HAVE_GETPROTO_R_INT ++#undef _PR_HAVE_GETPROTO_R_POINTER ++#undef _PR_HAVE_5_ARG_GETPROTO_R ++#endif ++ + #if !defined(_PR_HAVE_GETPROTO_R) + PRLock* _getproto_lock = NULL; + #endif -- cgit v1.2.3