summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-30 01:41:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-30 01:41:39 +0000
commit8b83ff9a122e208a1f16fbc22233e5f4cbe1e68d (patch)
tree55b46bfa028c15b4a54bd802fd4fe8b03eeea120 /sys-freebsd/freebsd-usbin/files
parentMake sure aRTs is required. (diff)
downloadgentoo-2-8b83ff9a122e208a1f16fbc22233e5f4cbe1e68d.tar.gz
gentoo-2-8b83ff9a122e208a1f16fbc22233e5f4cbe1e68d.tar.bz2
gentoo-2-8b83ff9a122e208a1f16fbc22233e5f4cbe1e68d.zip
Add patch to build with GCC 4.1.
(Portage version: 2.1_rc3-r1)
Diffstat (limited to 'sys-freebsd/freebsd-usbin/files')
-rw-r--r--sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-gcc41.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-gcc41.patch b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-gcc41.patch
new file mode 100644
index 000000000000..fc48b1847023
--- /dev/null
+++ b/sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-gcc41.patch
@@ -0,0 +1,18 @@
+Index: fbsd-6.1/usr.sbin/IPXrouted/trace.c
+===================================================================
+--- fbsd-6.1.orig/usr.sbin/IPXrouted/trace.c
++++ fbsd-6.1/usr.sbin/IPXrouted/trace.c
+@@ -66,12 +66,12 @@ int tracing = 0;
+
+ void dumpif(FILE *fd, struct interface *ifp);
+ void dumptrace(FILE *fd, char *dir, struct ifdebug *ifd);
++static int iftraceinit();
+
+ void
+ traceinit(ifp)
+ register struct interface *ifp;
+ {
+- static int iftraceinit();
+
+ if (iftraceinit(ifp, &ifp->int_input) &&
+ iftraceinit(ifp, &ifp->int_output))