pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/wv2 Let us repeat: isnan is not a function....
details: https://anonhg.NetBSD.org/pkgsrc/rev/c432b227f689
branches: trunk
changeset: 502694:c432b227f689
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Nov 08 13:52:58 2005 +0000
description:
Let us repeat: isnan is not a function. It does not have external
linkage for C99, so don't try to detect it as such.
diffstat:
converters/wv2/distinfo | 4 ++--
converters/wv2/patches/patch-aa | 27 ++++++++++++++++++++++++++-
2 files changed, 28 insertions(+), 3 deletions(-)
diffs (50 lines):
diff -r d1bb82a34a3b -r c432b227f689 converters/wv2/distinfo
--- a/converters/wv2/distinfo Tue Nov 08 13:47:40 2005 +0000
+++ b/converters/wv2/distinfo Tue Nov 08 13:52:58 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 16:12:35 agc Exp $
+$NetBSD: distinfo,v 1.4 2005/11/08 13:52:58 joerg Exp $
SHA1 (wv2-0.2.2.tar.bz2) = d8baf4bbc79c7f18feb69f2237325d4b533bdbb5
RMD160 (wv2-0.2.2.tar.bz2) = 87c2b7563652c3e3f640931b4b75bad54a2703fa
Size (wv2-0.2.2.tar.bz2) = 672700 bytes
-SHA1 (patch-aa) = 5f22fcaf0a364b02f062c58a3d837b8e305ae8a0
+SHA1 (patch-aa) = d4dc1b7bd4c398a2d5065d1b55c7e0b6313e3003
diff -r d1bb82a34a3b -r c432b227f689 converters/wv2/patches/patch-aa
--- a/converters/wv2/patches/patch-aa Tue Nov 08 13:47:40 2005 +0000
+++ b/converters/wv2/patches/patch-aa Tue Nov 08 13:52:58 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1 2004/11/18 10:20:00 shannonjr Exp $
+$NetBSD: patch-aa,v 1.2 2005/11/08 13:52:58 joerg Exp $
--- configure.orig 2004-05-09 14:23:32.000000000 -0600
+++ configure
@@ -31,3 +31,28 @@
echo "$as_me:$LINENO: checking whether $CXX supports -Wundef" >&5
echo $ECHO_N "checking whether $CXX supports -Wundef... $ECHO_C" >&6
+@@ -13961,6 +13961,7 @@ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
++#include <math.h>
+
+ /* Override any gcc2 internal prototype to avoid an error. */
+ #ifdef __cplusplus
+@@ -13968,13 +13969,12 @@ extern "C"
+ #endif
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+-char isnan ();
++double val = 0.0;
++
+ int
+ main ()
+ {
+-isnan ();
+- ;
+- return 0;
++ return isnan (val);
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
Home |
Main Index |
Thread Index |
Old Index