head 1.3; access; symbols pkgsrc-2014Q1:1.2.0.12 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.10 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.8 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.6 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.4 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.1.1.1.0.6 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.4 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.2 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2014.06.11.12.36.16; author joerg; state dead; branches; next 1.2; commitid XezNXGnjQIlDq6Ex; 1.2 date 2012.12.24.21.14.19; author joerg; state Exp; branches; next 1.1; 1.1 date 2012.03.15.09.45.29; author ryoon; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2012.03.15.09.45.29; author ryoon; state Exp; branches; next ; desc @@ 1.3 log @Retire old thunderbird versions. @ text @$NetBSD: patch-aa,v 1.2 2012/12/24 21:14:19 joerg Exp $ --- mozilla/configure.in.orig 2012-11-15 21:59:12.000000000 +0000 +++ mozilla/configure.in @@@@ -2328,7 +2328,7 @@@@ case "$target" in MOZ_FIX_LINK_PATHS='-Wl,-executable_path,$(LIBXUL_DIST)/bin' ;; -*-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" @@@@ -2336,6 +2336,9 @@@@ case "$target" in if test ! "$GNU_CC"; then DSO_LDOPTS="-Bshareable $DSO_LDOPTS" fi + if test "$LIBRUNPATH"; then + DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS" + fi ;; ia64*-hpux*) @@@@ -3178,6 +3181,9 @@@@ if test "$GNU_CC"; then AC_CACHE_CHECK(for visibility(hidden) attribute, ac_cv_visibility_hidden, [cat > conftest.c <= v0.9.7]) - dnl We need at least v0.9.7 to fix several crash bugs (for which we - dnl had local patches prior to v0.9.7). + AC_MSG_CHECKING([for libvpx version >= v1.0.0]) + dnl We need at least v1.0.0 to fix several crash bugs (for which we + dnl had local patches prior to v1.0.0). dnl dnl This is a terrible test for the library version, but we don't dnl have a good one. There is no version number in a public header, dnl and testing the headers still doesn't guarantee we link against dnl the right version. While we could call vpx_codec_version() at dnl run-time, that would break cross-compiling. There are no - dnl additional exported symbols between the v0.9.7 release and the - dnl v0.9.6 one to check for. + dnl additional exported decoder symbols between the v1.0.0 release + dnl and the v0.9.7 one to check for. AC_TRY_COMPILE([ #include - #if !defined(VPX_CODEC_USE_INPUT_PARTITION) + #if !defined(VPX_CODEC_USE_INPUT_FRAGMENTS) #error "test failed." #endif ], @@@@ -5639,7 +5656,7 @@@@ if test -n "$MOZ_WEBM"; then MOZ_LIBVPX_INCLUDES="-I${LIBVPX_DIR}/include" MOZ_LIBVPX_LIBS="-L${LIBVPX_DIR}/lib -lvpx"], [AC_MSG_RESULT([no]) - AC_MSG_ERROR([--with-system-libvpx requested but it is not v0.9.7 or later])]) + AC_MSG_ERROR([--with-system-libvpx requested but it is not v1.0.0 or later])]) fi CFLAGS=$_SAVE_CFLAGS LDFLAGS=$_SAVE_LDFLAGS @@@@ -5673,11 +5690,11 @@@@ if test -n "$MOZ_WEBM" -a -z "$MOZ_NATIV dnl See if we have assembly on this platform. case "$OS_ARCH:$CPU_ARCH" in - Linux:x86) + Linux:x86|DragonFly:x86|*BSD:i386) VPX_ASFLAGS="-f elf32 -rnasm -pnasm" VPX_X86_ASM=1 ;; - Linux:x86_64) + Linux:x86_64|DragonFly:x86_64|*BSD:x86_64) VPX_ASFLAGS="-f elf64 -rnasm -pnasm -DPIC" VPX_X86_ASM=1 ;; @@@@ -8930,6 +8947,8 @@@@ if test -z "$MOZ_NATIVE_NSPR"; then AC_MSG_WARN([Recreating autoconf.mk with updated nspr-config output]) if test "$OS_ARCH" != "WINNT"; 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.2 log @Don't use visibility attributes with Clang. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.10 2012/03/10 11:42:38 ryoon Exp $ d3 1 a3 1 --- mozilla/configure.in.orig 2012-02-16 10:24:47.000000000 +0000 d24 11 a34 1 @@@@ -3377,6 +3380,9 @@@@ dnl ==================================== d44 1 a44 1 @@@@ -4330,6 +4336,14 @@@@ if test -n "$YASM"; then d59 1 a59 1 @@@@ -5616,20 +5630,20 @@@@ if test -n "$MOZ_WEBM"; then d86 1 a86 1 @@@@ -5639,7 +5653,7 @@@@ if test -n "$MOZ_WEBM"; then d95 1 a95 1 @@@@ -5673,11 +5687,11 @@@@ if test -n "$MOZ_WEBM" -a -z "$MOZ_NATIV d109 1 a109 1 @@@@ -8915,6 +8929,8 @@@@ if test -z "$MOZ_NATIVE_NSPR"; then @ 1.1.1.1 log @Import thunderbird10-10.0.3 as mail/thunderbird10 * This is ESR (Extended Support Release) version. * Fix security bugs @ text @@