summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-02-15 16:25:24 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-02-15 16:25:24 +0000
commit5f34aefeb7c3ef4127c1aa99d2e34f41db1c476d (patch)
tree2c7d9f50850ce35bd99a3b5033dde21dea372b3a /sys-block
parentUse Xemake from virtualx.eclass in src_test for DISPLAY variable. Bug 166388.... (diff)
downloadgentoo-2-5f34aefeb7c3ef4127c1aa99d2e34f41db1c476d.tar.gz
gentoo-2-5f34aefeb7c3ef4127c1aa99d2e34f41db1c476d.tar.bz2
gentoo-2-5f34aefeb7c3ef4127c1aa99d2e34f41db1c476d.zip
Fix compilation with sys-kernel/linux-headers-2.6.20, see bug #167050.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/mpt-status/ChangeLog6
-rw-r--r--sys-block/mpt-status/mpt-status-1.2.0.ebuild5
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-block/mpt-status/ChangeLog b/sys-block/mpt-status/ChangeLog
index 759adaf27f8b..fc729bcda2db 100644
--- a/sys-block/mpt-status/ChangeLog
+++ b/sys-block/mpt-status/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-block/mpt-status
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/mpt-status/ChangeLog,v 1.5 2007/02/03 14:05:31 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/mpt-status/ChangeLog,v 1.6 2007/02/15 16:25:24 nelchael Exp $
+
+ 15 Feb 2007; Krzysiek Pawlik <nelchael@gentoo.org>
+ mpt-status-1.2.0.ebuild:
+ Fix compilation with sys-kernel/linux-headers-2.6.20, see bug #167050.
03 Feb 2007; Steve Dibb <beandog@gentoo.org> mpt-status-1.2.0.ebuild:
amd64 stable, bug 158591
diff --git a/sys-block/mpt-status/mpt-status-1.2.0.ebuild b/sys-block/mpt-status/mpt-status-1.2.0.ebuild
index 98b7ee6c09ea..63bd4ad37ffd 100644
--- a/sys-block/mpt-status/mpt-status-1.2.0.ebuild
+++ b/sys-block/mpt-status/mpt-status-1.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/mpt-status/mpt-status-1.2.0.ebuild,v 1.3 2007/02/03 14:05:31 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/mpt-status/mpt-status-1.2.0.ebuild,v 1.4 2007/02/15 16:25:24 nelchael Exp $
inherit eutils
@@ -19,6 +19,9 @@ src_unpack() {
unpack ${A}
epatch "${FILESDIR}/${PN}-1.2.0-gentoo.patch"
+ cd "${S}"
+ sed -i -e 's,\(^.*linux/compiler\.h.*$\),,' mpt-status.h
+
}
src_install() {