pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/spidermonkey17 Support illumos endian.h
details: https://anonhg.NetBSD.org/pkgsrc/rev/f11954b0101b
branches: trunk
changeset: 352050:f11954b0101b
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Sep 05 11:43:23 2016 +0000
description:
Support illumos endian.h
diffstat:
lang/spidermonkey17/distinfo | 4 ++--
lang/spidermonkey17/patches/patch-js_src_jscpucfg.h | 20 ++++++++++++++++++--
2 files changed, 20 insertions(+), 4 deletions(-)
diffs (51 lines):
diff -r 32525887770e -r f11954b0101b lang/spidermonkey17/distinfo
--- a/lang/spidermonkey17/distinfo Mon Sep 05 10:02:45 2016 +0000
+++ b/lang/spidermonkey17/distinfo Mon Sep 05 11:43:23 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2016/08/30 07:45:51 richard Exp $
+$NetBSD: distinfo,v 1.3 2016/09/05 11:43:23 jperkin Exp $
SHA1 (mozjs17.0.0.tar.gz) = 7805174898c34e5d3c3b256117af9944ba825c89
RMD160 (mozjs17.0.0.tar.gz) = 2fa3a891da2a7a09019f67c1555c03bcdc51e6c5
@@ -10,7 +10,7 @@
SHA1 (patch-bf) = 7d18ec3cad441174a71770e7fa22b1cd2029d55b
SHA1 (patch-js_src_config_milestone.pl) = 84dbc588e82ba1a6bcc901abe9b77ba316acac15
SHA1 (patch-js_src_config_system-headers) = a9c5bc2d2c822eb3bd5e8f4ba43407f89b57c009
-SHA1 (patch-js_src_jscpucfg.h) = afce65ca5964fb732d96cf22902f89cd02aedf0d
+SHA1 (patch-js_src_jscpucfg.h) = a65222bcf99e91cd00d6ad40d6fcedd0c3d67ec9
SHA1 (patch-js_src_jsgc.cpp) = 0e617094a4b7d87cdf801d9bc4ac1f52d909a12a
SHA1 (patch-js_src_jsinterp.cpp) = bee8bdde7dd951dbfbe5b049eb502f7412fbf8e6
SHA1 (patch-js_src_jsmath.cpp) = 04b0081e5abc1de3df5bdfc78db3971fe77da3d4
diff -r 32525887770e -r f11954b0101b lang/spidermonkey17/patches/patch-js_src_jscpucfg.h
--- a/lang/spidermonkey17/patches/patch-js_src_jscpucfg.h Mon Sep 05 10:02:45 2016 +0000
+++ b/lang/spidermonkey17/patches/patch-js_src_jscpucfg.h Mon Sep 05 11:43:23 2016 +0000
@@ -1,7 +1,8 @@
-$NetBSD: patch-js_src_jscpucfg.h,v 1.1 2016/05/20 18:45:22 youri Exp $
+$NetBSD: patch-js_src_jscpucfg.h,v 1.2 2016/09/05 11:43:23 jperkin Exp $
+Support alternate endian definitions.
---- js/src/jscpucfg.h.orig 2012-08-24 22:55:40.000000000 +0000
+--- js/src/jscpucfg.h.orig 2013-02-11 22:33:22.000000000 +0000
+++ js/src/jscpucfg.h
@@ -44,6 +44,21 @@
# define IS_BIG_ENDIAN 1
@@ -25,3 +26,18 @@
#elif defined(JS_HAVE_ENDIAN_H)
# include <endian.h>
+@@ -55,6 +70,14 @@
+ # undef IS_LITTLE_ENDIAN
+ # define IS_BIG_ENDIAN 1
+ # endif
++# elif 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 "endian.h does not define __BYTE_ORDER. Cannot determine endianness."
+ # endif
Home |
Main Index |
Thread Index |
Old Index