ports/163454: [patch] www/firefox-beta: unbreak with libc++
AN
andy at neu.net
Sat Jun 2 22:54:16 UTC 2012
On Sat, 2 Jun 2012, Jan Beich wrote:
> The following reply was made to PR ports/163454; it has been noted by GNATS.
>
> From: Jan Beich <jbeich at tormail.org>
> To: bug-followup at freebsd.org
> Cc:
> Subject: Re: ports/163454: [patch] www/firefox-beta: unbreak with libc++
> Date: Sat, 02 Jun 2012 20:15:24 +0700
>
> --=-=-=
> Content-Type: text/plain
> Content-Disposition: inline
>
> unbreak with /head at r236444
>
>
> --=-=-=
> Content-Type: text/x-patch
> Content-Disposition: attachment; filename=unwind.diff
>
> Index: Mk/bsd.gecko.mk
> ===================================================================
> RCS file: /a/.csup/ports/Mk/bsd.gecko.mk,v
> retrieving revision 1.59
> diff -u -p -r1.59 bsd.gecko.mk
> --- Mk/bsd.gecko.mk 1 Jun 2012 05:15:42 -0000 1.59
> +++ Mk/bsd.gecko.mk 2 Jun 2012 13:13:43 -0000
> @@ -783,6 +797,7 @@
> @if [ -f ${MOZSRC}/${subdir}/config/system-headers ] ; then \
> ${ECHO_CMD} "fenv.h" >> ${MOZSRC}/${subdir}/config/system-headers ; \
> ${ECHO_CMD} "pthread_np.h" >> ${MOZSRC}/${subdir}/config/system-headers ; \
> + ${ECHO_CMD} "unwind.h" >> ${MOZSRC}/${subdir}/config/system-headers ; \
> fi
> .endfor
> @${REINPLACE_CMD} -e 's|%%MOZILLA%%|${MOZILLA}|g' \
> Index: www/firefox/files/patch-xpcom_base_nsStackWalk.cpp
> ===================================================================
> RCS file: /a/.csup/ports/www/firefox/files/patch-xpcom_base_nsStackWalk.cpp,v
> retrieving revision 1.2
> diff -u -p -r1.2 patch-xpcom_base_nsStackWalk.cpp
> --- www/firefox/files/patch-xpcom_base_nsStackWalk.cpp 22 Mar 2011 15:24:49 -0000 1.2
> +++ www/firefox/files/patch-xpcom_base_nsStackWalk.cpp 2 Jun 2012 12:45:25 -0000
> @@ -9,3 +9,11 @@
> #include <dlfcn.h>
> #endif
>
> +@@ -1123,6 +1123,7 @@ NS_StackWalk(NS_WalkStackCallback aCallb
> +
> + #elif defined(HAVE__UNWIND_BACKTRACE)
> +
> ++#define _GNU_SOURCE
> + // libgcc_s.so symbols _Unwind_Backtrace@@GCC_3.3 and _Unwind_GetIP@@GCC_3.0
> + #include <unwind.h>
> +
>
> --=-=-=--
> _______________________________________________
> freebsd-gecko at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
> To unsubscribe, send any mail to "freebsd-gecko-unsubscribe at freebsd.org"
>
Installs successfully here:
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #20 r236371: Thu May 31
21:34:10 EDT 2012 root at FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64
Thank you for your help in testing and reporting bugs, and we hope you
enjoy using Firefox.
The Maintainers (gecko@)
======================================================================
===> Registering installation for firefox-13.0.b6,1
with USE_GCC= 4.6+ in the Makefile.
Hth
More information about the freebsd-gecko
mailing list