head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.10 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.8 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.6 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.4 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.2 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.5.0.4 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.2 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.3.0.22 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.20 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.18 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.16 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.14 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.12 pkgsrc-2008Q1:1.3.0.10 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.8 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.6 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.4 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.2 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.2.0.8 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.6 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.1.0.8 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.6 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.4 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.2 pkgsrc-2005Q1-base:1.1; locks; strict; comment @# @; 1.6 date 2009.11.10.16.44.06; author tnn; state dead; branches; next 1.5; 1.5 date 2009.04.07.08.05.50; author hasso; state Exp; branches; next 1.4; 1.4 date 2009.04.07.08.03.38; author hasso; state Exp; branches; next 1.3; 1.3 date 2007.03.18.18.49.47; author wiz; state Exp; branches; next 1.2; 1.2 date 2006.02.02.05.51.14; author ben; state Exp; branches; next 1.1; 1.1 date 2005.01.25.14.50.39; author jschauma; state Exp; branches; next ; desc @@ 1.6 log @- update to nspr-4.8.2.5 - take maintainership - let this package automatically track the stable gecko branch - clean out some legacy patches This is the first part of PR pkg/42277. @ text @$NetBSD: patch-ad,v 1.5 2009/04/07 08:05:50 hasso Exp $ --- pr/src/misc/prnetdb.c.orig 2006-11-14 19:41:59 +0200 +++ pr/src/misc/prnetdb.c 2009-04-03 18:29:50 +0300 @@@@ -113,6 +113,11 @@@@ PRLock *_pr_dnsLock = NULL; #define _PR_HAVE_5_ARG_GETPROTO_R #endif +#if __DragonFly_version >= 200202 +#define _PR_HAVE_GETPROTO_R +#define _PR_HAVE_5_ARG_GETPROTO_R +#endif + #if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) #define _PR_HAVE_GETPROTO_R #define _PR_HAVE_5_ARG_GETPROTO_R @@@@ -2115,7 +2120,17 @@@@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf */ hints.ai_socktype = SOCK_STREAM; +/* NetBSD >= 2.99.9 has a thread-safe resolver */ +#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 299000900 + LOCK_DNS(); +#endif + rv = GETADDRINFO(hostname, NULL, &hints, &res); + +#if defined(__NetBSD_Version__) && __NetBSD_Version__ < 299000900 + UNLOCK_DNS(); +#endif + if (rv == 0) return (PRAddrInfo *) res; @ 1.5 log @Argh, correct typo. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.4 2009/04/07 08:03:38 hasso Exp $ @ 1.4 log @One more Mozilla product to build on DragonFly master. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2007/03/18 18:49:47 wiz Exp $ d9 1 a9 1 +#if __DragonFly_version >= 200201 @ 1.3 log @Update to 4.6.6. Upstream changes: bug fixes. Package changes: avoid ".." in paths by changing WRKSRC and using CONFIGURE_DIRS. Add chunk to configure.in to avoid build failures I was seeing on NetBSD-current/amd64. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.2 2006/02/02 05:51:14 ben Exp $ d3 15 a17 3 --- pr/src/misc/prnetdb.c.orig 2006-11-14 17:41:59.000000000 +0000 +++ pr/src/misc/prnetdb.c @@@@ -2115,7 +2115,17 @@@@ PR_IMPLEMENT(PRAddrInfo *) PR_GetAddrInf @ 1.2 log @Update to nspr-4.6.1. This addresses PR#32689. Tested with gaim. Fix typo, MASTER_SIZE_MOZILLA=MASTER_SITE_MOZILLA. Fix version number in MASTER_SITES. Fix MASTER_SITES to contain valid URLs to the nspr distribution. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- ../pr/src/misc/prnetdb.c.orig 2006-02-01 20:04:26.000000000 +1300 +++ ../pr/src/misc/prnetdb.c 2006-02-01 20:05:53.000000000 +1300 @@@@ -2110,7 +2110,17 @@@@ @ 1.1 log @Merge with / update using the package provided by matthewluckie in pkgsrc-wip. @ text @d3 20 a22 17 --- ../pr/src/io/prprf.c.orig Tue Dec 21 11:15:40 2004 +++ ../pr/src/io/prprf.c Tue Dec 21 11:29:27 2004 @@@@ -51,7 +51,13 @@@@ ** Note: on some platforms va_list is defined as an array, ** and requires array notation. */ -#if (defined(LINUX) && defined(__powerpc__)) || \ +#if (defined(LINUX) && defined(__x86_64__)) +#define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar)) +#elif (defined (__NetBSD__) && \ + (defined(__amd64__) || \ + (defined(__powerpc__) && __NetBSD_Version__ >= 105000000))) +#define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar)) +#elif (defined(LINUX) && defined(__powerpc__)) || \ (defined(LINUX) && defined(__s390__)) || \ (defined(LINUX) && defined(__s390x__)) || \ defined(WIN16) || defined(QNX) || \ @