pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/spidermonkey17



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Sep  5 11:43:23 UTC 2016

Modified Files:
        pkgsrc/lang/spidermonkey17: distinfo
        pkgsrc/lang/spidermonkey17/patches: patch-js_src_jscpucfg.h

Log Message:
Support illumos endian.h


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/spidermonkey17/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/spidermonkey17/patches/patch-js_src_jscpucfg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/spidermonkey17/distinfo
diff -u pkgsrc/lang/spidermonkey17/distinfo:1.2 pkgsrc/lang/spidermonkey17/distinfo:1.3
--- pkgsrc/lang/spidermonkey17/distinfo:1.2     Tue Aug 30 07:45:51 2016
+++ pkgsrc/lang/spidermonkey17/distinfo Mon Sep  5 11:43:23 2016
@@ -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-bd) = c8ed2110c8b699d6880723
 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

Index: pkgsrc/lang/spidermonkey17/patches/patch-js_src_jscpucfg.h
diff -u pkgsrc/lang/spidermonkey17/patches/patch-js_src_jscpucfg.h:1.1 pkgsrc/lang/spidermonkey17/patches/patch-js_src_jscpucfg.h:1.2
--- pkgsrc/lang/spidermonkey17/patches/patch-js_src_jscpucfg.h:1.1      Fri May 20 18:45:22 2016
+++ pkgsrc/lang/spidermonkey17/patches/patch-js_src_jscpucfg.h  Mon Sep  5 11:43:23 2016
@@ -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 @@ $NetBSD: patch-js_src_jscpucfg.h,v 1.1 2
  #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