summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorrillig <rillig>2007-11-30 19:13:50 +0000
committerrillig <rillig>2007-11-30 19:13:50 +0000
commit3f62179a1d804480b37fb7f27a6dbb0a8f69944b (patch)
tree7434bae8606bf510b44e82a65f752f7e6c1c6595 /math
parent16469fb54c6d258f5c534149d5643f66d7808cfa (diff)
downloadpkgsrc-3f62179a1d804480b37fb7f27a6dbb0a8f69944b.tar.gz
Made the program build with c99 compilers by undefining the "complex"
macro.
Diffstat (limited to 'math')
-rw-r--r--math/meschach/distinfo4
-rw-r--r--math/meschach/patches/patch-ab22
2 files changed, 18 insertions, 8 deletions
diff --git a/math/meschach/distinfo b/math/meschach/distinfo
index 58395078680..9c5d8e6ab41 100644
--- a/math/meschach/distinfo
+++ b/math/meschach/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 12:06:56 agc Exp $
+$NetBSD: distinfo,v 1.5 2007/11/30 19:13:50 rillig Exp $
SHA1 (mesch12b.tar.gz) = a4e052d9512786284faa890bf57b9ae5aaa96a84
RMD160 (mesch12b.tar.gz) = 391bb7786b54f18e8d5f368cd9dc20d1fcb7c63b
Size (mesch12b.tar.gz) = 220668 bytes
SHA1 (patch-aa) = 8a9687ce01e2dd0960604267af6a9f87eb4e306b
-SHA1 (patch-ab) = 5bf405c19105c6d18e2c1318d36ca114b14cd852
+SHA1 (patch-ab) = af6af554e09c58fc2855714527bf1641e58b3145
SHA1 (patch-ac) = 68047257af409d72cd56834109258d576c0b80b8
SHA1 (patch-ad) = 812da331ae588084b724cd2fcd9c687cb890304d
SHA1 (patch-ae) = 81174ede21f1eb57725dc338170edc50a983f08a
diff --git a/math/meschach/patches/patch-ab b/math/meschach/patches/patch-ab
index 4675347697d..9b499796d3a 100644
--- a/math/meschach/patches/patch-ab
+++ b/math/meschach/patches/patch-ab
@@ -1,8 +1,16 @@
-$NetBSD: patch-ab,v 1.2 2001/02/25 21:40:23 jtb Exp $
+$NetBSD: patch-ab,v 1.3 2007/11/30 19:13:51 rillig Exp $
---- machine.h.in.orig Sun Feb 25 21:22:48 2001
-+++ machine.h.in
-@@ -211,11 +211,13 @@
+--- machine.h.in.orig 1995-03-27 15:37:41.000000000 +0000
++++ machine.h.in 2007-11-30 19:10:05.000000000 +0000
+@@ -119,6 +119,7 @@
+ /* if the system has complex.h */
+ #ifdef HAVE_COMPLEX_H
+ #include <complex.h>
++#undef complex /* zmachine.h defines a structure of that name. */
+ #endif
+
+ /* If prototypes are available & ANSI_C not yet defined, then define it,
+@@ -211,6 +212,7 @@
#endif
/* for non-ANSI systems */
@@ -10,9 +18,11 @@ $NetBSD: patch-ab,v 1.2 2001/02/25 21:40:23 jtb Exp $
#ifndef HUGE_VAL
#define HUGE_VAL HUGE
#else
- #ifndef HUGE
+@@ -218,6 +220,7 @@
#define HUGE HUGE_VAL
-+#endif
#endif
#endif
++#endif
+
+ #ifdef ANSI_C