pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/octave-current Ensure that f2c-main.c includes co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67f083f60ef2
branches:  trunk
changeset: 487271:67f083f60ef2
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jan 12 06:02:29 2005 +0000

description:
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:

 math/octave-current/distinfo         |   3 ++-
 math/octave-current/patches/patch-ah |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 3eb0c246b759 -r 67f083f60ef2 math/octave-current/distinfo
--- a/math/octave-current/distinfo      Wed Jan 12 04:42:18 2005 +0000
+++ b/math/octave-current/distinfo      Wed Jan 12 06:02:29 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2004/12/05 11:17:54 adam Exp $
+$NetBSD: distinfo,v 1.22 2005/01/12 06:02:29 jlam Exp $
 
 SHA1 (octave-2.1.64.tar.bz2) = 90f54fd7515cc3c629ef9104d3879d62a14b2a12
 Size (octave-2.1.64.tar.bz2) = 4341798 bytes
@@ -8,3 +8,4 @@
 SHA1 (patch-ae) = 79544d09268d41647b081680fc839f4fe481b111
 SHA1 (patch-af) = 775eb3c4d4769aada0d01df228c8ca48c489842d
 SHA1 (patch-ag) = f6c4263cf08985e4897ea69cce6a9c8b329ec48c
+SHA1 (patch-ah) = f7009d8b35354a1d403d5bdeae68a211435b004c
diff -r 3eb0c246b759 -r 67f083f60ef2 math/octave-current/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/octave-current/patches/patch-ah      Wed Jan 12 06:02:29 2005 +0000
@@ -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>
+ 
+ 



Home | Main Index | Thread Index | Old Index