summaryrefslogtreecommitdiff
path: root/cad/gnucap/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gnucap/patches/patch-ah')
-rw-r--r--cad/gnucap/patches/patch-ah15
1 files changed, 15 insertions, 0 deletions
diff --git a/cad/gnucap/patches/patch-ah b/cad/gnucap/patches/patch-ah
new file mode 100644
index 00000000000..c465030b937
--- /dev/null
+++ b/cad/gnucap/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.1 2005/12/20 12:02:15 joerg Exp $
+
+--- src/test_isinf.cc.orig 2005-12-13 15:37:57.000000000 +0000
++++ src/test_isinf.cc
+@@ -1,5 +1,7 @@
+-#include "md.h"
+-void foo()
++#include <math.h>
++
++double val;
++int foo()
+ {
+- double x = isnan(2.3);
++ return isinf(val);
+ }