diff options
author | rillig <rillig> | 2007-01-24 19:35:26 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-01-24 19:35:26 +0000 |
commit | 5d4c322144485a141a73cd70e5c9848ab8112f56 (patch) | |
tree | ae33bf492e74b0e4c9a7cc37cf0d931fe57a4850 /lang/spidermonkey | |
parent | 8289aecf31b6c3e2728c54a930b5d4738aeebf7f (diff) | |
download | pkgsrc-5d4c322144485a141a73cd70e5c9848ab8112f56.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')
-rw-r--r-- | lang/spidermonkey/Makefile | 5 | ||||
-rw-r--r-- | lang/spidermonkey/distinfo | 3 | ||||
-rw-r--r-- | lang/spidermonkey/patches/patch-af | 23 |
3 files changed, 28 insertions, 3 deletions
diff --git a/lang/spidermonkey/Makefile b/lang/spidermonkey/Makefile index 187b8749e21..1f3322fee75 100644 --- a/lang/spidermonkey/Makefile +++ b/lang/spidermonkey/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2006/12/05 18:04:18 tron Exp $ +# $NetBSD: Makefile,v 1.13 2007/01/24 19:35:26 rillig Exp $ DISTNAME= js-1.5 PKGNAME= ${DISTNAME:S/js/spidermonkey/} -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_MOZILLA:=js/} @@ -15,6 +15,7 @@ WRKSRC= ${WRKDIR}/js/src NO_CONFIGURE= yes USE_TOOLS+= gmake MAKE_FILE= Makefile.ref +CFLAGS+= -DJS_USE_FDLIBM_MATH=0 # JS_THREADSAFE PTHREAD_AUTO_VARS= yes diff --git a/lang/spidermonkey/distinfo b/lang/spidermonkey/distinfo index 2b2087043d7..bab154c23dd 100644 --- a/lang/spidermonkey/distinfo +++ b/lang/spidermonkey/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2006/12/05 18:04:18 tron Exp $ +$NetBSD: distinfo,v 1.8 2007/01/24 19:35:26 rillig Exp $ SHA1 (js-1.5.tar.gz) = 707755be3a94207d5d10ccd1011ca00babe0a689 RMD160 (js-1.5.tar.gz) = a1f23d53c259a9fa354f29eecdc1c56472f4f626 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 25de332b3ec78da45727cedf33f695caee416519 SHA1 (patch-ac) = f115560c19852b658ee7b008338a42858c5239ef SHA1 (patch-ad) = 80550041ceb7f067d1b4bca1eb471b5bd6c59a7a SHA1 (patch-ae) = 22effe11d88ad370074ae547882959f6d1a765bb +SHA1 (patch-af) = a2f144828b85d600eb32c3b024b4ba0f00c44c52 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 + |