summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjklos <jklos>2012-03-15 07:50:21 +0000
committerjklos <jklos>2012-03-15 07:50:21 +0000
commita036b6385be07848c5ccb3cc62d9f6c539b35645 (patch)
treec8a3dc9f10e3521d065f3c84d5b2f2cbbb245965 /devel
parent6be9be57961971f2f7a7f46d9ccca38e685947c3 (diff)
downloadpkgsrc-a036b6385be07848c5ccb3cc62d9f6c539b35645.tar.gz
Fix definition of NaN on VAX.
Diffstat (limited to 'devel')
-rw-r--r--devel/bison/distinfo3
-rw-r--r--devel/bison/patches/patch-lib_isnan.c12
2 files changed, 14 insertions, 1 deletions
diff --git a/devel/bison/distinfo b/devel/bison/distinfo
index c7efbfe14dd..fcabb2be2bd 100644
--- a/devel/bison/distinfo
+++ b/devel/bison/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.27 2011/08/06 17:15:43 wiz Exp $
+$NetBSD: distinfo,v 1.28 2012/03/15 07:50:21 jklos Exp $
SHA1 (bison-2.5.tar.bz2) = 907319624fe4f4c5f9e2c3e23601041ac636ae31
RMD160 (bison-2.5.tar.bz2) = 9f90e477c9c397a8b136aa7bcee887767d94eea7
Size (bison-2.5.tar.bz2) = 2030863 bytes
SHA1 (patch-aa) = 7e83fa995e9406a67811b56fff2a25ef0feb06cf
SHA1 (patch-doc_Makefile.in) = 11371a773019ada76396d36334abc6c8cac75ec6
+SHA1 (patch-lib_isnan.c) = 9f45d96cac3f861834f0dcba1430abd17813b48e
diff --git a/devel/bison/patches/patch-lib_isnan.c b/devel/bison/patches/patch-lib_isnan.c
new file mode 100644
index 00000000000..bdd46795efc
--- /dev/null
+++ b/devel/bison/patches/patch-lib_isnan.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-lib_isnan.c,v 1.1 2012/03/15 07:50:22 jklos Exp $
+
+--- lib/isnan.c.orig 2011-04-16 19:08:41.000000000 +0000
++++ lib/isnan.c
+@@ -119,6 +119,7 @@ FUNC (DOUBLE x)
+ because x may be a signaling NaN. */
+ # if defined __TINYC__ || defined __SUNPRO_C || defined __DECC \
+ || (defined __sgi && !defined __GNUC__) || defined __ICC
++ || defined __vax__
+ /* The Sun C 5.0, Intel ICC 10.0, and Compaq (ex-DEC) 6.4 compilers don't
+ recognize the initializers as constant expressions. The latter compiler
+ also fails when constant-folding 0.0 / 0.0 even when constant-folding is