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