summaryrefslogtreecommitdiff
path: root/converters/wv2
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-11-08 13:52:58 +0000
committerjoerg <joerg@pkgsrc.org>2005-11-08 13:52:58 +0000
commit2494eec21a9919b44ce475c78b1d0d0380f7f5b7 (patch)
tree27296d824b5d99bc020170fd82ae6517a9b2c66e /converters/wv2
parentcabe7802c6a4da9f1e8515793214f054cd6a5468 (diff)
downloadpkgsrc-2494eec21a9919b44ce475c78b1d0d0380f7f5b7.tar.gz
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 (limited to 'converters/wv2')
-rw-r--r--converters/wv2/distinfo4
-rw-r--r--converters/wv2/patches/patch-aa27
2 files changed, 28 insertions, 3 deletions
diff --git a/converters/wv2/distinfo b/converters/wv2/distinfo
index 63effbd337a..e40b48896d7 100644
--- a/converters/wv2/distinfo
+++ b/converters/wv2/distinfo
@@ -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 --git a/converters/wv2/patches/patch-aa b/converters/wv2/patches/patch-aa
index 18830e30daf..c016b8638ec 100644
--- a/converters/wv2/patches/patch-aa
+++ b/converters/wv2/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1 2004/11/18 10:20:00 shannonjr Exp $
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