pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/meschach Made the program build with c99 compiler...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3973d5404533
branches: trunk
changeset: 535958:3973d5404533
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Nov 30 19:13:50 2007 +0000
description:
Made the program build with c99 compilers by undefining the "complex"
macro.
diffstat:
math/meschach/distinfo | 4 ++--
math/meschach/patches/patch-ab | 22 ++++++++++++++++------
2 files changed, 18 insertions(+), 8 deletions(-)
diffs (54 lines):
diff -r 630883fb894c -r 3973d5404533 math/meschach/distinfo
--- a/math/meschach/distinfo Fri Nov 30 18:54:40 2007 +0000
+++ b/math/meschach/distinfo Fri Nov 30 19:13:50 2007 +0000
@@ -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 -r 630883fb894c -r 3973d5404533 math/meschach/patches/patch-ab
--- a/math/meschach/patches/patch-ab Fri Nov 30 18:54:40 2007 +0000
+++ b/math/meschach/patches/patch-ab Fri Nov 30 19:13:50 2007 +0000
@@ -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 @@
#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
Home |
Main Index |
Thread Index |
Old Index