openbsd-ports/www/seamonkey/patches/patch-mozilla_js_src_jsnum_h
landry 7fb16329b9 Major update to seamonkey 2.0.4, now built upon mozilla-1.9.1/firefox
3.5/thunderbird 3 codebase. See for details:
http://www.seamonkey-project.org/releases/seamonkey2.0.4/
Backing up your profile before upgrading is recommended..
Update also largely based on www/firefox35 port.
Tested on i386/amd64/sparc64/powerpc by myself and on alpha by naddy@

ok naddy@
2010-04-03 09:30:14 +00:00

13 lines
498 B
Plaintext

$OpenBSD: patch-mozilla_js_src_jsnum_h,v 1.1 2010/04/03 09:30:14 landry Exp $
--- mozilla/js/src/jsnum.h.orig Sat Dec 5 02:56:02 2009
+++ mozilla/js/src/jsnum.h Sat Jan 16 16:28:34 2010
@@ -57,7 +57,7 @@ JS_BEGIN_EXTERN_C
* the high and low words are in big endian order).
*/
#if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
-#if !defined(__VFP_FP__)
+#if !defined(__VFP_FP__) && !defined(__OpenBSD__) /* Armel ABI */
#define FPU_IS_ARM_FPA
#endif
#endif