pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/m4 Skip NaN on VAX.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dfc34ff8ae7a
branches:  trunk
changeset: 625987:dfc34ff8ae7a
user:      jklos <jklos%pkgsrc.org@localhost>
date:      Tue Oct 29 17:34:04 2013 +0000

description:
Skip NaN on VAX.

diffstat:

 devel/m4/distinfo              |   3 ++-
 devel/m4/patches/patch-isnan.c |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 0a15cc80f955 -r dfc34ff8ae7a devel/m4/distinfo
--- a/devel/m4/distinfo Tue Oct 29 16:04:45 2013 +0000
+++ b/devel/m4/distinfo Tue Oct 29 17:34:04 2013 +0000
@@ -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 -r 0a15cc80f955 -r dfc34ff8ae7a devel/m4/patches/patch-isnan.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/m4/patches/patch-isnan.c    Tue Oct 29 17:34:04 2013 +0000
@@ -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



Home | Main Index | Thread Index | Old Index