aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2010-08-29 23:17:43 +0800
committerbeat <beat@FreeBSD.org>2010-08-29 23:17:43 +0800
commit4cff29ca061270315af89c44898b40fc0d8feaeb (patch)
treec36b4c0ee0db15af9bc468f032dd02f1f7fc9adb /www
parent162d30caa3a657791c425802c69b8e886016a92b (diff)
downloadfreebsd-ports-gnome-4cff29ca061270315af89c44898b40fc0d8feaeb.tar.gz
freebsd-ports-gnome-4cff29ca061270315af89c44898b40fc0d8feaeb.tar.zst
freebsd-ports-gnome-4cff29ca061270315af89c44898b40fc0d8feaeb.zip
- Unbreak with recent versions of GCC
PR: ports/142736 Submitted by: bf <bf1783 AT gmail.com>
Diffstat (limited to 'www')
-rw-r--r--www/firefox-esr/files/patch-js_src_jsnum.cpp12
-rw-r--r--www/firefox-esr/files/patch-toolkit_library_Makefile.in11
-rw-r--r--www/firefox-esr/files/patch-xpcom_base_nsStackWalk.cpp11
-rw-r--r--www/firefox/files/patch-js_src_jsnum.cpp12
-rw-r--r--www/firefox/files/patch-toolkit_library_Makefile.in11
-rw-r--r--www/firefox/files/patch-xpcom_base_nsStackWalk.cpp11
-rw-r--r--www/firefox35/files/patch-toolkit_library_Makefile.in11
-rw-r--r--www/firefox35/files/patch-xpcom_base_nsStackWalk.cpp11
-rw-r--r--www/firefox36/files/patch-js_src_jsnum.cpp12
-rw-r--r--www/firefox36/files/patch-toolkit_library_Makefile.in11
-rw-r--r--www/firefox36/files/patch-xpcom_base_nsStackWalk.cpp11
11 files changed, 109 insertions, 15 deletions
diff --git a/www/firefox-esr/files/patch-js_src_jsnum.cpp b/www/firefox-esr/files/patch-js_src_jsnum.cpp
index cf29e7c9a869..c997f4c6b8ba 100644
--- a/www/firefox-esr/files/patch-js_src_jsnum.cpp
+++ b/www/firefox-esr/files/patch-js_src_jsnum.cpp
@@ -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 <fenv.h>
-+#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT))
-+
++#define FIX_FPU() ((void)fedisableexcept(FE_ALL_EXCEPT))
+#else
+
#define FIX_FPU() ((void)0)
diff --git a/www/firefox-esr/files/patch-toolkit_library_Makefile.in b/www/firefox-esr/files/patch-toolkit_library_Makefile.in
new file mode 100644
index 000000000000..d905acd5bf67
--- /dev/null
+++ b/www/firefox-esr/files/patch-toolkit_library_Makefile.in
@@ -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
diff --git a/www/firefox-esr/files/patch-xpcom_base_nsStackWalk.cpp b/www/firefox-esr/files/patch-xpcom_base_nsStackWalk.cpp
new file mode 100644
index 000000000000..3485b1509ad1
--- /dev/null
+++ b/www/firefox-esr/files/patch-xpcom_base_nsStackWalk.cpp
@@ -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 <dlfcn.h>
+ #endif
+
diff --git a/www/firefox/files/patch-js_src_jsnum.cpp b/www/firefox/files/patch-js_src_jsnum.cpp
index cf29e7c9a869..c997f4c6b8ba 100644
--- a/www/firefox/files/patch-js_src_jsnum.cpp
+++ b/www/firefox/files/patch-js_src_jsnum.cpp
@@ -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 <fenv.h>
-+#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT))
-+
++#define FIX_FPU() ((void)fedisableexcept(FE_ALL_EXCEPT))
+#else
+
#define FIX_FPU() ((void)0)
diff --git a/www/firefox/files/patch-toolkit_library_Makefile.in b/www/firefox/files/patch-toolkit_library_Makefile.in
new file mode 100644
index 000000000000..d905acd5bf67
--- /dev/null
+++ b/www/firefox/files/patch-toolkit_library_Makefile.in
@@ -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
diff --git a/www/firefox/files/patch-xpcom_base_nsStackWalk.cpp b/www/firefox/files/patch-xpcom_base_nsStackWalk.cpp
new file mode 100644
index 000000000000..3485b1509ad1
--- /dev/null
+++ b/www/firefox/files/patch-xpcom_base_nsStackWalk.cpp
@@ -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 <dlfcn.h>
+ #endif
+
diff --git a/www/firefox35/files/patch-toolkit_library_Makefile.in b/www/firefox35/files/patch-toolkit_library_Makefile.in
new file mode 100644
index 000000000000..5a6726c3bef7
--- /dev/null
+++ b/www/firefox35/files/patch-toolkit_library_Makefile.in
@@ -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
diff --git a/www/firefox35/files/patch-xpcom_base_nsStackWalk.cpp b/www/firefox35/files/patch-xpcom_base_nsStackWalk.cpp
new file mode 100644
index 000000000000..c51d22aad3c3
--- /dev/null
+++ b/www/firefox35/files/patch-xpcom_base_nsStackWalk.cpp
@@ -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 <dlfcn.h>
+ #endif
+
diff --git a/www/firefox36/files/patch-js_src_jsnum.cpp b/www/firefox36/files/patch-js_src_jsnum.cpp
index cf29e7c9a869..c997f4c6b8ba 100644
--- a/www/firefox36/files/patch-js_src_jsnum.cpp
+++ b/www/firefox36/files/patch-js_src_jsnum.cpp
@@ -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 <fenv.h>
-+#define FIX_FPU() (fedisableexcept(FE_ALL_EXCEPT))
-+
++#define FIX_FPU() ((void)fedisableexcept(FE_ALL_EXCEPT))
+#else
+
#define FIX_FPU() ((void)0)
diff --git a/www/firefox36/files/patch-toolkit_library_Makefile.in b/www/firefox36/files/patch-toolkit_library_Makefile.in
new file mode 100644
index 000000000000..d905acd5bf67
--- /dev/null
+++ b/www/firefox36/files/patch-toolkit_library_Makefile.in
@@ -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
diff --git a/www/firefox36/files/patch-xpcom_base_nsStackWalk.cpp b/www/firefox36/files/patch-xpcom_base_nsStackWalk.cpp
new file mode 100644
index 000000000000..3485b1509ad1
--- /dev/null
+++ b/www/firefox36/files/patch-xpcom_base_nsStackWalk.cpp
@@ -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 <dlfcn.h>
+ #endif
+