pkgsrc/devel/m4/patches/patch-aa
wiz 53f0fe8956 Update to 1.4.16:
* Noteworthy changes in release 1.4.16 (2011-03-01) [stable]

** Fix regressions in the `index' builtin.  On glibc platforms, this
   avoids false positives from a strstr bug in glibc 2.9 through 2.12;
   on many other platforms, it fixes two separate regressions, a false
   positive introduced in 1.4.11 and a false negative in 1.4.15.

** A number of portability improvements inherited from gnulib.
2011-03-16 14:31:46 +00:00

13 lines
736 B
Text

$NetBSD: patch-aa,v 1.14 2011/03/16 14:31:46 wiz Exp $
--- lib/isnan.c.orig 2011-03-01 16:39:28.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 __TINYC__ || defined __SUNPRO_C || defined __DECC \
- || (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
also fails when constant-folding 0.0 / 0.0 even when constant-folding is