Thu Mar 15 07:50:22 2012 UTC ()
Fix definition of NaN on VAX.


(jklos)
diff -r1.27 -r1.28 pkgsrc/devel/bison/distinfo
diff -r0 -r1.1 pkgsrc/devel/bison/patches/patch-lib_isnan.c

cvs diff -r1.27 -r1.28 pkgsrc/devel/bison/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/bison/distinfo 2011/08/06 17:15:43 1.27
+++ pkgsrc/devel/bison/distinfo 2012/03/15 07:50:21 1.28
@@ -1,7 +1,8 @@ @@ -1,7 +1,8 @@
1$NetBSD: distinfo,v 1.27 2011/08/06 17:15:43 wiz Exp $ 1$NetBSD: distinfo,v 1.28 2012/03/15 07:50:21 jklos Exp $
2 2
3SHA1 (bison-2.5.tar.bz2) = 907319624fe4f4c5f9e2c3e23601041ac636ae31 3SHA1 (bison-2.5.tar.bz2) = 907319624fe4f4c5f9e2c3e23601041ac636ae31
4RMD160 (bison-2.5.tar.bz2) = 9f90e477c9c397a8b136aa7bcee887767d94eea7 4RMD160 (bison-2.5.tar.bz2) = 9f90e477c9c397a8b136aa7bcee887767d94eea7
5Size (bison-2.5.tar.bz2) = 2030863 bytes 5Size (bison-2.5.tar.bz2) = 2030863 bytes
6SHA1 (patch-aa) = 7e83fa995e9406a67811b56fff2a25ef0feb06cf 6SHA1 (patch-aa) = 7e83fa995e9406a67811b56fff2a25ef0feb06cf
7SHA1 (patch-doc_Makefile.in) = 11371a773019ada76396d36334abc6c8cac75ec6 7SHA1 (patch-doc_Makefile.in) = 11371a773019ada76396d36334abc6c8cac75ec6
 8SHA1 (patch-lib_isnan.c) = 9f45d96cac3f861834f0dcba1430abd17813b48e

File Added: pkgsrc/devel/bison/patches/patch-lib_isnan.c
$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