head 1.7; access; symbols pkgsrc-2019Q2:1.6.0.26 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.24 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.22 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.20 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.18 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.16 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.14 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.12 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.8 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.6 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.4 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.2 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.5.0.22 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.20 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.18 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.16 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.14 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.12 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.10 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.8 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.6 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.4 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.5.0.2 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.4.0.6 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.2 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.3.0.2 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.2.0.10 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.8 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.6 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.2 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.1.1.1.0.2 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2019.07.11.12.07.38; author nia; state dead; branches; next 1.6; commitid GhlRjFvdTxpUACuB; 1.6 date 2016.09.16.11.42.24; author jperkin; state Exp; branches; next 1.5; commitid OyL6C6M7D750wvmz; 1.5 date 2013.10.20.18.17.04; author joerg; state Exp; branches; next 1.4; commitid EZcd3Fhu679UP3ax; 1.4 date 2013.01.09.10.34.03; author martin; state Exp; branches; next 1.3; 1.3 date 2012.11.18.01.55.52; author joerg; state Exp; branches; next 1.2; 1.2 date 2011.08.20.13.05.50; author tnn; state Exp; branches; next 1.1; 1.1 date 2011.04.19.11.16.07; author tnn; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.04.19.11.16.07; author tnn; state Exp; branches; next ; desc @@ 1.7 log @Remove devel/xulrunner192 and devel/swt. xulrunner192 was the last remains of Firefox 3.6 in pkgsrc. The last package depending on xulrunner192 was devel/swt. swt isn't used by anything in pkgsrc (old versions of eclipse which weren't imported, maybe), and was originally added by jmcneill, who says it can be removed now. @ text @$NetBSD: patch-aa,v 1.6 2016/09/16 11:42:24 jperkin Exp $ Do not allow access to _res on NetBSD. --- configure.in.orig 2012-03-06 14:45:23.000000000 +0000 +++ configure.in @@@@ -1398,8 +1398,8 @@@@ if test "$GNU_CC"; then ASFLAGS="$ASFLAGS -fPIC" _MOZ_RTTI_FLAGS_ON=${_COMPILER_PREFIX}-frtti _MOZ_RTTI_FLAGS_OFF=${_COMPILER_PREFIX}-fno-rtti - _MOZ_EXCEPTIONS_FLAGS_ON='-fhandle-exceptions' - _MOZ_EXCEPTIONS_FLAGS_OFF='-fno-handle-exceptions' + _MOZ_EXCEPTIONS_FLAGS_ON='-fexceptions' + _MOZ_EXCEPTIONS_FLAGS_OFF='-fno-exceptions' # Turn on GNU specific features # -Wall - turn on all warnings @@@@ -1858,7 +1858,7 @@@@ case "$target" in fi ;; -*-freebsd*) +*-freebsd* | *-dragonfly*) if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo elf` != "elf"; then DLL_SUFFIX=".so.1.0" DSO_LDOPTS="-shared" @@@@ -1872,6 +1872,9 @@@@ case "$target" in # MKSHLIB_FORCE_ALL='-Wl,-Bforcearchive' # MKSHLIB_UNFORCE_ALL='' # fi + if test "$LIBRUNPATH"; then + DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS" + fi ;; *-hpux*) @@@@ -2555,11 +2558,11 @@@@ dnl the qsort routine under solaris is f # $ORIGIN/.. is for shared libraries under components/ to locate shared # libraries one level up (e.g. libnspr4.so) LDFLAGS="$LDFLAGS -z ignore -R '\$\$ORIGIN:\$\$ORIGIN/..'" + MOZ_FIX_LINK_PATHS= MOZ_MEMORY=1 if test "$SOLARIS_SUNPRO_CC"; then LIBS="-lCrun -lCstd $LIBS" NS_USE_NATIVE=1 - MOZ_FIX_LINK_PATHS= AC_DEFINE(NSCAP_DISABLE_DEBUG_PTR_TYPES) CFLAGS="$CFLAGS -xlibmieee -xstrconst -xbuiltin=%all" CXXFLAGS="$CXXFLAGS -xlibmieee -xbuiltin=%all -features=tmplife -norunpath" @@@@ -2939,6 +2942,9 @@@@ if test "$GNU_CC"; then AC_CACHE_CHECK(for visibility(hidden) attribute, ac_cv_visibility_hidden, [cat > conftest.c < ], - [int foo = res_ninit(&_res);], + [ + #ifdef __NetBSD__ + #error "_res is not usable in threaded programs" + #endif + int foo = res_ninit(&_res);], [ac_cv_func_res_ninit=yes], [ac_cv_func_res_ninit=no]) ]) @@@@ -3792,13 +3805,7 @@@@ if test "$GNU_CXX"; then AC_CACHE_VAL(ac_cv_cxx_exceptions_flags, [echo "int main() { return 0; }" | cat > conftest.C - ${CXX-g++} ${CXXFLAGS} -c -fno-handle-exceptions conftest.C > conftest.out 2>&1 - - if egrep "warning.*renamed" conftest.out >/dev/null; then - ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions - else - ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-handle-exceptions - fi + ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions rm -f conftest*]) @@@@ -4326,6 +4333,14 @@@@ else fi fi +if test -n "${LIBXUL_SDK_DIR}"; then + AC_MSG_WARN([pkgsrc: LIBXUL_SDK_DIR is set; assuming we want nss and nspr from xulrunner.]) + NSPR_CFLAGS="-I${prefix}/include/xulrunner192/unstable `pkg-config --cflags mozilla-nspr`" + NSPR_LIBS="`pkg-config --libs mozilla-nspr`" + NSS_CFLAGS="`pkg-config --cflags mozilla-nss`" + NSS_LIBS="`pkg-config --libs mozilla-nss`" +fi + if test -z "$SKIP_LIBRARY_CHECKS"; then dnl system JPEG support dnl ======================================================== @@@@ -8630,7 +8645,8 @@@@ rm -f confdefs.h.save mv confdefs.h confdefs.h.save egrep -v "$_EGREP_PATTERN" confdefs.h.save > confdefs.h AC_OUTPUT_MAKE_DEFS() -MOZ_DEFINES=$DEFS +# nbsed broken. PR bin/42261 +MOZ_DEFINES="$DEFS`awk 'BEGIN {while(x<1000){printf " ";x++}}'`" AC_SUBST(MOZ_DEFINES) rm -f confdefs.h mv confdefs.h.save confdefs.h @@@@ -8721,6 +8737,8 @@@@ if test -z "$MOZ_NATIVE_NSPR"; then AC_MSG_WARN([Recreating autoconf.mk with updated nspr-config output]) if test "$OS_ARCH" != "WINNT" && test "$OS_ARCH" != "WINCE"; then NSPR_LIBS=`./nsprpub/config/nspr-config --prefix=$LIBXUL_DIST --exec-prefix=$MOZ_BUILD_ROOT/dist --libdir=$LIBXUL_DIST/lib --libs` + AC_MSG_WARN([pkgsrc: adding run path to NSPR_LIBS for bundled NSPR.]) + NSPR_LIBS="-Wl,-R${prefix}/lib/\${MOZILLA_PKG_NAME} ${NSPR_LIBS}" $PERL -pi.bak -e "s '^NSPR_LIBS\\s*=.*'NSPR_LIBS = $NSPR_LIBS'" config/autoconf.mk NSPR_CFLAGS=`./nsprpub/config/nspr-config --prefix=$LIBXUL_DIST --exec-prefix=$MOZ_BUILD_ROOT/dist --includedir=$LIBXUL_DIST/include/nspr --cflags` $PERL -pi.bak -e "s '^NSPR_CFLAGS\\s*=.*'NSPR_CFLAGS = $NSPR_CFLAGS'" config/autoconf.mk @ 1.6 log @SunOS fixes. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2013/10/20 18:17:04 joerg Exp $ @ 1.5 log @Use -fexceptions / -fno-exceptions. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2013/01/09 10:34:03 martin Exp $ d37 13 @ 1.4 log @Prevent configure to pick up non thread safe code that uses _res on NetBSD. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2012/11/18 01:55:52 joerg Exp $ d5 14 a18 3 --- configure.in.orig 2012-03-06 15:45:23.000000000 +0100 +++ configure.in 2013-01-08 16:00:11.000000000 +0100 @@@@ -1858,7 +1858,7 @@@@ d27 1 a27 1 @@@@ -1872,6 +1872,9 @@@@ d37 1 a37 1 @@@@ -2939,6 +2942,9 @@@@ d47 1 a47 1 @@@@ -3110,6 +3116,9 @@@@ d57 1 a57 1 @@@@ -3556,7 +3565,11 @@@@ d70 16 a85 1 @@@@ -4326,6 +4339,14 @@@@ d100 1 a100 1 @@@@ -8630,7 +8651,8 @@@@ d110 1 a110 1 @@@@ -8721,6 +8743,8 @@@@ @ 1.3 log @Global variables of types without default constructors may not be constant. Fix issues with template look up. Disable visibility for clang as it checks the consistency of type declarations and the old Mozilla code is way too heavy to patch for that. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2011/08/20 13:05:50 tnn Exp $ d3 5 a7 3 --- configure.in.orig 2012-03-06 14:45:23.000000000 +0000 +++ configure.in @@@@ -1858,7 +1858,7 @@@@ case "$target" in d16 1 a16 1 @@@@ -1872,6 +1872,9 @@@@ case "$target" in d26 1 a26 1 @@@@ -2939,6 +2942,9 @@@@ if test "$GNU_CC"; then d36 1 a36 1 @@@@ -3110,6 +3116,9 @@@@ dnl ==================================== d46 14 a59 1 @@@@ -4326,6 +4335,14 @@@@ else d74 1 a74 1 @@@@ -8630,7 +8647,8 @@@@ rm -f confdefs.h.save d84 1 a84 1 @@@@ -8721,6 +8739,8 @@@@ if test -z "$MOZ_NATIVE_NSPR"; then @ 1.2 log @Fix build of legacy mozilla packages and rename the PKGBASE to facilitate coinstallation with current packages. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 2011/04/19 11:16:07 tnn Exp $ d3 1 a3 1 --- configure.in.orig 2009-10-16 17:13:35.000000000 +0200 d5 1 a5 1 @@@@ -1799,7 +1799,7 @@@@ case "$target" in d14 1 a14 1 @@@@ -1813,6 +1813,9 @@@@ case "$target" in d24 11 a34 1 @@@@ -3043,6 +3046,9 @@@@ dnl ==================================== d44 1 a44 1 @@@@ -4158,6 +4164,14 @@@@ else d59 1 a59 1 @@@@ -8375,7 +8389,8 @@@@ rm -f confdefs.h.save d69 1 a69 1 @@@@ -8466,6 +8481,8 @@@@ if test -z "$MOZ_NATIVE_NSPR"; then @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2009/11/04 09:44:09 tnn Exp $ d40 1 a40 1 + NSPR_CFLAGS="-I${prefix}/include/xulrunner/unstable `pkg-config --cflags mozilla-nspr`" @ 1.1.1.1 log @Re-import previous version of Firefox, because firefox-4.0 won't work for some users (sparc64 support, for example, is busted and won't appear again until firefox-5.0). @ text @@