summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core-testing/kernel26/PKGBUILD7
-rw-r--r--abs/core-testing/kernel26/serial.diff13
2 files changed, 18 insertions, 2 deletions
diff --git a/abs/core-testing/kernel26/PKGBUILD b/abs/core-testing/kernel26/PKGBUILD
index 99d1be3..a809ede 100644
--- a/abs/core-testing/kernel26/PKGBUILD
+++ b/abs/core-testing/kernel26/PKGBUILD
@@ -29,14 +29,16 @@ source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$_basekernel.tar.bz2
config config.x86_64
# standard config files for mkinitcpio ramdisk
kernel26.preset
- logo_linux_clut224.ppm)
+ logo_linux_clut224.ppm
+ serial.diff)
optdepends=('crda: to set the correct wireless channels of your country')
md5sums=('d351e44709c9810b85e29b877f50968a'
'7e3194e7a4090363f272e66f1aedbc26'
'817a3ae21ce441c5cfcff28a453354a6'
'959b317feb974d8906c5e15e7c76ad8f'
'25584700a0a679542929c4bed31433b6'
- '7bdfe2e1daedb324fdfdfa95ba4e2430')
+ '7bdfe2e1daedb324fdfdfa95ba4e2430'
+ 'd66b5cc1e1c2ce40d06d77167f36dfd9')
build() {
KARCH=x86
@@ -45,6 +47,7 @@ build() {
# Add -ARCH patches
# See http://projects.archlinux.org/git/?p=linux-2.6-ARCH.git;a=summary
patch -Np1 -i ${srcdir}/${_patchname} || return 1
+ patch -p0 < ../../serial.diff
if [ "$CARCH" = "x86_64" ]; then
cat ../config.x86_64 >./.config
diff --git a/abs/core-testing/kernel26/serial.diff b/abs/core-testing/kernel26/serial.diff
new file mode 100644
index 0000000..9b53e48
--- /dev/null
+++ b/abs/core-testing/kernel26/serial.diff
@@ -0,0 +1,13 @@
+--- include/linux/serial.h.orig 2009-02-11 05:59:28.000000000 +0000
++++ include/linux/serial.h 2009-02-11 06:09:24.000000000 +0000
+@@ -10,8 +10,9 @@
+ #ifndef _LINUX_SERIAL_H
+ #define _LINUX_SERIAL_H
+
+-#ifdef __KERNEL__
+ #include <linux/types.h>
++
++#ifdef __KERNEL__
+ #include <asm/page.h>
+
+ /*