summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-09-05 04:46:09 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-09-05 04:46:09 +0000
commit07e44ea37e30100a0d366d00b89187fd62f05387 (patch)
tree9edce49725815b26741d7767d44e3e33d0fa9043 /sys-kernel/gentoo-sources
parentcommonbox stuff fixed -- menu in /usr/share/commonbox/menu now, and nls stuff... (diff)
downloadgentoo-2-07e44ea37e30100a0d366d00b89187fd62f05387.tar.gz
gentoo-2-07e44ea37e30100a0d366d00b89187fd62f05387.tar.bz2
gentoo-2-07e44ea37e30100a0d366d00b89187fd62f05387.zip
little fix for HIGHMEM
Diffstat (limited to 'sys-kernel/gentoo-sources')
-rw-r--r--sys-kernel/gentoo-sources/ChangeLog6
-rw-r--r--sys-kernel/gentoo-sources/files/gentoo-sources-2.4.19-r9-ksyms.patch11
-rw-r--r--sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r9.ebuild4
3 files changed, 19 insertions, 2 deletions
diff --git a/sys-kernel/gentoo-sources/ChangeLog b/sys-kernel/gentoo-sources/ChangeLog
index bd4c3d0ef3c7..bd3a8fb082eb 100644
--- a/sys-kernel/gentoo-sources/ChangeLog
+++ b/sys-kernel/gentoo-sources/ChangeLog
@@ -1,9 +1,13 @@
# ChangeLog for sys-kernel/gentoo-sources
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/ChangeLog,v 1.4 2002/09/04 02:57:22 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/gentoo-sources/ChangeLog,v 1.5 2002/09/05 04:46:09 lostlogic Exp $
*gentoo-sources-2.4.19-r9 (03 Sep 2002)
+ 04 Sep 2002; Brandon Low <lostlogic@gentoo.org> gentoo-sources-2.4.19-r9.ebuild:
+
+ Add 2 line patch to fix compilation with HIGHMEM
+
03 Sep 2002; Brandon Low <lostlogic@gentoo.org> gentoo-sources-2.4.19-r9.ebuild:
Whole new kernel patching methodology and new kernel.
diff --git a/sys-kernel/gentoo-sources/files/gentoo-sources-2.4.19-r9-ksyms.patch b/sys-kernel/gentoo-sources/files/gentoo-sources-2.4.19-r9-ksyms.patch
new file mode 100644
index 000000000000..1413cb536e37
--- /dev/null
+++ b/sys-kernel/gentoo-sources/files/gentoo-sources-2.4.19-r9-ksyms.patch
@@ -0,0 +1,11 @@
+--- linux/kernel/ksyms.c Wed Sep 4 23:26:43 2002
++++ linux/kernel/ksyms.c.new Wed Sep 4 23:27:07 2002
+@@ -123,8 +123,6 @@
+ EXPORT_SYMBOL(kunmap_high);
+ EXPORT_SYMBOL(highmem_start_page);
+ EXPORT_SYMBOL(create_bounce);
+-EXPORT_SYMBOL(kmap_prot);
+-EXPORT_SYMBOL(kmap_pte);
+ #endif
+
+ /* filesystem internal functions */
diff --git a/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r9.ebuild b/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r9.ebuild
index 935fd4292862..cf7c884b90df 100644
--- a/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r9.ebuild
+++ b/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r9.ebuild
@@ -53,9 +53,11 @@ src_unpack() {
chown -R 0.0 *
chmod -R a+r-w+X,u+w *
+ cd ${S}
+ # Tiny patch for symbol generation
+ patch -p1 < ${FILESDIR}/gentoo-sources-2.4.19-r9-ksyms.patch || die
# Gentoo Linux uses /boot, so fix 'make install' to work properly
# also fix the EXTRAVERSION
- cd ${S}
mv Makefile Makefile.orig
sed -e 's:#export\tINSTALL_PATH:export\tINSTALL_PATH:' \
-e "s:^\(EXTRAVERSION =\).*:\1 ${EXTRAVERSION}:" \