From owner-freebsd-gecko@FreeBSD.ORG Tue Aug 17 07:47:33 2010 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D15C1065694 for ; Tue, 17 Aug 2010 07:47:33 +0000 (UTC) (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: from trillian.chruetertee.ch (trillian.chruetertee.ch [217.150.245.56]) by mx1.freebsd.org (Postfix) with ESMTP id 892948FC19 for ; Tue, 17 Aug 2010 07:47:32 +0000 (UTC) Received: from trillian.chruetertee.ch (trillian [217.150.245.56]) by trillian.chruetertee.ch (8.14.3/8.14.3) with ESMTP id o7H7lVxZ024128 for ; Tue, 17 Aug 2010 07:47:31 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Received: (from www@localhost) by trillian.chruetertee.ch (8.14.3/8.14.3/Submit) id o7H7lQef021960 for freebsd-gecko@freebsd.org; Tue, 17 Aug 2010 07:47:26 GMT (envelope-from svn-freebsd-gecko@chruetertee.ch) Date: Tue, 17 Aug 2010 07:47:26 GMT Message-Id: <201008170747.o7H7lQef021960@trillian.chruetertee.ch> X-Authentication-Warning: trillian.chruetertee.ch: www set sender to svn-freebsd-gecko@chruetertee.ch using -f From: svn-freebsd-gecko@chruetertee.ch To: freebsd-gecko@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [SVN-Commit] r383 - branches/experimental/www/firefox/files branches/experimental/www/firefox35/files trunk/www/firefox/files trunk/www/firefox35/files X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-gecko@freebsd.org List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2010 07:47:33 -0000 Author: beat Date: Tue Aug 17 07:47:26 2010 New Revision: 383 Log: - Unbreak with recent versions of GCC PR: ports/142736 Submitted by: bf Added: branches/experimental/www/firefox/files/patch-toolkit_library_Makefile.in branches/experimental/www/firefox/files/patch-xpcom_base_nsStackWalk.cpp branches/experimental/www/firefox35/files/patch-toolkit_library_Makefile.in branches/experimental/www/firefox35/files/patch-xpcom_base_nsStackWalk.cpp trunk/www/firefox/files/patch-toolkit_library_Makefile.in trunk/www/firefox/files/patch-xpcom_base_nsStackWalk.cpp trunk/www/firefox35/files/patch-toolkit_library_Makefile.in trunk/www/firefox35/files/patch-xpcom_base_nsStackWalk.cpp Modified: branches/experimental/www/firefox/files/patch-js_src_jsnum.cpp trunk/www/firefox/files/patch-js_src_jsnum.cpp Modified: branches/experimental/www/firefox/files/patch-js_src_jsnum.cpp ============================================================================== --- branches/experimental/www/firefox/files/patch-js_src_jsnum.cpp Tue Aug 17 07:44:27 2010 (r382) +++ branches/experimental/www/firefox/files/patch-js_src_jsnum.cpp Tue Aug 17 07:47:26 2010 (r383) @@ -1,5 +1,5 @@ ---- js/src/jsnum.cpp.orig 2009-10-14 18:03:30.000000000 +0200 -+++ js/src/jsnum.cpp 2009-10-15 21:49:44.000000000 +0200 +--- js/src/jsnum.cpp.orig 2010-01-05 22:35:17.000000000 -0500 ++++ js/src/jsnum.cpp 2010-01-11 05:10:19.000000000 -0500 @@ -43,6 +43,9 @@ /* * JS number type and wrapper class. @@ -10,14 +10,16 @@ #ifdef XP_OS2 #define _PC_53 PC_53 #define _MCW_EM MCW_EM -@@ -691,8 +694,16 @@ +@@ -691,8 +694,18 @@ #else +#if defined(__FreeBSD__) && __FreeBSD_version >= 601000 ++#if __BSD_VISIBLE == 0 ++#error __BSD_VISIBLE is zero, so fedisableexcept is not defined ++#endif +#include -+#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT)) -+ ++#define FIX_FPU() ((void)fedisableexcept(FE_ALL_EXCEPT)) +#else + #define FIX_FPU() ((void)0) Added: branches/experimental/www/firefox/files/patch-toolkit_library_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/firefox/files/patch-toolkit_library_Makefile.in Tue Aug 17 07:47:26 2010 (r383) @@ -0,0 +1,11 @@ +--- toolkit/library/Makefile.in.orig 2010-01-11 12:13:08.000000000 -0500 ++++ toolkit/library/Makefile.in 2010-01-11 12:15:05.000000000 -0500 +@@ -181,7 +181,7 @@ + export:: $(RDF_UTIL_SRC_CPPSRCS) $(INTL_UNICHARUTIL_UTIL_CPPSRCS) + $(INSTALL) $^ . + +-EXTRA_DSO_LDOPTS += $(LIBS_DIR) $(EXTRA_DSO_LIBS) ++EXTRA_DSO_LDOPTS += -Wl,--warn-unresolved-symbols -Wl,--as-needed $(LIBS_DIR) $(EXTRA_DSO_LIBS) + + ifdef MOZ_ENABLE_LIBXUL + include $(srcdir)/libxul-rules.mk Added: branches/experimental/www/firefox/files/patch-xpcom_base_nsStackWalk.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/firefox/files/patch-xpcom_base_nsStackWalk.cpp Tue Aug 17 07:47:26 2010 (r383) @@ -0,0 +1,11 @@ +--- xpcom/base/nsStackWalk.cpp.orig 2010-01-11 02:11:49.000000000 -0500 ++++ xpcom/base/nsStackWalk.cpp 2010-01-11 02:13:26.000000000 -0500 +@@ -1132,7 +1132,7 @@ + #define __USE_GNU + #endif + +-#if defined(HAVE_LIBDL) || defined(XP_MACOSX) ++#if defined(HAVE_LIBDL) || defined(XP_MACOSX) || defined(__FreeBSD__) + #include + #endif + Added: branches/experimental/www/firefox35/files/patch-toolkit_library_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/firefox35/files/patch-toolkit_library_Makefile.in Tue Aug 17 07:47:26 2010 (r383) @@ -0,0 +1,11 @@ +--- toolkit/library/Makefile.in.orig 2010-01-11 23:57:11.000000000 -0500 ++++ toolkit/library/Makefile.in 2010-01-11 23:58:08.000000000 -0500 +@@ -181,7 +181,7 @@ + export:: $(RDF_UTIL_SRC_CPPSRCS) $(INTL_UNICHARUTIL_UTIL_CPPSRCS) + $(INSTALL) $^ . + +-EXTRA_DSO_LDOPTS += $(LIBS_DIR) $(EXTRA_DSO_LIBS) ++EXTRA_DSO_LDOPTS += -Wl,--warn-unresolved-symbols -Wl,--as-needed $(LIBS_DIR) $(EXTRA_DSO_LIBS) + + ifdef MOZ_ENABLE_LIBXUL + include $(srcdir)/libxul-rules.mk Added: branches/experimental/www/firefox35/files/patch-xpcom_base_nsStackWalk.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/experimental/www/firefox35/files/patch-xpcom_base_nsStackWalk.cpp Tue Aug 17 07:47:26 2010 (r383) @@ -0,0 +1,11 @@ +--- xpcom/base/nsStackWalk.cpp.orig 2010-01-11 23:06:47.000000000 -0500 ++++ xpcom/base/nsStackWalk.cpp 2010-01-11 23:07:29.000000000 -0500 +@@ -1124,7 +1124,7 @@ + #define __USE_GNU + #endif + +-#if defined(HAVE_LIBDL) || defined(XP_MACOSX) ++#if defined(HAVE_LIBDL) || defined(XP_MACOSX) || defined(__FreeBSD__) + #include + #endif + Modified: trunk/www/firefox/files/patch-js_src_jsnum.cpp ============================================================================== --- trunk/www/firefox/files/patch-js_src_jsnum.cpp Tue Aug 17 07:44:27 2010 (r382) +++ trunk/www/firefox/files/patch-js_src_jsnum.cpp Tue Aug 17 07:47:26 2010 (r383) @@ -1,5 +1,5 @@ ---- js/src/jsnum.cpp.orig 2009-10-14 18:03:30.000000000 +0200 -+++ js/src/jsnum.cpp 2009-10-15 21:49:44.000000000 +0200 +--- js/src/jsnum.cpp.orig 2010-01-05 22:35:17.000000000 -0500 ++++ js/src/jsnum.cpp 2010-01-11 05:10:19.000000000 -0500 @@ -43,6 +43,9 @@ /* * JS number type and wrapper class. @@ -10,14 +10,16 @@ #ifdef XP_OS2 #define _PC_53 PC_53 #define _MCW_EM MCW_EM -@@ -691,8 +694,16 @@ +@@ -691,8 +694,18 @@ #else +#if defined(__FreeBSD__) && __FreeBSD_version >= 601000 ++#if __BSD_VISIBLE == 0 ++#error __BSD_VISIBLE is zero, so fedisableexcept is not defined ++#endif +#include -+#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT)) -+ ++#define FIX_FPU() ((void)fedisableexcept(FE_ALL_EXCEPT)) +#else + #define FIX_FPU() ((void)0) Added: trunk/www/firefox/files/patch-toolkit_library_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/www/firefox/files/patch-toolkit_library_Makefile.in Tue Aug 17 07:47:26 2010 (r383) @@ -0,0 +1,11 @@ +--- toolkit/library/Makefile.in.orig 2010-01-11 12:13:08.000000000 -0500 ++++ toolkit/library/Makefile.in 2010-01-11 12:15:05.000000000 -0500 +@@ -181,7 +181,7 @@ + export:: $(RDF_UTIL_SRC_CPPSRCS) $(INTL_UNICHARUTIL_UTIL_CPPSRCS) + $(INSTALL) $^ . + +-EXTRA_DSO_LDOPTS += $(LIBS_DIR) $(EXTRA_DSO_LIBS) ++EXTRA_DSO_LDOPTS += -Wl,--warn-unresolved-symbols -Wl,--as-needed $(LIBS_DIR) $(EXTRA_DSO_LIBS) + + ifdef MOZ_ENABLE_LIBXUL + include $(srcdir)/libxul-rules.mk Added: trunk/www/firefox/files/patch-xpcom_base_nsStackWalk.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/www/firefox/files/patch-xpcom_base_nsStackWalk.cpp Tue Aug 17 07:47:26 2010 (r383) @@ -0,0 +1,11 @@ +--- xpcom/base/nsStackWalk.cpp.orig 2010-01-11 02:11:49.000000000 -0500 ++++ xpcom/base/nsStackWalk.cpp 2010-01-11 02:13:26.000000000 -0500 +@@ -1132,7 +1132,7 @@ + #define __USE_GNU + #endif + +-#if defined(HAVE_LIBDL) || defined(XP_MACOSX) ++#if defined(HAVE_LIBDL) || defined(XP_MACOSX) || defined(__FreeBSD__) + #include + #endif + Added: trunk/www/firefox35/files/patch-toolkit_library_Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/www/firefox35/files/patch-toolkit_library_Makefile.in Tue Aug 17 07:47:26 2010 (r383) @@ -0,0 +1,11 @@ +--- toolkit/library/Makefile.in.orig 2010-01-11 23:57:11.000000000 -0500 ++++ toolkit/library/Makefile.in 2010-01-11 23:58:08.000000000 -0500 +@@ -181,7 +181,7 @@ + export:: $(RDF_UTIL_SRC_CPPSRCS) $(INTL_UNICHARUTIL_UTIL_CPPSRCS) + $(INSTALL) $^ . + +-EXTRA_DSO_LDOPTS += $(LIBS_DIR) $(EXTRA_DSO_LIBS) ++EXTRA_DSO_LDOPTS += -Wl,--warn-unresolved-symbols -Wl,--as-needed $(LIBS_DIR) $(EXTRA_DSO_LIBS) + + ifdef MOZ_ENABLE_LIBXUL + include $(srcdir)/libxul-rules.mk Added: trunk/www/firefox35/files/patch-xpcom_base_nsStackWalk.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/www/firefox35/files/patch-xpcom_base_nsStackWalk.cpp Tue Aug 17 07:47:26 2010 (r383) @@ -0,0 +1,11 @@ +--- xpcom/base/nsStackWalk.cpp.orig 2010-01-11 23:06:47.000000000 -0500 ++++ xpcom/base/nsStackWalk.cpp 2010-01-11 23:07:29.000000000 -0500 +@@ -1124,7 +1124,7 @@ + #define __USE_GNU + #endif + +-#if defined(HAVE_LIBDL) || defined(XP_MACOSX) ++#if defined(HAVE_LIBDL) || defined(XP_MACOSX) || defined(__FreeBSD__) + #include + #endif +