aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-10-08 19:28:21 +0800
committerdinoex <dinoex@FreeBSD.org>2006-10-08 19:28:21 +0800
commitf8f269462540e6f51002c44606eb8e7534c4fd74 (patch)
treeec106fa4627524a8eecb4f11fee4fde558ea19b8 /news
parent9666b03b0b17dd90045d3a08ee886186176c24dc (diff)
downloadfreebsd-ports-gnome-f8f269462540e6f51002c44606eb8e7534c4fd74.tar.gz
freebsd-ports-gnome-f8f269462540e6f51002c44606eb8e7534c4fd74.tar.zst
freebsd-ports-gnome-f8f269462540e6f51002c44606eb8e7534c4fd74.zip
- fix build for gcc41
Obtained from: Andreas Jochens (debian)
Diffstat (limited to 'news')
-rw-r--r--news/cnews/files/patch-trbatch51
1 files changed, 51 insertions, 0 deletions
diff --git a/news/cnews/files/patch-trbatch b/news/cnews/files/patch-trbatch
new file mode 100644
index 000000000000..9e4065e4dfa7
--- /dev/null
+++ b/news/cnews/files/patch-trbatch
@@ -0,0 +1,51 @@
+--- include/trbatch.h.orig Fri Dec 17 00:17:03 1993
++++ include/trbatch.h Sun Oct 8 11:23:50 2006
+@@ -23,12 +23,12 @@
+ };
+
+ /* imports from trbatch.c */
+-extern struct batchfile *bfopen(), *bfisopen();
+-extern statust bffkclose(), bfrealclose();
++extern struct batchfile *bfopen();
++extern statust bffkclose();
+ extern int bfflush();
+ /* imports from trbatcomm.c */
+-extern statust bfclose(), bfrclose();
+-extern struct batchfile *bfincache(), *fakebf();
++extern statust bfclose();
++extern struct batchfile *fakebf();
+
+ extern struct batchfile batchfile[]; /* try to keep open always */
+ #define lastbf &batchfile[NOPENBFS-1]
+--- explode/trbatch.c.orig Wed Nov 30 23:09:10 1994
++++ explode/trbatch.c Sun Oct 8 11:22:03 2006
+@@ -23,6 +23,9 @@
+
+ static HASHTABLE *nmbftbl; /* name -> batchfile mapping */
+
++static struct batchfile *bfisopen(char *name), *bfincache(char *name);
++static statust bfrealclose(), bfrclose();
++
+ /*
+ * open "name" for appending.
+ *
+@@ -86,7 +89,7 @@
+ /*
+ * returns a batchfile, never NULL, corresponding to name.
+ */
+-struct batchfile *
++static struct batchfile *
+ bfincache(name)
+ char *name;
+ {
+--- relay/trbatch.c.orig Fri Jan 15 05:27:11 1993
++++ relay/trbatch.c Sun Oct 8 11:24:34 2006
+@@ -14,6 +14,8 @@
+ #include "msgs.h"
+ #include "trbatch.h"
+
++static struct batchfile *bfincache(char *name, int ord);
++
+ /* tunable parameters */
+ #ifndef MASTERDIR
+ #define MASTERDIR artfile("out.master")