fix build now that we have getproto*_r

This commit is contained in:
sturm 2004-11-01 10:25:12 +00:00
parent a9f33414dc
commit 505164cc73
3 changed files with 36 additions and 12 deletions

View File

@ -1,7 +1,15 @@
$OpenBSD: patch-nsprpub_pr_src_misc_prnetdb_c,v 1.1 2004/02/29 22:31:05 wilfried Exp $
--- nsprpub/pr/src/misc/prnetdb.c.orig 2003-10-31 06:09:29.000000000 +0100
+++ nsprpub/pr/src/misc/prnetdb.c 2004-02-22 11:19:20.000000000 +0100
@@ -2094,7 +2094,12 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
$OpenBSD: patch-nsprpub_pr_src_misc_prnetdb_c,v 1.2 2004/11/01 10:25:12 sturm Exp $
--- nsprpub/pr/src/misc/prnetdb.c.orig Fri Oct 31 06:09:29 2003
+++ nsprpub/pr/src/misc/prnetdb.c Mon Nov 1 07:34:13 2004
@@ -98,6 +98,7 @@ PRLock *_pr_dnsLock = NULL;
#endif
#if defined(OSF1) \
+ || defined(OPENBSD) \
|| defined(AIX4_3_PLUS) || (defined(AIX) && defined(_THREAD_SAFE)) \
|| (defined(HPUX10_10) && defined(_REENTRANT)) \
|| (defined(HPUX10_20) && defined(_REENTRANT))
@@ -2094,7 +2095,12 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
*/
hints.ai_socktype = SOCK_STREAM;

View File

@ -1,7 +1,15 @@
$OpenBSD: patch-nsprpub_pr_src_misc_prnetdb_c,v 1.1 2004/02/29 22:36:14 wilfried Exp $
--- nsprpub/pr/src/misc/prnetdb.c.orig 2003-10-31 06:09:29.000000000 +0100
+++ nsprpub/pr/src/misc/prnetdb.c 2004-02-22 11:19:20.000000000 +0100
@@ -2094,7 +2094,12 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
$OpenBSD: patch-nsprpub_pr_src_misc_prnetdb_c,v 1.2 2004/11/01 10:25:12 sturm Exp $
--- nsprpub/pr/src/misc/prnetdb.c.orig Fri Oct 31 06:09:29 2003
+++ nsprpub/pr/src/misc/prnetdb.c Mon Nov 1 07:33:55 2004
@@ -98,6 +98,7 @@ PRLock *_pr_dnsLock = NULL;
#endif
#if defined(OSF1) \
+ || defined(OPENBSD) \
|| defined(AIX4_3_PLUS) || (defined(AIX) && defined(_THREAD_SAFE)) \
|| (defined(HPUX10_10) && defined(_REENTRANT)) \
|| (defined(HPUX10_20) && defined(_REENTRANT))
@@ -2094,7 +2095,12 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
*/
hints.ai_socktype = SOCK_STREAM;

View File

@ -1,7 +1,15 @@
$OpenBSD: patch-nsprpub_pr_src_misc_prnetdb_c,v 1.3 2004/02/29 22:41:15 wilfried Exp $
--- nsprpub/pr/src/misc/prnetdb.c.orig 2003-10-31 06:09:29.000000000 +0100
+++ nsprpub/pr/src/misc/prnetdb.c 2004-02-22 11:19:20.000000000 +0100
@@ -2094,7 +2094,12 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
$OpenBSD: patch-nsprpub_pr_src_misc_prnetdb_c,v 1.4 2004/11/01 10:25:12 sturm Exp $
--- nsprpub/pr/src/misc/prnetdb.c.orig Fri Oct 31 06:09:29 2003
+++ nsprpub/pr/src/misc/prnetdb.c Mon Nov 1 07:33:57 2004
@@ -98,6 +98,7 @@ PRLock *_pr_dnsLock = NULL;
#endif
#if defined(OSF1) \
+ || defined(OPENBSD) \
|| defined(AIX4_3_PLUS) || (defined(AIX) && defined(_THREAD_SAFE)) \
|| (defined(HPUX10_10) && defined(_REENTRANT)) \
|| (defined(HPUX10_20) && defined(_REENTRANT))
@@ -2094,7 +2095,12 @@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf
*/
hints.ai_socktype = SOCK_STREAM;