From 8507aff81cc90b957dc9c334b9778d457ef497c8 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sat, 12 Jun 2004 21:50:35 +0000 Subject: Fix build with gcc34 --- devel/fortran-utils/files/patch-fpr.c | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 devel/fortran-utils/files/patch-fpr.c (limited to 'devel/fortran-utils/files/patch-fpr.c') diff --git a/devel/fortran-utils/files/patch-fpr.c b/devel/fortran-utils/files/patch-fpr.c new file mode 100644 index 000000000000..57c142e7ac18 --- /dev/null +++ b/devel/fortran-utils/files/patch-fpr.c @@ -0,0 +1,38 @@ +--- fpr/fpr.c.orig Fri May 27 14:31:21 1994 ++++ fpr/fpr.c Sat Jun 12 23:49:50 2004 +@@ -45,6 +45,7 @@ + #endif /* not lint */ + + #include ++#include + + #define BLANK ' ' + #define TAB '\t' +@@ -80,9 +81,6 @@ + int maxpos; + int maxcol; + +-extern char *malloc(); +-extern char *calloc(); +-extern char *realloc(); + + + +@@ -124,7 +122,7 @@ + + while ( ! ateof) + { +- gettext(); ++ mygettext(); + ch = getchar(); + if (ch == EOF) + { +@@ -210,7 +208,7 @@ + + + +-gettext() ++mygettext() + { + register int i; + register char ateol; -- cgit v1.2.3