summaryrefslogtreecommitdiff
path: root/time/sunbird/patches/patch-br
diff options
context:
space:
mode:
Diffstat (limited to 'time/sunbird/patches/patch-br')
-rw-r--r--time/sunbird/patches/patch-br16
1 files changed, 8 insertions, 8 deletions
diff --git a/time/sunbird/patches/patch-br b/time/sunbird/patches/patch-br
index 1a85ad921fa..669dc754875 100644
--- a/time/sunbird/patches/patch-br
+++ b/time/sunbird/patches/patch-br
@@ -1,8 +1,8 @@
-$NetBSD: patch-br,v 1.3 2009/04/07 17:25:55 hasso Exp $
+$NetBSD: patch-br,v 1.4 2009/05/29 13:22:11 he Exp $
---- nsprpub/pr/src/misc/prnetdb.c.orig 2008-05-02 11:18:14 +0300
-+++ nsprpub/pr/src/misc/prnetdb.c 2009-04-04 19:53:32 +0300
-@@ -114,6 +114,11 @@ PRLock *_pr_dnsLock = NULL;
+--- nsprpub/pr/src/misc/prnetdb.c.orig 2006-11-14 18:41:59.000000000 +0100
++++ nsprpub/pr/src/misc/prnetdb.c
+@@ -113,6 +113,11 @@ PRLock *_pr_dnsLock = NULL;
#define _PR_HAVE_5_ARG_GETPROTO_R
#endif
@@ -11,10 +11,10 @@ $NetBSD: patch-br,v 1.3 2009/04/07 17:25:55 hasso Exp $
+#define _PR_HAVE_5_ARG_GETPROTO_R
+#endif
+
- /* BeOS has glibc but not the glibc-style getprotobyxxx_r functions. */
- #if (defined(__GLIBC__) && __GLIBC__ >= 2 && !defined(XP_BEOS))
+ #if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2)
#define _PR_HAVE_GETPROTO_R
-@@ -331,7 +336,7 @@ _pr_QueryNetIfs(void)
+ #define _PR_HAVE_5_ARG_GETPROTO_R
+@@ -329,7 +334,7 @@ _pr_QueryNetIfs(void)
}
#elif (defined(DARWIN) && defined(HAVE_GETIFADDRS)) || defined(FREEBSD) \
@@ -23,7 +23,7 @@ $NetBSD: patch-br,v 1.3 2009/04/07 17:25:55 hasso Exp $
/*
* Use the BSD getifaddrs function.
-@@ -2023,7 +2028,17 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
+@@ -2115,7 +2120,17 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
*/
hints.ai_socktype = SOCK_STREAM;