summaryrefslogtreecommitdiff
path: root/cad/ng-spice
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-28 16:06:37 +0000
committerjoerg <joerg>2005-12-28 16:06:37 +0000
commit0a011e3cad2594fef6e643890f821beb4d0f97a3 (patch)
treecce369516d20ee0ca89d6ee83e1afe14f192dc6c /cad/ng-spice
parentca9fa764d43a5a5acfa237d7038bdfc3404d1aaf (diff)
downloadpkgsrc-0a011e3cad2594fef6e643890f821beb4d0f97a3.tar.gz
Don't use the local version if isnan is a macro. I don't want to replace
the stupid^Wbroken configure check at the moment, but this fixes the problem.
Diffstat (limited to 'cad/ng-spice')
-rw-r--r--cad/ng-spice/distinfo4
-rw-r--r--cad/ng-spice/patches/patch-ai13
-rw-r--r--cad/ng-spice/patches/patch-aj13
3 files changed, 29 insertions, 1 deletions
diff --git a/cad/ng-spice/distinfo b/cad/ng-spice/distinfo
index be432505006..1658013a126 100644
--- a/cad/ng-spice/distinfo
+++ b/cad/ng-spice/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2005/11/17 13:17:56 dmcmahill Exp $
+$NetBSD: distinfo,v 1.11 2005/12/28 16:06:37 joerg Exp $
SHA1 (ng-spice-rework-17.tar.gz) = 5ce17a6dff309fae069e0b1e7309eb1c16b4671b
RMD160 (ng-spice-rework-17.tar.gz) = 2345cbdb608bfb182d33c1a6497408b22acffb77
@@ -11,3 +11,5 @@ SHA1 (patch-ae) = 0a238d948c3cafeeda9986c8798a03b213c3aa6f
SHA1 (patch-af) = d0b29fadc1c2ac56b0f0700e9c822ce9fcb96090
SHA1 (patch-ag) = 4cc9952823421b57fffb512e6d50483f706a5211
SHA1 (patch-ah) = f76c5c400ee588f482211997f2d405811b945518
+SHA1 (patch-ai) = 874de21ac028eeaf1eada3fa78563a2383d6b3f1
+SHA1 (patch-aj) = 6555ae3e2e8f8c63795334e192a6d7c149afc164
diff --git a/cad/ng-spice/patches/patch-ai b/cad/ng-spice/patches/patch-ai
new file mode 100644
index 00000000000..b18473134a1
--- /dev/null
+++ b/cad/ng-spice/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2005/12/28 16:06:37 joerg Exp $
+
+--- src/misc/missing_math.c.orig 2005-12-28 15:49:50.000000000 +0000
++++ src/misc/missing_math.c
+@@ -100,7 +100,7 @@ erfc(double x)
+
+
+
+-#ifndef HAVE_ISNAN
++#if !defined(HAVE_ISNAN) && !defined(isnan)
+ /* isnan (originally) for SOI devices in MINGW32 hvogt (dev.c) */
+
+ union ieee754_double
diff --git a/cad/ng-spice/patches/patch-aj b/cad/ng-spice/patches/patch-aj
new file mode 100644
index 00000000000..3e0b7ac3e38
--- /dev/null
+++ b/cad/ng-spice/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2005/12/28 16:06:37 joerg Exp $
+
+--- src/misc/missing_math.h.orig 2005-12-28 15:49:19.000000000 +0000
++++ src/misc/missing_math.h
+@@ -20,7 +20,7 @@ double scalb(double, int);
+ # endif
+ #endif
+
+-#ifndef HAVE_ISNAN
++#if !defined(HAVE_ISNAN) && !defined(isnan)
+ int isnan(double value);
+ #endif /* HAVE_ISNAN */
+