diff options
author | rillig <rillig@pkgsrc.org> | 2007-11-30 19:22:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-11-30 19:22:18 +0000 |
commit | 976310a3bc2d8861927e3e4f692d3f4b90e7e619 (patch) | |
tree | 2987ebd1e1631c4e44e5c9c8a9d0ad068adacc5e /math/meschach/patches | |
parent | f8e44a9d2ee023baa33ec4310e486a308ab63f09 (diff) | |
download | pkgsrc-976310a3bc2d8861927e3e4f692d3f4b90e7e619.tar.gz |
Next try: I didn't take into account that autoconf modifies #undef
directives on-the-fly.
Diffstat (limited to 'math/meschach/patches')
-rw-r--r-- | math/meschach/patches/patch-ab | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/math/meschach/patches/patch-ab b/math/meschach/patches/patch-ab index 9b499796d3a..68cebc5694d 100644 --- a/math/meschach/patches/patch-ab +++ b/math/meschach/patches/patch-ab @@ -1,16 +1,17 @@ -$NetBSD: patch-ab,v 1.3 2007/11/30 19:13:51 rillig Exp $ +$NetBSD: patch-ab,v 1.4 2007/11/30 19:22:19 rillig Exp $ --- 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 @@ ++++ machine.h.in 2007-11-30 19:19:57.000000000 +0000 +@@ -119,6 +119,8 @@ /* if the system has complex.h */ #ifdef HAVE_COMPLEX_H #include <complex.h> -+#undef complex /* zmachine.h defines a structure of that name. */ ++#undef /* prevent autoconf from modifying this line */ \ ++ 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 @@ +@@ -211,6 +213,7 @@ #endif /* for non-ANSI systems */ @@ -18,7 +19,7 @@ $NetBSD: patch-ab,v 1.3 2007/11/30 19:13:51 rillig Exp $ #ifndef HUGE_VAL #define HUGE_VAL HUGE #else -@@ -218,6 +220,7 @@ +@@ -218,6 +221,7 @@ #define HUGE HUGE_VAL #endif #endif |