head 1.17; access; symbols pkgsrc-2026Q1:1.17.0.4 pkgsrc-2026Q1-base:1.17 pkgsrc-2025Q4:1.17.0.2 pkgsrc-2025Q4-base:1.17 pkgsrc-2025Q3:1.16.0.8 pkgsrc-2025Q3-base:1.16 pkgsrc-2025Q2:1.16.0.6 pkgsrc-2025Q2-base:1.16 pkgsrc-2025Q1:1.16.0.4 pkgsrc-2025Q1-base:1.16 pkgsrc-2024Q4:1.16.0.2 pkgsrc-2024Q4-base:1.16 pkgsrc-2024Q3:1.15.0.26 pkgsrc-2024Q3-base:1.15 pkgsrc-2024Q2:1.15.0.24 pkgsrc-2024Q2-base:1.15 pkgsrc-2024Q1:1.15.0.22 pkgsrc-2024Q1-base:1.15 pkgsrc-2023Q4:1.15.0.20 pkgsrc-2023Q4-base:1.15 pkgsrc-2023Q3:1.15.0.18 pkgsrc-2023Q3-base:1.15 pkgsrc-2023Q2:1.15.0.16 pkgsrc-2023Q2-base:1.15 pkgsrc-2023Q1:1.15.0.14 pkgsrc-2023Q1-base:1.15 pkgsrc-2022Q4:1.15.0.12 pkgsrc-2022Q4-base:1.15 pkgsrc-2022Q3:1.15.0.10 pkgsrc-2022Q3-base:1.15 pkgsrc-2022Q2:1.15.0.8 pkgsrc-2022Q2-base:1.15 pkgsrc-2022Q1:1.15.0.6 pkgsrc-2022Q1-base:1.15 pkgsrc-2021Q4:1.15.0.4 pkgsrc-2021Q4-base:1.15 pkgsrc-2021Q3:1.15.0.2 pkgsrc-2021Q3-base:1.15 pkgsrc-2021Q2:1.14.0.30 pkgsrc-2021Q2-base:1.14 pkgsrc-2021Q1:1.14.0.28 pkgsrc-2021Q1-base:1.14 pkgsrc-2020Q4:1.14.0.26 pkgsrc-2020Q4-base:1.14 pkgsrc-2020Q3:1.14.0.24 pkgsrc-2020Q3-base:1.14 pkgsrc-2020Q2:1.14.0.22 pkgsrc-2020Q2-base:1.14 pkgsrc-2020Q1:1.14.0.18 pkgsrc-2020Q1-base:1.14 pkgsrc-2019Q4:1.14.0.20 pkgsrc-2019Q4-base:1.14 pkgsrc-2019Q3:1.14.0.16 pkgsrc-2019Q3-base:1.14 pkgsrc-2019Q2:1.14.0.14 pkgsrc-2019Q2-base:1.14 pkgsrc-2019Q1:1.14.0.12 pkgsrc-2019Q1-base:1.14 pkgsrc-2018Q4:1.14.0.10 pkgsrc-2018Q4-base:1.14 pkgsrc-2018Q3:1.14.0.8 pkgsrc-2018Q3-base:1.14 pkgsrc-2018Q2:1.14.0.6 pkgsrc-2018Q2-base:1.14 pkgsrc-2018Q1:1.14.0.4 pkgsrc-2018Q1-base:1.14 pkgsrc-2017Q4:1.14.0.2 pkgsrc-2017Q4-base:1.14 pkgsrc-2017Q3:1.13.0.4 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.11.0.8 pkgsrc-2017Q2-base:1.11 pkgsrc-2017Q1:1.11.0.6 pkgsrc-2017Q1-base:1.11 pkgsrc-2016Q4:1.11.0.4 pkgsrc-2016Q4-base:1.11 pkgsrc-2016Q3:1.11.0.2 pkgsrc-2016Q3-base:1.11 pkgsrc-2016Q2:1.10.0.8 pkgsrc-2016Q2-base:1.10 pkgsrc-2016Q1:1.10.0.6 pkgsrc-2016Q1-base:1.10 pkgsrc-2015Q4:1.10.0.4 pkgsrc-2015Q4-base:1.10 pkgsrc-2015Q3:1.10.0.2 pkgsrc-2015Q3-base:1.10 pkgsrc-2015Q2:1.9.0.14 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.12 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.10 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.8 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.6 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.4 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.2 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.8.0.2 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.7.0.8 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.6 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.4 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.2 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.6.0.2 pkgsrc-2012Q2-base:1.6 pkgsrc-2011Q4:1.5.0.6 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.4 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.2 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.4.0.26 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.24 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.22 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.20 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.18 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.16 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.14 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.12 pkgsrc-2008Q1:1.4.0.10 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.8 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.6 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.4 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.2 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.3.0.8 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.6 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.4 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.2 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.2.0.4 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.2 pkgsrc-2005Q3-base:1.2 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.17 date 2025.11.05.11.32.38; author wiz; state Exp; branches; next 1.16; commitid IKlU4L0yqg4gcmhG; 1.16 date 2024.10.22.12.52.02; author ryoon; state Exp; branches; next 1.15; commitid NK1TSUdOae0YOEuF; 1.15 date 2021.07.01.07.23.00; author wiz; state Exp; branches; next 1.14; commitid jL77hJsvyCEkRfZC; 1.14 date 2017.10.04.12.52.43; author jperkin; state Exp; branches; next 1.13; commitid Zt7eIGowCLXxAJ9A; 1.13 date 2017.08.01.12.10.48; author ryoon; state Exp; branches; next 1.12; commitid 8meogyGkuES3qv1A; 1.12 date 2017.07.03.12.18.17; author ryoon; state Exp; branches; next 1.11; commitid 0uriYEsuYqYqoMXz; 1.11 date 2016.08.28.07.00.50; author richard; state Exp; branches; next 1.10; commitid OTW0nwh7FCSaz2kz; 1.10 date 2015.08.20.10.53.13; author ryoon; state Exp; branches; next 1.9; commitid 1PaZ3mSHHCqpSZxy; 1.9 date 2013.11.02.12.34.14; author ryoon; state Exp; branches; next 1.8; commitid VlQrxBDyleUnwHbx; 1.8 date 2013.07.20.08.57.20; author ryoon; state Exp; branches; next 1.7; commitid X3hXXICg3lXcHbYw; 1.7 date 2012.08.28.13.29.16; author ryoon; state Exp; branches; next 1.6; 1.6 date 2012.04.18.20.57.33; author ryoon; state Exp; branches; next 1.5; 1.5 date 2009.11.10.16.44.06; author tnn; state dead; branches; next 1.4; 1.4 date 2007.03.18.18.49.47; author wiz; state Exp; branches; next 1.3; 1.3 date 2006.02.02.05.51.14; author ben; state Exp; branches; next 1.2; 1.2 date 2005.08.12.20.07.35; author reed; state Exp; branches; next 1.1; 1.1 date 2005.01.25.14.50.39; author jschauma; state Exp; branches; next ; desc @@ 1.17 log @nspr: update to 4.38. - Removed support for HPUX and _PR_POLL_WITH_SELECT. - Fixed a bug in pt_TCP_SendTo on macOS - Ensure parameter passed to isalpha() is unsigned char. @ text @$NetBSD: patch-ac,v 1.16 2024/10/22 12:52:02 ryoon Exp $ add runpath to Linux caught during check-shlibs-elf --- nspr/configure.in.orig 2025-11-05 10:29:01.000000000 +0000 +++ nspr/configure.in @@@@ -38,7 +38,7 @@@@ OBJDIR_NAME=. OBJDIR_SUFFIX=OBJ NSINSTALL='$(MOD_DEPTH)/config/$(OBJDIR_NAME)/nsinstall' NOSUCHFILE=/no-such-file -LIBNSPR='-L$(dist_libdir) -lnspr$(MOD_MAJOR_VERSION)' +LIBNSPR='-Wl,-R${prefix}/lib/${MOZILLA_PKG_NAME} -L$(dist_libdir) -lnspr$(MOD_MAJOR_VERSION)' LIBPLC='-L$(dist_libdir) -lplc$(MOD_MAJOR_VERSION)' CYGWIN_WRAPPER= MACOS_SDK_DIR= @@@@ -1394,6 +1394,9 @@@@ tools are selected during the Xcode/Deve DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@@)' MDCPUCFG_H=_freebsd.cfg PR_MD_CSRCS=freebsd.c + if test "$LIBRUNPATH"; then + DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH" + fi ;; *-linux*|*-gnu*|*-k*bsd*-gnu|*-android*|*-linuxandroid*) @@@@ -1421,6 +1424,9 @@@@ tools are selected during the Xcode/Deve MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@@' DSO_CFLAGS=-fPIC DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@@)' + if test "$LIBRUNPATH"; then + DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH" + fi _OPTIMIZE_FLAGS=-O2 _DEBUG_FLAGS="-g -fno-inline" # most people on linux use gcc/gdb, and that # combo is not yet good at debugging inlined @@@@ -1746,7 +1752,7 @@@@ tools are selected during the Xcode/Deve AC_DEFINE(HAVE_POINTER_LOCALTIME_R) CFLAGS="$CFLAGS -ansi -Wall" CXXFLAGS="$CXXFLAGS -ansi -Wall" - DLL_SUFFIX=so.1.0 + DLL_SUFFIX=so DSO_CFLAGS=-fPIC MDCPUCFG_H=_openbsd.cfg PR_MD_CSRCS=openbsd.c @@@@ -1809,7 +1815,7 @@@@ tools are selected during the Xcode/Deve if `$CC -print-prog-name=ld` -v 2>&1 | grep -c GNU >/dev/null; then GCC_USE_GNU_LD=1 fi - DSO_LDOPTS='-shared -Wl,-h,$(notdir $@@),-z,combreloc,-z,defs,-z,ignore' + DSO_LDOPTS='-shared -Wl,-h,$(notdir $@@),-z,combreloc,-z,defs' if test -n "$USE_B_DIRECT"; then DSO_LDOPTS="$DSO_LDOPTS,-Bdirect" fi @ 1.16 log @devel/nspr: Update to 4.36 Changelog: NSPR 4.36 contains the following changes: - remove support for OS/2 - remove support for Unixware, Bsdi, old AIX, old HPUX9 & scoos - remove support for Windows 16 bit - renamed the prwin16.h header to prwin.h - configure was updated from 2.69 to 2.71 - various build, test and automation script fixes - major parts of the source code were reformatted @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.15 2021/07/01 07:23:00 wiz Exp $ d5 1 a5 1 --- nspr/configure.in.orig 2024-10-21 11:31:57.000000000 +0000 d25 2 a26 2 *-hpux*) @@@@ -1563,6 +1566,9 @@@@ tools are selected during the Xcode/Deve d36 1 a36 1 @@@@ -1892,7 +1898,7 @@@@ tools are selected during the Xcode/Deve d45 1 a45 1 @@@@ -1955,7 +1961,7 @@@@ tools are selected during the Xcode/Deve @ 1.15 log @nspr: update to 4.32 Remove dragonfly patches. Report NetBSD patches upstream, add bug report URLs. Changes: - implement new socket option PR_SockOpt_DontFrag - support larger DNS records by increasing the default buffer size for DNS queries @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.14 2017/10/04 12:52:43 jperkin Exp $ d5 1 a5 1 --- nspr/configure.in.orig 2021-06-30 21:43:23.000000000 +0000 d16 1 a16 1 @@@@ -1486,6 +1486,9 @@@@ tools are selected during the Xcode/Deve d26 1 a26 1 @@@@ -1662,6 +1665,9 @@@@ tools are selected during the Xcode/Deve d36 1 a36 1 @@@@ -1991,7 +1997,7 @@@@ tools are selected during the Xcode/Deve d45 1 a45 1 @@@@ -2070,7 +2076,7 @@@@ tools are selected during the Xcode/Deve d49 1 a49 1 - DSO_LDOPTS='-shared -Wl,-h,$(notdir $@@),-z,combreloc,-z,defs,-z,ignore' @ 1.14 log @nspr: Remove -zignore ld argument on SunOS. It interferes with SSP support causing the dependency on libssp to be dropped. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.13 2017/08/01 12:10:48 ryoon Exp $ d5 1 a5 1 --- nspr/configure.in.orig 2017-07-27 12:31:27.000000000 +0000 d16 1 a16 1 @@@@ -1573,6 +1573,33 @@@@ tools are selected during the Xcode/Deve a22 24 + ;; + +*-dragonfly*) + if test -z "$USE_NSPR_THREADS"; then + USE_PTHREADS=1 + fi + AC_DEFINE(XP_UNIX) + AC_DEFINE(HAVE_BSD_FLOCK) + AC_DEFINE(HAVE_SOCKLEN_T) + CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall" + MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + if test "$MOZ_OBJFORMAT" = "elf"; then + DLL_SUFFIX=so + else + DLL_SUFFIX=so.1.0 + fi + MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@@' + DSO_CFLAGS=-fPIC + DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@@)' + MDCPUCFG_H=_dragonfly.cfg + PR_MD_CSRCS=freebsd.c + if test "$LIBRUNPATH"; then + DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH" + fi d26 1 a26 1 @@@@ -1848,6 +1875,9 @@@@ tools are selected during the Xcode/Deve d36 1 a36 1 @@@@ -2173,7 +2203,7 @@@@ tools are selected during the Xcode/Deve d45 1 a45 1 @@@@ -2293,7 +2323,7 @@@@ tools are selected during the Xcode/Deve a53 27 @@@@ -2760,7 +2790,7 @@@@ if test -n "$USE_PTHREADS"; then if test -z "`egrep -i '(unrecognize|unknown)' conftest.out | grep pthread`" && test -z "`egrep -i '(error|incorrect)' conftest.out`" ; then ac_cv_have_dash_pthread=yes case "$target_os" in - freebsd*) + freebsd* | dragonfly*) # Freebsd doesn't use -pthread for compiles, it uses them for linking ;; *) @@@@ -2798,7 +2828,7 @@@@ if test -n "$USE_PTHREADS"; then _PTHREAD_LDFLAGS= fi ;; - *-freebsd*) + *-freebsd* | *-dragonfly*) AC_DEFINE(_REENTRANT) AC_DEFINE(_THREAD_SAFE) dnl -pthread links in -lc_r, so don't specify it explicitly. @@@@ -2879,7 +2909,7 @@@@ case "$target" in AC_DEFINE(_PR_NEED_PTHREAD_INIT) fi ;; -*-freebsd*) +*-freebsd* | *-dragonfly*) if test -n "$USE_NSPR_THREADS"; then AC_DEFINE(_PR_LOCAL_THREADS_ONLY) fi @ 1.13 log @Update to 4.16 Changelog: NSPR 4.16 contains various correctness fixes. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.12 2017/07/03 12:18:17 ryoon Exp $ d69 9 @ 1.12 log @Update to 4.15 Changelog: NSPR 4.15 contains the following changes: - added TCP Fast Open functionality - various correctness fixes @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.11 2016/08/28 07:00:50 richard Exp $ d5 1 a5 1 --- nspr/configure.in.orig 2017-06-05 20:16:00.000000000 +0000 d16 1 a16 9 @@@@ -1389,6 +1389,7 @@@@ case "$target" in changequote([,]) if test "$HOST_DARWIN_MAJOR" -ge 15 ; then AC_DEFINE(HAS_CONNECTX) + fi AS='$(CC) -x assembler-with-cpp' CFLAGS="$CFLAGS -Wall -fno-common" case "${target_cpu}" in @@@@ -1571,6 +1572,33 @@@@ tools are selected during the Xcode/Deve d50 1 a50 1 @@@@ -1846,6 +1874,9 @@@@ tools are selected during the Xcode/Deve d60 2 a61 2 @@@@ -2169,7 +2200,7 @@@@ tools are selected during the Xcode/Deve AC_DEFINE(HAVE_SOCKLEN_T) d69 1 a69 1 @@@@ -2756,7 +2787,7 @@@@ if test -n "$USE_PTHREADS"; then d78 1 a78 1 @@@@ -2794,7 +2825,7 @@@@ if test -n "$USE_PTHREADS"; then d87 1 a87 1 @@@@ -2875,7 +2906,7 @@@@ case "$target" in @ 1.11 log @add runpath to Linux caught during check-shlibs-elf fixes build on aarch64-linux-gnu @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.10 2015/08/20 10:53:13 ryoon Exp $ d5 1 a5 1 --- nspr/configure.in.orig 2016-02-12 13:51:25.000000000 +0000 d16 9 a24 1 @@@@ -1531,6 +1531,33 @@@@ tools are selected during the Xcode/Deve d58 1 a58 1 @@@@ -1805,6 +1832,9 @@@@ tools are selected during the Xcode/Deve d68 1 a68 1 @@@@ -2128,7 +2158,7 @@@@ tools are selected during the Xcode/Deve d77 1 a77 1 @@@@ -2715,7 +2745,7 @@@@ if test -n "$USE_PTHREADS"; then d86 1 a86 1 @@@@ -2753,7 +2783,7 @@@@ if test -n "$USE_PTHREADS"; then d95 1 a95 1 @@@@ -2834,7 +2864,7 @@@@ case "$target" in @ 1.10 log @Update to 4.10.9 Changelog: NSPR 4.10.9 has the following bug fixes: 1021167 Leak of |poll_list| on failure in _MW_PollInternal 1030692 Make compiling nspr on windows possible again. 1088790 dosprint() doesn't support %zu and other size formats 1130787 prtime.h does not compile with MSVC's /Za (ISO C/C++ conformance) option 1153610 MIPS64: Add support for n64 ABI 1156029 Teach clang-analyzer about PR_ASSERT 1160125 MSVC version detection is broken CC is set to a wrapper (like sccache) 1163346 Add NSPR support for FreeBSD mips/mips64 1169185 Add support for OpenRISC (or1k) 1174749 Remove configure block for iOS that uses MACOS_SDK_DIR 1174781 PR_GetInheritedFD can use uninitialized variables @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.9 2013/11/02 12:34:14 ryoon Exp $ d3 3 a5 1 --- nspr/configure.in.orig 2015-08-19 15:32:22.000000000 +0000 d50 11 a60 1 @@@@ -2132,7 +2159,7 @@@@ tools are selected during the Xcode/Deve d69 1 a69 1 @@@@ -2718,7 +2745,7 @@@@ if test -n "$USE_PTHREADS"; then d78 1 a78 1 @@@@ -2756,7 +2783,7 @@@@ if test -n "$USE_PTHREADS"; then d87 1 a87 1 @@@@ -2837,7 +2864,7 @@@@ case "$target" in @ 1.9 log @Fix build on OpenBSD 5.4 @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.8 2013/07/20 08:57:20 ryoon Exp $ d3 1 a3 1 --- nspr/configure.in.orig 2013-09-18 23:49:51.000000000 +0000 d5 1 a5 1 @@@@ -36,7 +36,7 @@@@ OBJDIR_NAME=. d14 1 a14 1 @@@@ -1538,6 +1538,33 @@@@ tools are selected during the Xcode/Deve d48 1 a48 9 @@@@ -2088,6 +2115,7 @@@@ tools are selected during the Xcode/Deve AC_DEFINE(XP_UNIX) AC_DEFINE(NETBSD) AC_DEFINE(HAVE_BSD_FLOCK) + AC_DEFINE(HAVE_SOCKLEN_T) if test -z "$USE_NSPR_THREADS"; then USE_PTHREADS=1 fi @@@@ -2138,7 +2166,7 @@@@ tools are selected during the Xcode/Deve d57 1 a57 1 @@@@ -2806,7 +2834,7 @@@@ if test -n "$USE_PTHREADS"; then d66 1 a66 1 @@@@ -2844,7 +2872,7 @@@@ if test -n "$USE_PTHREADS"; then d75 1 a75 1 @@@@ -2925,7 +2953,7 @@@@ case "$target" in @ 1.8 log @Update to 4.10, based on pkgsrc/wip/nspr by mef@@. * Set LICENSE. Changelog: http://mozilla.6506.n7.nabble.com/ANNOUNCE-NSPR-4-10-Release-td280660.html -------------- NSPR 4.10 has the following bug fixes: * Bug 331169: Obviate PR_Sleep before PR_GetConnectStatus on Windows. Fixed by Brian Smith. * Bug 687033: Support Windows/arm. Fixed by Makoto Kato (partially checked in). * Bug 687033: Remove WINCE and Win9x support partially. * Bug 844513: Add AddressSanitizer (ASan) memory check annotations to PLArena. Fixed by Mats Palmgren. * Bug 849089: Simple changes to make NSPR's configure.in work with the current version of autoconf. * Bug 856196: Fix compiler warnings and clean up code in NSPR 4.10. * Bug 859066: Fix warning in nsprpub/pr/src/misc/prnetdb.c. * Bug 859830: Deprecate ANDROID_VERSION in favor of android/api-level.h. Fixed by Vicamo Yang. * Bug 861434: Make PR_SetThreadPriority() change priorities relatively to the main process instead of using absolute values on Linux. Fixed by Gabriele Svelto. * Bug 871064L: _PR_InitThreads() should not call PR_SetThreadPriority. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2012/08/28 13:29:16 ryoon Exp $ d3 1 a3 1 --- nsprpub/configure.in.orig 2012-05-31 22:48:19.000000000 +0000 d14 1 a14 1 @@@@ -1519,6 +1519,33 @@@@ tools are selected during the Xcode/Deve d48 1 a48 1 @@@@ -2110,6 +2137,7 @@@@ mips-nec-sysv*) d56 10 a65 1 @@@@ -2918,7 +2946,7 @@@@ if test -n "$USE_PTHREADS"; then d74 1 a74 1 @@@@ -2956,7 +2984,7 @@@@ if test -n "$USE_PTHREADS"; then d83 1 a83 1 @@@@ -3037,7 +3065,7 @@@@ case "$target" in @ 1.7 log @Bump PKGREVISION * Utilize pthread_set_name_np or pthread_setname_np on DragonFly or NetBSD. Fix build of devel/xulrunner. * Regen patches @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2012/04/18 20:57:33 ryoon Exp $ d4 1 a4 1 +++ nsprpub/configure.in @ 1.6 log @Add distinfo and patches. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2012/01/07 18:47:39 marino Exp $ d3 1 a3 1 --- nsprpub/configure.in.orig 2011-09-02 20:15:44.000000000 +0000 d5 1 a5 1 @@@@ -71,7 +71,7 @@@@ OBJDIR_NAME=. d14 1 a14 1 @@@@ -1311,6 +1311,33 @@@@ tools are selected during the Xcode/Deve d48 1 a48 1 @@@@ -1925,6 +1952,7 @@@@ mips-nec-sysv*) d56 1 a56 1 @@@@ -2730,7 +2758,7 @@@@ if test -n "$USE_PTHREADS"; then d65 1 a65 1 @@@@ -2768,7 +2796,7 @@@@ if test -n "$USE_PTHREADS"; then d74 1 a74 1 @@@@ -2849,7 +2877,7 @@@@ case "$target" in @ 1.5 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 @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2007/03/18 18:49:47 wiz Exp $ d3 12 a14 21 --- configure.in.orig 2007-01-18 23:44:32.000000000 +0000 +++ configure.in @@@@ -62,7 +62,7 @@@@ USE_CPLUS= USE_IPV6= USE_MDUPDATE= _MACOSX_DEPLOYMENT_TARGET= -_OPTIMIZE_FLAGS=-O +_OPTIMIZE_FLAGS= _DEBUG_FLAGS=-g MOZ_DEBUG=1 MOZ_OPTIMIZE= @@@@ -1113,7 +1113,7 @@@@ tools are selected during the Xcode/Deve PR_MD_CSRCS=dgux.c ;; -*-freebsd*) +*-freebsd* | *-dragonfly*) if test -z "$USE_NSPR_THREADS"; then USE_PTHREADS=1 fi @@@@ -1133,6 +1133,9 @@@@ tools are selected during the Xcode/Deve d21 24 d48 1 a48 1 @@@@ -1637,6 +1640,7 @@@@ mips-nec-sysv*) d53 2 a54 20 USE_NSPR_THREADS=1 MDCPUCFG_H=_netbsd.cfg PR_MD_CSRCS=netbsd.c @@@@ -1649,13 +1653,16 @@@@ mips-nec-sysv*) if test -z "$OBJECT_FMT"; then if echo __ELF__ | ${CC-cc} -E - | grep -q __ELF__ 2>/dev/null; then OBJECT_FMT=a.out - DLL_SUFFIX=so.1.0 - DSO_LDOPTS='-shared' else OBJECT_FMT=ELF + fi + fi + if test "$OBJECT_FMT" = "ELF"; then DLL_SUFFIX=so DSO_LDOPTS='-shared -Wl,-soname,$(notdir $@@)' - fi + else + DLL_SUFFIX=so.1.0 + DSO_LDOPTS='-shared' d56 10 a65 3 if test "$LIBRUNPATH"; then @@@@ -2438,7 +2445,7 @@@@ if test -n "$USE_PTHREADS"; then d74 1 a74 1 @@@@ -2519,7 +2526,7 @@@@ case "$target" in @ 1.4 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-ac,v 1.3 2006/02/02 05:51:14 ben Exp $ @ 1.3 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 --- ../configure.in.orig Fri Sep 2 14:44:37 2005 +++ ../configure.in Wed Feb 1 19:58:57 2006 @@@@ -57,7 +57,7 @@@@ d14 1 a14 1 @@@@ -1025,7 +1025,7 @@@@ d23 1 a23 1 @@@@ -1045,6 +1045,9 @@@@ d33 1 a33 1 @@@@ -1544,6 +1547,7 @@@@ d41 21 a61 1 @@@@ -2345,7 +2349,7 @@@@ d70 1 a70 1 @@@@ -2426,7 +2430,7 @@@@ @ 1.2 log @Update patch-ac to add DragonFly support. This is from maintainer's request via PR #30711. (I only tested "make configure" on different system.) @ text @d3 12 a14 3 --- ../configure.in.orig 2003-11-24 16:09:04.000000000 -0800 +++ ../configure.in 2005-08-12 12:35:10.000000000 -0700 @@@@ -913,7 +913,7 @@@@ d23 1 a23 1 @@@@ -932,6 +932,9 @@@@ d33 1 a33 1 @@@@ -1408,6 +1411,7 @@@@ d41 1 a41 1 @@@@ -2165,7 +2169,7 @@@@ d50 1 a50 1 @@@@ -2236,7 +2240,7 @@@@ @ 1.1 log @Merge with / update using the package provided by matthewluckie in pkgsrc-wip. @ text @d3 12 a14 3 --- ../configure.in.orig 2004-04-17 07:28:02.000000000 +0900 +++ ../configure.in 2004-07-27 01:25:32.000000000 +0900 @@@@ -933,6 +933,9 @@@@ d24 1 a24 1 @@@@ -1409,6 +1412,7 @@@@ d32 18 @