- Fixes MFSA 2012-12->19 - see http://www.mozilla.org/en-US/firefox/11.0/releasenotes/ - complete patchset for #691898, still fixes build on ppc (and hopefully commited in firefox 14...) - add patchset from #706955, workarounds #669050 (xpcshell hangs during make install and chokes on CSPUtils.csm, threads related..) - remove obsolete/commited patches
30 lines
927 B
Plaintext
30 lines
927 B
Plaintext
$OpenBSD: patch-js_src_jscpucfg_h,v 1.2 2012/03/16 21:31:24 landry Exp $
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=714312
|
|
https://hg.mozilla.org/mozilla-central/rev/9cfdb612a026
|
|
--- js/src/jscpucfg.h.orig Thu Feb 2 00:39:08 2012
|
|
+++ js/src/jscpucfg.h Tue Feb 14 18:42:12 2012
|
|
@@ -92,6 +92,23 @@
|
|
# error "endian.h does not define __BYTE_ORDER. Cannot determine endianness."
|
|
# endif
|
|
|
|
+/* BSDs */
|
|
+#elif defined(JS_HAVE_MACHINE_ENDIAN_H)
|
|
+# include <sys/types.h>
|
|
+# include <machine/endian.h>
|
|
+
|
|
+# if defined(_BYTE_ORDER)
|
|
+# if _BYTE_ORDER == _LITTLE_ENDIAN
|
|
+# define IS_LITTLE_ENDIAN 1
|
|
+# undef IS_BIG_ENDIAN
|
|
+# elif _BYTE_ORDER == _BIG_ENDIAN
|
|
+# undef IS_LITTLE_ENDIAN
|
|
+# define IS_BIG_ENDIAN 1
|
|
+# endif
|
|
+# else /* !defined(_BYTE_ORDER) */
|
|
+# error "machine/endian.h does not define _BYTE_ORDER. Cannot determine endianness."
|
|
+# endif
|
|
+
|
|
#elif defined(JS_HAVE_SYS_ISA_DEFS_H)
|
|
# include <sys/isa_defs.h>
|
|
|