diff options
author | Pieter van den Abeele <pvdabeel@gentoo.org> | 2004-06-01 20:49:50 +0000 |
---|---|---|
committer | Pieter van den Abeele <pvdabeel@gentoo.org> | 2004-06-01 20:49:50 +0000 |
commit | c9472e6e6363b5e5e6c6dd748314bbf3bbbf5627 (patch) | |
tree | bde98058305eff72c57e8af081d0244d2aa73329 /app-shells/sash | |
parent | Version bumped. (Manifest recommit) (diff) | |
download | gentoo-2-c9472e6e6363b5e5e6c6dd748314bbf3bbbf5627.tar.gz gentoo-2-c9472e6e6363b5e5e6c6dd748314bbf3bbbf5627.tar.bz2 gentoo-2-c9472e6e6363b5e5e6c6dd748314bbf3bbbf5627.zip |
PPC 2.6 headers update
Diffstat (limited to 'app-shells/sash')
-rw-r--r-- | app-shells/sash/files/sash-3.6-2.6-includes.patch | 12 | ||||
-rw-r--r-- | app-shells/sash/sash-3.6.ebuild | 3 |
2 files changed, 14 insertions, 1 deletions
diff --git a/app-shells/sash/files/sash-3.6-2.6-includes.patch b/app-shells/sash/files/sash-3.6-2.6-includes.patch new file mode 100644 index 000000000000..12dba4ac019f --- /dev/null +++ b/app-shells/sash/files/sash-3.6-2.6-includes.patch @@ -0,0 +1,12 @@ +--- cmd_chattr.c.orig 2004-02-28 21:44:15.242130528 -0600 ++++ cmd_chattr.c 2004-02-28 21:45:51.734239664 -0600 +@@ -12,6 +12,9 @@ + + #include <sys/ioctl.h> + #include <sys/types.h> ++#define __KERNEL__ ++#include <asm/types.h> ++#undef __KERNEL__ + #include <linux/ext2_fs.h> + + #include "sash.h" diff --git a/app-shells/sash/sash-3.6.ebuild b/app-shells/sash/sash-3.6.ebuild index 4aae6277163c..0de129c03d7e 100644 --- a/app-shells/sash/sash-3.6.ebuild +++ b/app-shells/sash/sash-3.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/sash/sash-3.6.ebuild,v 1.13 2004/05/15 20:40:52 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/sash/sash-3.6.ebuild,v 1.14 2004/06/01 20:49:50 pvdabeel Exp $ inherit eutils @@ -25,6 +25,7 @@ src_unpack() { epatch ${FILESDIR}/sash-3.6-fix-includes.patch [ `use readline` ] && epatch ${FILESDIR}/sash-3.6-readline.patch [ `use ppc64` ] && epatch ${FILESDIR}/sash-3.6-ppc64-includes.patch + [ `use ppc` ] && epatch ${FILESDIR}/sash-3.6-2.6-includes.patch sed -e "s:-O3:${CFLAGS}:" -i Makefile } |