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
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')
-rw-r--r--sys-freebsd/freebsd-usbin/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-usbin/files/freebsd-usbin-6.1-gcc41.patch18
-rw-r--r--sys-freebsd/freebsd-usbin/freebsd-usbin-6.1.ebuild5
3 files changed, 26 insertions, 3 deletions
diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog
index ce79bfd65dc8..3096641f62b1 100644
--- a/sys-freebsd/freebsd-usbin/ChangeLog
+++ b/sys-freebsd/freebsd-usbin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-freebsd/freebsd-usbin
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.11 2006/05/09 07:45:23 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.12 2006/05/30 01:41:39 flameeyes Exp $
+
+ 30 May 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/freebsd-usbin-6.1-gcc41.patch, freebsd-usbin-6.1.ebuild:
+ Add patch to build with GCC 4.1.
*freebsd-usbin-6.1 (09 May 2006)
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))
diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.1.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.1.ebuild
index 87cbd144b29f..dc65300efa5b 100644
--- a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.1.ebuild
+++ b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-6.1.ebuild,v 1.1 2006/05/09 07:45:23 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-6.1.ebuild,v 1.2 2006/05/30 01:41:39 flameeyes Exp $
inherit bsdmk freebsd flag-o-matic eutils
@@ -65,7 +65,8 @@ pkg_setup() {
}
PATCHES="${FILESDIR}/${PN}-6.0-fixmakefiles.patch
- ${FILESDIR}/${PN}-6.1-nowrap.patch"
+ ${FILESDIR}/${PN}-6.1-nowrap.patch
+ ${FILESDIR}/${P}-gcc41.patch"
REMOVE_SUBDIRS="
named named-checkzone named-checkconf rndc rndc-confgen