summaryrefslogtreecommitdiff
path: root/math/octave-current/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-01-12 06:02:29 +0000
committerjlam <jlam@pkgsrc.org>2005-01-12 06:02:29 +0000
commit0fb4dcc22541a2b69a5c7f8adf31b9f17f45f4ac (patch)
tree89c702f1f28746ca7e313ed9bf8571ad67b94189 /math/octave-current/patches
parentdb4710258a376742f7506cdba37c76495b294eb3 (diff)
downloadpkgsrc-0fb4dcc22541a2b69a5c7f8adf31b9f17f45f4ac.tar.gz
Ensure that f2c-main.c includes config.h so that F77_DUMMY_MAIN is
defined. This fixes the build when using f2c-f77 as the Fortran compiler.
Diffstat (limited to 'math/octave-current/patches')
-rw-r--r--math/octave-current/patches/patch-ah15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/octave-current/patches/patch-ah b/math/octave-current/patches/patch-ah
new file mode 100644
index 00000000000..9484a081516
--- /dev/null
+++ b/math/octave-current/patches/patch-ah
@@ -0,0 +1,15 @@
+$NetBSD: patch-ah,v 1.4 2005/01/12 06:02:29 jlam Exp $
+
+--- liboctave/f2c-main.c.orig 2002-04-03 19:44:22.000000000 -0500
++++ liboctave/f2c-main.c
+@@ -20,6 +20,10 @@ Software Foundation, 59 Temple Place - S
+
+ */
+
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
++
+ #include <assert.h>
+
+