From c80e090095217ca31b70c2e08b6ce4f9e9c17aa3 Mon Sep 17 00:00:00 2001 From: Beat Gaetzi Date: Wed, 19 Mar 2014 20:46:37 +0000 Subject: - Update Firefox to 28.0 - Update Firefox ESR to 24.4.0 - Update Thunderbird to 24.4.0 - Update NSPR to 4.10.4 - Update NSS to 3.15.5 - Switch GSTREAMER option for non-esr ports to depend on multimedia/gstreamer1 [2] - Switch to Uses/compiler.mk, defaults to lang/gcc47 on 8.x and 9.x - Use port dependencies for libogg, libvorbis, libopus, harfbuzz, graphite2 - Enable readahead in url-classifier, asmjs, download resume like on Linux - Build www/firefox and www/seamonkey faster using unified compilation - Unbreak build on sparc64 [1] - Workaround OPTIMIZED_CFLAGS startup crash on 8.x and 9.x - OPTIMIZED_CFLAGS is enabled by default - A few DEBUG build fixes - Add clang 3.2/3.3/3.4 workarounds for i386 - Mention known GSTREAMER issue in pkg-message Submitted by: Jan Beich PR: ports/186580 [1] Requested by: kwm [2] Security: http://www.vuxml.org/freebsd/610de647-af8d-11e3-a25b-b4b52fce4ce8.html --- www/firefox/files/patch-bug977457 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 www/firefox/files/patch-bug977457 (limited to 'www/firefox/files/patch-bug977457') diff --git a/www/firefox/files/patch-bug977457 b/www/firefox/files/patch-bug977457 new file mode 100644 index 000000000000..cf57b6b1b809 --- /dev/null +++ b/www/firefox/files/patch-bug977457 @@ -0,0 +1,27 @@ +diff --git xpcom/base/nsStackWalk.cpp xpcom/base/nsStackWalk.cpp +index bb0e15b..7641267 100644 +--- xpcom/base/nsStackWalk.cpp ++++ xpcom/base/nsStackWalk.cpp +@@ -23,6 +23,12 @@ struct CriticalAddress { + }; + static CriticalAddress gCriticalAddress; + ++// for _Unwind_Backtrace from libcxxrt or libunwind ++// cxxabi.h from libcxxrt implicitly includes unwind.h first ++#if defined(HAVE__UNWIND_BACKTRACE) && !defined(_GNU_SOURCE) ++#define _GNU_SOURCE ++#endif ++ + #if defined(HAVE_DLOPEN) || defined(XP_MACOSX) + #include + #endif +@@ -1222,9 +1228,6 @@ NS_StackWalk(NS_WalkStackCallback aCallback, uint32_t aSkipFrames, + #elif defined(HAVE__UNWIND_BACKTRACE) + + // libgcc_s.so symbols _Unwind_Backtrace@@GCC_3.3 and _Unwind_GetIP@@GCC_3.0 +-#ifndef _GNU_SOURCE +-#define _GNU_SOURCE +-#endif + #include + + struct unwind_info { -- cgit v1.2.3