summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-23 23:21:01 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-23 23:21:01 +0000
commitbe0640134393c844ed21b6a7fb24ecb6dd286888 (patch)
tree9dc5d848684e673a890e330990da1cf2caa3e201 /sys-apps/modutils
parentStable on alpha. (diff)
downloadhistorical-be0640134393c844ed21b6a7fb24ecb6dd286888.tar.gz
historical-be0640134393c844ed21b6a7fb24ecb6dd286888.tar.bz2
historical-be0640134393c844ed21b6a7fb24ecb6dd286888.zip
Add patch to fix gcc-3.4.x building #74538 by splite.
Diffstat (limited to 'sys-apps/modutils')
-rw-r--r--sys-apps/modutils/ChangeLog6
-rw-r--r--sys-apps/modutils/files/2.4.27-gcc34.patch10
-rw-r--r--sys-apps/modutils/modutils-2.4.27.ebuild6
3 files changed, 19 insertions, 3 deletions
diff --git a/sys-apps/modutils/ChangeLog b/sys-apps/modutils/ChangeLog
index 88b38be85ada..444c0708cddf 100644
--- a/sys-apps/modutils/ChangeLog
+++ b/sys-apps/modutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/modutils
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/modutils/ChangeLog,v 1.44 2004/09/03 21:03:24 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/modutils/ChangeLog,v 1.45 2004/12/23 23:16:36 vapier Exp $
+
+ 23 Dec 2004; Mike Frysinger <vapier@gentoo.org> +files/2.4.27-gcc34.patch,
+ modutils-2.4.27.ebuild:
+ Add patch to fix gcc-3.4.x building #74538 by splite.
03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
modutils-2.4.23.ebuild:
diff --git a/sys-apps/modutils/files/2.4.27-gcc34.patch b/sys-apps/modutils/files/2.4.27-gcc34.patch
new file mode 100644
index 000000000000..83a27cc3ab25
--- /dev/null
+++ b/sys-apps/modutils/files/2.4.27-gcc34.patch
@@ -0,0 +1,10 @@
+--- obj/obj_ia64.c.orig 2003-03-12 22:39:45.000000000 -0500
++++ obj/obj_ia64.c 2004-12-15 14:47:05.813475138 -0500
+@@ -127,6 +127,7 @@
+ return (*(bundle + 1) >> 23) & 0x1ffffffffff;
+
+ default:
++ ;
+ }
+ return (-1);
+ }
diff --git a/sys-apps/modutils/modutils-2.4.27.ebuild b/sys-apps/modutils/modutils-2.4.27.ebuild
index dcc34170a9f0..dcab236ceda6 100644
--- a/sys-apps/modutils/modutils-2.4.27.ebuild
+++ b/sys-apps/modutils/modutils-2.4.27.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/modutils/modutils-2.4.27.ebuild,v 1.2 2004/09/02 13:20:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/modutils/modutils-2.4.27.ebuild,v 1.3 2004/12/23 23:16:36 vapier Exp $
-inherit flag-o-matic eutils
+inherit eutils
DESCRIPTION="Standard kernel module utilities"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/kernel/modutils/"
@@ -22,6 +22,8 @@ src_unpack() {
EPATCH_OPTS="-d ${S}/util" \
epatch ${FILESDIR}/alias.h.diff
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gcc34.patch
}
src_compile() {