summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjklos <jklos>2013-10-29 17:34:04 +0000
committerjklos <jklos>2013-10-29 17:34:04 +0000
commitf7d8454874da8a8631152bfc749be4e1a3c3a7cd (patch)
tree745d66fe5764c55dd17c74f2818b4a3338e2d024 /devel
parent1bb9e1aab0acab52603674f015d0ae99c67c3b06 (diff)
downloadpkgsrc-f7d8454874da8a8631152bfc749be4e1a3c3a7cd.tar.gz
Skip NaN on VAX.
Diffstat (limited to 'devel')
-rw-r--r--devel/m4/distinfo3
-rw-r--r--devel/m4/patches/patch-isnan.c13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/m4/distinfo b/devel/m4/distinfo
index 0173c4ea393..2ff86007b58 100644
--- a/devel/m4/distinfo
+++ b/devel/m4/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.38 2013/10/04 21:02:11 wiz Exp $
+$NetBSD: distinfo,v 1.39 2013/10/29 17:34:04 jklos Exp $
SHA1 (m4-1.4.17.tar.gz) = 4f80aed6d8ae3dacf97a0cb6e989845269e342f0
RMD160 (m4-1.4.17.tar.gz) = d81675f1d358ce5eee27184a9d946acfc97a912b
Size (m4-1.4.17.tar.gz) = 1820658 bytes
SHA1 (patch-ab) = 9e9527cdd4b7ba3501d603f0e5ca60c2150e4359
+SHA1 (patch-isnan.c) = a960f35e5168bed47c5924e36bfb254dc1a44621
SHA1 (patch-lib_stdio.in.h) = cc5a8572e274b576a154c7a6b14f0a14de5abacd
diff --git a/devel/m4/patches/patch-isnan.c b/devel/m4/patches/patch-isnan.c
new file mode 100644
index 00000000000..2f90584dce7
--- /dev/null
+++ b/devel/m4/patches/patch-isnan.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-isnan.c,v 1.1 2013/10/29 17:34:04 jklos Exp $
+
+--- lib/isnan.c.orig 2013-09-22 06:15:20.000000000 +0000
++++ lib/isnan.c
+@@ -118,7 +118,7 @@ FUNC (DOUBLE x)
+ /* Be careful to not do any floating-point operation on x, such as x == x,
+ because x may be a signaling NaN. */
+ # if defined __SUNPRO_C || defined __ICC || defined _MSC_VER \
+- || defined __DECC || defined __TINYC__ \
++ || defined __DECC || defined __TINYC__ || defined __vax__ \
+ || (defined __sgi && !defined __GNUC__)
+ /* The Sun C 5.0, Intel ICC 10.0, Microsoft Visual C/C++ 9.0, Compaq (ex-DEC)
+ 6.4, and TinyCC compilers don't recognize the initializers as constant