openbsd-ports/devel/xulrunner/1.8/patches/patch-js_src_jsnum_h
martynas 2e5d9b5137 import xulrunner 1.9, and implement infrastructure for multiple
xulrunners.  this was necessary for smooth migration, since we want
plugins work for mozilla 1.8 branch too (seamonkey, thunderbird);
they are upwards-compatible if built against 1.8.  however, some
new applications started to depend on 1.9, and also other (non-plugin)
apps will start to migrate so that the old xulrunner can go away
requested by many;  bulk build & pkgpath & bump done by sthen@
2009-07-27 21:35:56 +00:00

13 lines
419 B
Plaintext

$OpenBSD: patch-js_src_jsnum_h,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- js/src/jsnum.h.orig Mon Feb 11 19:56:18 2008
+++ js/src/jsnum.h Mon Feb 11 19:57:23 2008
@@ -61,7 +61,7 @@ JS_BEGIN_EXTERN_C
*/
#if defined(__arm) || defined(__arm32__) || defined(__arm26__) || defined(__arm__)
-#ifndef __QNXNTO__
+#if !defined(__QNXNTO__) && !defined(__OpenBSD__) /* Armel ABI */
#define CPU_IS_ARM
#endif
#endif