From 691186619011680bd287c7e25542a1f37dc03b66 Mon Sep 17 00:00:00 2001 From: schwarz Date: Sat, 7 Apr 2012 15:14:04 +0000 Subject: corrected patch-lib_isnan.c to correctly terminate with a '\' the line within a multi-line statement. Gcc does not seem to care about this, however for Sun cc the missing '\' broke things. --- devel/bison/distinfo | 4 ++-- devel/bison/patches/patch-lib_isnan.c | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'devel/bison') diff --git a/devel/bison/distinfo b/devel/bison/distinfo index fcabb2be2bd..b775d3d9df8 100644 --- a/devel/bison/distinfo +++ b/devel/bison/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.28 2012/03/15 07:50:21 jklos Exp $ +$NetBSD: distinfo,v 1.29 2012/04/07 15:14:04 schwarz 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 +SHA1 (patch-lib_isnan.c) = 54b2cffb30a4aea827d7f9262e8e4e3efb8f1fe3 diff --git a/devel/bison/patches/patch-lib_isnan.c b/devel/bison/patches/patch-lib_isnan.c index bdd46795efc..b8ce1d5ac47 100644 --- a/devel/bison/patches/patch-lib_isnan.c +++ b/devel/bison/patches/patch-lib_isnan.c @@ -1,11 +1,13 @@ -$NetBSD: patch-lib_isnan.c,v 1.1 2012/03/15 07:50:22 jklos Exp $ +$NetBSD: patch-lib_isnan.c,v 1.2 2012/04/07 15:14:04 schwarz Exp $ ---- lib/isnan.c.orig 2011-04-16 19:08:41.000000000 +0000 -+++ lib/isnan.c -@@ -119,6 +119,7 @@ FUNC (DOUBLE x) +--- lib/isnan.c.orig 2011-04-16 21:08:41.000000000 +0200 ++++ lib/isnan.c 2012-04-06 16:16:04.995001524 +0200 +@@ -118,7 +118,8 @@ + /* Be careful to not do any floating-point operation on x, such as x == x, because x may be a signaling NaN. */ # if defined __TINYC__ || defined __SUNPRO_C || defined __DECC \ - || (defined __sgi && !defined __GNUC__) || defined __ICC +- || (defined __sgi && !defined __GNUC__) || defined __ICC ++ || (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 -- cgit v1.2.3