summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-08-26 09:44:47 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-08-26 09:44:47 +0000
commitf8c612709b45914f8ef7cdba55fd3456a355d1da (patch)
treef333a294e409c0c75181fe62b867a9a8479f63ad /net-misc/nforce-net
parentversion bump, bug #61695 (Manifest recommit) (diff)
downloadgentoo-2-f8c612709b45914f8ef7cdba55fd3456a355d1da.tar.gz
gentoo-2-f8c612709b45914f8ef7cdba55fd3456a355d1da.tar.bz2
gentoo-2-f8c612709b45914f8ef7cdba55fd3456a355d1da.zip
make it compile on kernel 2.6.8 and higher, bug #61203
Diffstat (limited to 'net-misc/nforce-net')
-rw-r--r--net-misc/nforce-net/ChangeLog6
-rw-r--r--net-misc/nforce-net/nforce-net-1.0.0261-r2.ebuild5
2 files changed, 9 insertions, 2 deletions
diff --git a/net-misc/nforce-net/ChangeLog b/net-misc/nforce-net/ChangeLog
index 2a24f6b64f8a..b1d3b44b41e9 100644
--- a/net-misc/nforce-net/ChangeLog
+++ b/net-misc/nforce-net/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/nforce-net
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nforce-net/ChangeLog,v 1.13 2004/06/25 00:00:19 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nforce-net/ChangeLog,v 1.14 2004/08/26 09:44:47 lanius Exp $
+
+ 26 Aug 2004; Heinrich Wendel <lanius@gentoo.org>
+ nforce-net-1.0.0261-r2.ebuild:
+ make it compile on kernel 2.6.8 and higher, bug #61203
27 Apr 2004; Aron Griffis <agriffis@gentoo.org>
nforce-net-1.0.0261-r2.ebuild:
diff --git a/net-misc/nforce-net/nforce-net-1.0.0261-r2.ebuild b/net-misc/nforce-net/nforce-net-1.0.0261-r2.ebuild
index 1acc3f94509a..4253bfad1f89 100644
--- a/net-misc/nforce-net/nforce-net-1.0.0261-r2.ebuild
+++ b/net-misc/nforce-net/nforce-net-1.0.0261-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nforce-net/nforce-net-1.0.0261-r2.ebuild,v 1.6 2004/07/15 03:09:35 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nforce-net/nforce-net-1.0.0261-r2.ebuild,v 1.7 2004/08/26 09:44:47 lanius Exp $
inherit gcc kernel-mod eutils
@@ -26,6 +26,9 @@ src_compile() {
then
EPATCH_SINGLE_MSG="Applying 2.5/6 patch ..." \
epatch ${FILESDIR}/nforce-net-1.0.0261-kernel-2.6.patch.gz
+ if [ "$KV_PATCH" -ge 8 ]; then
+ sed -i -e "s:modpost:mod/modpost:" Makefile
+ fi
fi
make KERNSRC="/usr/src/linux" || die