aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fortran-utils
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-06-13 05:50:35 +0800
committerarved <arved@FreeBSD.org>2004-06-13 05:50:35 +0800
commita6de11a3a99d031b6b3e679db389e2455b4c37ea (patch)
tree79371fb203449c23fc260bf0cdae3b1e8dac855d /devel/fortran-utils
parentad8835ec60b92bb8ae7b0a936fea264040f8fbd3 (diff)
downloadfreebsd-ports-gnome-a6de11a3a99d031b6b3e679db389e2455b4c37ea.tar.gz
freebsd-ports-gnome-a6de11a3a99d031b6b3e679db389e2455b4c37ea.tar.zst
freebsd-ports-gnome-a6de11a3a99d031b6b3e679db389e2455b4c37ea.zip
Fix build with gcc34
Diffstat (limited to 'devel/fortran-utils')
-rw-r--r--devel/fortran-utils/files/patch-fpr.c38
1 files changed, 38 insertions, 0 deletions
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 <stdio.h>
++#include <stdlib.h>
+
+ #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;