summaryrefslogtreecommitdiff
path: root/math/meschach/patches/patch-ab
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-11-30 19:22:18 +0000
committerrillig <rillig@pkgsrc.org>2007-11-30 19:22:18 +0000
commit976310a3bc2d8861927e3e4f692d3f4b90e7e619 (patch)
tree2987ebd1e1631c4e44e5c9c8a9d0ad068adacc5e /math/meschach/patches/patch-ab
parentf8e44a9d2ee023baa33ec4310e486a308ab63f09 (diff)
downloadpkgsrc-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/patch-ab')
-rw-r--r--math/meschach/patches/patch-ab13
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