summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing')
-rw-r--r--abs/core-testing/kernel-headers/PKGBUILD6
-rw-r--r--abs/core-testing/kernel-headers/serial.diff13
2 files changed, 17 insertions, 2 deletions
diff --git a/abs/core-testing/kernel-headers/PKGBUILD b/abs/core-testing/kernel-headers/PKGBUILD
index fde65fc..28c305d 100644
--- a/abs/core-testing/kernel-headers/PKGBUILD
+++ b/abs/core-testing/kernel-headers/PKGBUILD
@@ -12,13 +12,15 @@ license=('GPL')
url="http://www.gnu.org/software/libc"
groups=('base')
source=(ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${_basever}.tar.bz2
- http://www.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2)
+ http://www.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2 serial.diff)
md5sums=('d351e44709c9810b85e29b877f50968a'
- '3a04439a0507847b45809b267c4db81b')
+ '3a04439a0507847b45809b267c4db81b'
+ 'd66b5cc1e1c2ce40d06d77167f36dfd9')
build() {
cd ${srcdir}/linux-${_basever}
patch -Np1 -i ${srcdir}/patch-${pkgver} || return 1
+ patch -p0 < ../../serial.diff
make mrproper
make headers_check || return 1
diff --git a/abs/core-testing/kernel-headers/serial.diff b/abs/core-testing/kernel-headers/serial.diff
new file mode 100644
index 0000000..9b53e48
--- /dev/null
+++ b/abs/core-testing/kernel-headers/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>
+
+ /*