aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/tvtwm/files
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-05-31 01:31:09 +0800
committerarved <arved@FreeBSD.org>2007-05-31 01:31:09 +0800
commitb3939e3ee5080cce7d9e12fd216deea1ce08923c (patch)
treeded3e3981108f780e7be36a620d331735727c69b /x11-wm/tvtwm/files
parent34da3bb0723053f24d822b2d0c08864d701bee92 (diff)
downloadfreebsd-ports-gnome-b3939e3ee5080cce7d9e12fd216deea1ce08923c.tar.gz
freebsd-ports-gnome-b3939e3ee5080cce7d9e12fd216deea1ce08923c.tar.zst
freebsd-ports-gnome-b3939e3ee5080cce7d9e12fd216deea1ce08923c.zip
Fix build with gcc4
Diffstat (limited to 'x11-wm/tvtwm/files')
-rw-r--r--x11-wm/tvtwm/files/patch-parse.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-wm/tvtwm/files/patch-parse.c b/x11-wm/tvtwm/files/patch-parse.c
new file mode 100644
index 000000000000..eaf1bcda9f8b
--- /dev/null
+++ b/x11-wm/tvtwm/files/patch-parse.c
@@ -0,0 +1,19 @@
+--- parse.c.orig Wed May 30 19:28:55 2007
++++ parse.c Wed May 30 19:29:16 2007
+@@ -1609,6 +1609,8 @@
+ }
+ }
+
++static char *m4_defs();
++
+ static FILE *start_m4(fraw)
+ FILE *fraw;
+ {
+@@ -1627,7 +1629,6 @@
+ if (fres == 0) {
+ extern Display *dpy;
+ extern char *display_name;
+- static char *m4_defs();
+ char *tmp_file;
+
+ /* Child */