diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-24 19:35:26 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-24 19:35:26 +0000 |
commit | aafdd14e046e718837f7b743c93fc9f8293a26e9 (patch) | |
tree | ae33bf492e74b0e4c9a7cc37cf0d931fe57a4850 /lang/spidermonkey/patches/patch-af | |
parent | 3f62200243e2b4b86e80c55c07ed36ddbf561ee3 (diff) | |
download | pkgsrc-aafdd14e046e718837f7b743c93fc9f8293a26e9.tar.gz |
Added a patch that disables fdlibm on all platforms, since the latter is
not in pkgsrc and therefore not generally available.
PKGREVISION++
Diffstat (limited to 'lang/spidermonkey/patches/patch-af')
-rw-r--r-- | lang/spidermonkey/patches/patch-af | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/spidermonkey/patches/patch-af b/lang/spidermonkey/patches/patch-af new file mode 100644 index 00000000000..2ed72c38af6 --- /dev/null +++ b/lang/spidermonkey/patches/patch-af @@ -0,0 +1,23 @@ +$NetBSD: patch-af,v 1.1 2007/01/24 19:35:26 rillig Exp $ + +Only define JS_USE_FDLIBM_MATH if the user (generally) or pkgsrc (in +this case) hasn't decided. + +--- jslibmath.h.orig 2003-11-15 01:10:57.000000000 +0100 ++++ jslibmath.h 2007-01-24 20:38:03.000000000 +0100 +@@ -54,6 +54,7 @@ + * by default since there can be problems with endian-ness and such. + */ + ++#if !defined(JS_USE_FDLIBM_MATH) + #if defined(_WIN32) && !defined(__MWERKS__) + #define JS_USE_FDLIBM_MATH 1 + +@@ -82,6 +83,7 @@ + #else + #define JS_USE_FDLIBM_MATH 0 + #endif ++#endif + + #if !JS_USE_FDLIBM_MATH + |