#endif
/* filesystem internal functions */
---- linux/include/linux/skbuff.h Sun Sep 8 14:11:22 2002
-+++ linux/include/linux/skbuff.h.new Sun Sep 8 14:09:38 2002
-@@ -194,7 +194,7 @@
- unsigned char *end; /* End pointer */
-
- void (*destructor)(struct sk_buff *); /* Destruct function */
--#if defined ( CONFIG_NETFILTER || CONFIG_IPSEC )
-+#if defined(CONFIG_NETFILTER) || defined(CONFIG_IPSEC) || defined(CONFIG_IPSEC_MODULE)
- /* Can be used for communication between hooks. */
- unsigned long nfmark;
- /* Cache info */
---- linux-2.4.19-gentoo-r9/include/linux/netfilter_ipv4/ip_conntrack_core.h.o Thu Sep 19 16:51:11 2002
-+++ linux-2.4.19-gentoo-r9/include/linux/netfilter_ipv4/ip_conntrack_core.h Thu Sep 19 16:51:19 2002
-@@ -1,5 +1,7 @@
- #ifndef _IP_CONNTRACK_CORE_H
- #define _IP_CONNTRACK_CORE_H
-+
-+#include <linux/netfilter.h>
- #include <linux/netfilter_ipv4/lockhelp.h>
-
- /* This header is used to share core functionality between the
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild,v 1.2 2002/10/07 03:59:42 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10.ebuild,v 1.3 2002/10/24 05:48:38 lostlogic Exp $
IUSE="build crypt xfs acpi4linux"
DESCRIPTION="Full sources for the Gentoo Linux kernel"
SRC_URI="http://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2
http://gentoo.lostlogicx.com/patches-${KV}.tar.bz2"
-KEYWORDS="x86 -ppc -sparc -sparc64"
+KEYWORDS="~x86 -ppc -sparc -sparc64"
src_unpack() {
unpack ${A}
chmod -R a+r-w+X,u+w *
cd ${S}
- # Tiny patch for symbol generation
- patch -p1 < ${FILESDIR}/gentoo-sources-2.4.19-r9-quickfix.patch || die
+ # Quick Fixes
+ patch -p1 < ${FILESDIR}/gentoo-sources-2.4.19-r9-quickfix.patch \
+ || die "Ksyms patch failed"
+ # Crypt only quickfix
+ [ `use crypt` ] && \
+ ( patch -p1<${FILESDIR}/gentoo-sources-2.4.19-r9-crypt.patch \
+ || die "crypt patch failed" )
# Gentoo Linux uses /boot, so fix 'make install' to work properly
# also fix the EXTRAVERSION
mv Makefile Makefile.orig