diff options
Diffstat (limited to 'lang/spidermonkey/patches/patch-ab')
-rw-r--r-- | lang/spidermonkey/patches/patch-ab | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/spidermonkey/patches/patch-ab b/lang/spidermonkey/patches/patch-ab new file mode 100644 index 00000000000..e9458123340 --- /dev/null +++ b/lang/spidermonkey/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.1 2006/02/26 20:36:58 joerg Exp $ + +--- fdlibm/k_standard.c.orig 2006-02-26 20:29:51.000000000 +0000 ++++ fdlibm/k_standard.c +@@ -52,14 +52,7 @@ + + #include "fdlibm.h" + +-/* XXX ugly hack to get msvc to link without error. */ +-#if _LIB_VERSION == _IEEE_ && !(defined(DARWIN) || defined(XP_MACOSX)) +- int errno; +-# define EDOM 0 +-# define ERANGE 0 +-#else +-# include <errno.h> +-#endif ++#include <errno.h> + + + #ifndef _USE_WRITE |