summaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-bug351181
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-09-07 22:10:01 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-09-07 22:10:01 +0000
commit9e2d4844cf86e9e0c1fee084c644a471b97d4d89 (patch)
tree260671c3ea7a2a410e3f9cc7f050e3a71604a633 /www/firefox/files/patch-bug351181
parentAdd a sanity check to ensure vuxml is actually installed prior to performing (diff)
- Update firefox to 15.0.1
- Sync changes from gecko repository@r995 general - don't specify prefix for libevent when using pkg-config - ia64 and sparc64 use 8k pagesize by default - add visibility hack for clang 3.2 with libc++ - fix build using clang 3.2 (on FreeBSD 10-CURRENT) - rename a few more patches to ease tracking of bugzilla bugs www/seamonkey - unbreak unsetting LDAP and MAILNEWS options after bug 707305 - use compile time debugging WITH_DEBUG security/nss - unbreak install WITH_DEBUG - unbreak powerpc64 devel/nspr - use absolute paths when specifiying srcdir to make gdb(1) happy In collaboration with: andreast, zeising, Jan Beich <jbeich@tormail.org>
Diffstat (limited to 'www/firefox/files/patch-bug351181')
-rw-r--r--www/firefox/files/patch-bug35118131
1 files changed, 31 insertions, 0 deletions
diff --git a/www/firefox/files/patch-bug351181 b/www/firefox/files/patch-bug351181
new file mode 100644
index 000000000000..f47838638257
--- /dev/null
+++ b/www/firefox/files/patch-bug351181
@@ -0,0 +1,31 @@
+--- 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
+@@ -49,6 +49,9 @@
+ // Avoid warnings about ASSERT being defined by the assembler as well.
+ #undef ASSERT
+
++#if defined(__FreeBSD__)
++#include <sys/param.h>
++#endif
+ #ifdef XP_OS2
+ #define _PC_53 PC_53
+ #define _MCW_EM MCW_EM
+@@ -691,8 +694,18 @@
+
+ #else
+
++#if defined(__FreeBSD__)
++#if __BSD_VISIBLE == 0
++#error __BSD_VISIBLE is zero, so fedisableexcept is not defined
++#endif
++#include <fenv.h>
++#define FIX_FPU() ((void)fedisableexcept(FE_ALL_EXCEPT))
++#else
++
+ #define FIX_FPU() ((void)0)
+
++#endif /* defined(__FreeBSD__) && __FreeBSD_version >= 503000 */
++
+ #endif
+
+ JSBool