pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
spidermonkey17: Fix build on SunOS
Module Name: pkgsrc-wip
Committed By: youri <youri%NetBSD.org@localhost>
Pushed By: youri
Date: Fri Apr 22 12:16:46 2016 +0200
Changeset: 461a08f3907c10b8791b85a1f6abc91c1ddef646
Modified Files:
spidermonkey17/distinfo
Added Files:
spidermonkey17/patches/patch-js_src_jsmath.cpp
Log Message:
spidermonkey17: Fix build on SunOS
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=461a08f3907c10b8791b85a1f6abc91c1ddef646
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
spidermonkey17/distinfo | 2 ++
spidermonkey17/patches/patch-js_src_jsmath.cpp | 15 +++++++++++++++
2 files changed, 17 insertions(+)
diffs:
diff --git a/spidermonkey17/distinfo b/spidermonkey17/distinfo
index ad7ec24..19db1f0 100644
--- a/spidermonkey17/distinfo
+++ b/spidermonkey17/distinfo
@@ -2,6 +2,7 @@ $NetBSD: distinfo,v 1.3 2015/04/10 11:43:49 krytarowski Exp $
SHA1 (mozjs17.0.0.tar.gz) = 7805174898c34e5d3c3b256117af9944ba825c89
RMD160 (mozjs17.0.0.tar.gz) = 2fa3a891da2a7a09019f67c1555c03bcdc51e6c5
+SHA512 (mozjs17.0.0.tar.gz) = 39b68aeb9f712f146778d8b68ee795709a1372c8ab893a222af4eb34882427d6f5cf877e743d6cb2f1b4348c194d8f3774f00cb775b03515b34b49560b748be4
Size (mozjs17.0.0.tar.gz) = 6778934 bytes
SHA1 (patch-ak) = 7cebf3e58ad14598fbe98c3d730c8a548c0bda1e
SHA1 (patch-as) = c8e3aa309ae5115a8f4c17d477674f93afead538
@@ -12,5 +13,6 @@ SHA1 (patch-js_src_config_system-headers) = a9c5bc2d2c822eb3bd5e8f4ba43407f89b57
SHA1 (patch-js_src_jscpucfg.h) = afce65ca5964fb732d96cf22902f89cd02aedf0d
SHA1 (patch-js_src_jsgc.cpp) = 0e617094a4b7d87cdf801d9bc4ac1f52d909a12a
SHA1 (patch-js_src_jsinterp.cpp) = bee8bdde7dd951dbfbe5b049eb502f7412fbf8e6
+SHA1 (patch-js_src_jsmath.cpp) = 04b0081e5abc1de3df5bdfc78db3971fe77da3d4
SHA1 (patch-js_src_methodjit_MethodJIT.cpp) = f2b12fa554ec319b5848b1cc13ec17ef967b08d7
SHA1 (patch-ml) = fdb4452a613f7ca185cd6b936538bec9ef97c4c1
diff --git a/spidermonkey17/patches/patch-js_src_jsmath.cpp b/spidermonkey17/patches/patch-js_src_jsmath.cpp
new file mode 100644
index 0000000..35e90dc
--- /dev/null
+++ b/spidermonkey17/patches/patch-js_src_jsmath.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix build on SunOS
+
+--- js/src/jsmath.cpp.orig 2013-02-11 22:33:22.000000000 +0000
++++ js/src/jsmath.cpp
+@@ -196,7 +196,7 @@ math_atan2_kernel(double x, double y)
+
+ #if defined(SOLARIS) && defined(__GNUC__)
+ if (x == 0) {
+- if (MOZ_DOUBLE_IS_NEGZERO(y))
++ if (MOZ_DOUBLE_IS_NEGATIVE_ZERO(y))
+ return js_copysign(M_PI, x);
+ if (y == 0)
+ return x;
Home |
Main Index |
Thread Index |
Old Index