MD5 2bb60b7594a416f2c593923ce446160b linux-2.4.19.tar.bz2 26042494
-MD5 b5879724ceb12493fffa8c2cd01158fb patches-2.4.20-pre10-mjc2.tar.gz 7887064
+MD5 3f710f8ffad3e8931bd1254fb9fae4b5 patches-2.4.20-pre10-mjc2.tar.bz2 6305791
--- /dev/null
+--- linux/kernel/context.c 2002-10-28 21:14:53.000000000 -0600
++++ linux/kernel/context.c.new 2002-10-28 21:34:31.000000000 -0600
+@@ -16,7 +16,7 @@
+ #include <linux/module.h>
+ #include <linux/kernel.h>
+ #include <linux/sched.h>
+-#include <linux/sched_runqueue.h>
++/* #include <linux/sched_runqueue.h> */
+ #include <linux/init.h>
+ #include <linux/unistd.h>
+ #include <linux/signal.h>
+--- linux/include/linux/sched.h 2002-10-28 21:29:32.000000000 -0600
++++ linux/include/linux/sched.h.new 2002-10-28 21:59:50.000000000 -0600
+@@ -464,7 +464,7 @@
+ #define PF_MEMDIE 0x00001000 /* Killed for out-of-memory */
+ #define PF_FREE_PAGES 0x00002000 /* per process page freeing */
+ #define PF_NOIO 0x00004000 /* avoid generating further I/O */
+-
++#define PF_FSTRANS 0x00080000 /* inside a filesystem transaction */
+ #define PF_USEDFPU 0x00100000 /* task used FPU this quantum (SMP) */
+
+ /*
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mjc-sources/mjc-sources-2.4.20_pre10-r2.ebuild,v 1.1 2002/10/29 03:17:27 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mjc-sources/mjc-sources-2.4.20_pre10-r2.ebuild,v 1.2 2002/10/29 04:53:35 lostlogic Exp $
IUSE="build"
S=${WORKDIR}/linux-${KV}
DESCRIPTION="Full sources for MJC's Gentoo Linux kernel"
SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://www.kernel.org/pub/linux/kernel/people/mjc/patches-${KV}.tar.gz"
+ http://www.kernel.org/pub/linux/kernel/people/mjc/patches-${KV}.tar.bz2"
KEYWORDS="x86 -ppc -sparc -sparc64"
src_unpack() {
unpack linux-${OKV}.tar.bz2
mv linux-${OKV} linux-${KV} || die
- unpack patches-${KV}.tar.gz
+ unpack patches-${KV}.tar.bz2
cd ${KV}
kernel_src_unpack
+ cd ${WORKDIR}/linux-${KV}
+ patch -p1 < ${FILESDIR}/linux-${KV}-gentoo.diff || die "Quickfixes failed"
+
}