diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/kernel-headers | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/kernel-headers')
-rw-r--r-- | abs/core/kernel-headers/PKGBUILD | 29 | ||||
-rw-r--r-- | abs/core/kernel-headers/serial.diff | 13 |
2 files changed, 29 insertions, 13 deletions
diff --git a/abs/core/kernel-headers/PKGBUILD b/abs/core/kernel-headers/PKGBUILD index 485a918..d928a77 100644 --- a/abs/core/kernel-headers/PKGBUILD +++ b/abs/core/kernel-headers/PKGBUILD @@ -1,27 +1,30 @@ -# $Id: PKGBUILD 3465 2008-06-22 20:06:08Z jgc $ +# $Id: PKGBUILD 19341 2008-11-20 14:48:13Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + pkgname=kernel-headers -pkgver=2.6.25.8 -_basever=2.6.25 -pkgrel=10 +pkgver=2.6.28.5 +_basever=2.6.28 +pkgrel=1 pkgdesc="Kernel headers sanitized for use in userspace" arch=('i686' 'x86_64') 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 - netfilter-includes.patch) -md5sums=('db95a49a656a3247d4995a797d333153' - '007e6aca33604bc09687790361026d3c' - '671fa5d449e145199a871d1a41514122') + http://www.kernel.org/pub/linux/kernel/v2.6/patch-${pkgver}.bz2 serial.diff) +md5sums=('d351e44709c9810b85e29b877f50968a' + '7a062fcdec46cec78c3fedbf558e334b' + 'd66b5cc1e1c2ce40d06d77167f36dfd9') build() { - cd ${startdir}/src/linux-${_basever} - patch -Np1 -i ${startdir}/src/patch-${pkgver} || return 1 - patch -Np1 -i ${startdir}/src/netfilter-includes.patch || return 1 + cd ${srcdir}/linux-${_basever} + patch -Np1 -i ${srcdir}/patch-${pkgver} || return 1 +# patch -p0 < ../../serial.diff make mrproper make headers_check || return 1 - make INSTALL_HDR_PATH=${startdir}/pkg/usr headers_install + make INSTALL_HDR_PATH=${pkgdir}/usr headers_install + + rm -rf ${pkgdir}/usr/include/drm } diff --git a/abs/core/kernel-headers/serial.diff b/abs/core/kernel-headers/serial.diff new file mode 100644 index 0000000..9b53e48 --- /dev/null +++ b/abs/core/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> + + /* |