diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-12-27 08:39:16 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-12-27 08:39:16 +0000 |
commit | e161635e8d91b33b7263fc3f22a7c9ee178a1b40 (patch) | |
tree | b0e7060cebf9fefb3133db26a7c05f74486da6f9 /sys-kernel/linux-headers | |
parent | Version bump. (diff) | |
download | gentoo-2-e161635e8d91b33b7263fc3f22a7c9ee178a1b40.tar.gz gentoo-2-e161635e8d91b33b7263fc3f22a7c9ee178a1b40.tar.bz2 gentoo-2-e161635e8d91b33b7263fc3f22a7c9ee178a1b40.zip |
old
Diffstat (limited to 'sys-kernel/linux-headers')
13 files changed, 0 insertions, 511 deletions
diff --git a/sys-kernel/linux-headers/files/linux-headers-2.4-arm-cris-ELF_DATA.patch b/sys-kernel/linux-headers/files/linux-headers-2.4-arm-cris-ELF_DATA.patch deleted file mode 100644 index 2cbc77887d8d..000000000000 --- a/sys-kernel/linux-headers/files/linux-headers-2.4-arm-cris-ELF_DATA.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- include/asm-arm/elf.h -+++ include/asm-arm/elf.h -@@ -30,9 +30,9 @@ - */ - #define ELF_CLASS ELFCLASS32 - #ifdef __ARMEB__ --#define ELF_DATA ELFDATA2MSB; -+#define ELF_DATA ELFDATA2MSB - #else --#define ELF_DATA ELFDATA2LSB; -+#define ELF_DATA ELFDATA2LSB - #endif - #define ELF_ARCH EM_ARM - ---- include/asm-cris/elf.h -+++ include/asm-cris/elf.h -@@ -26,7 +26,7 @@ - * These are used to set parameters in the core dumps. - */ - #define ELF_CLASS ELFCLASS32 --#define ELF_DATA ELFDATA2LSB; -+#define ELF_DATA ELFDATA2LSB - #define ELF_ARCH EM_CRIS - - /* SVR4/i386 ABI (pages 3-31, 3-32) says that when the program diff --git a/sys-kernel/linux-headers/files/linux-headers-2.4-armeb-stat.patch b/sys-kernel/linux-headers/files/linux-headers-2.4-armeb-stat.patch deleted file mode 100644 index 0422912f9162..000000000000 --- a/sys-kernel/linux-headers/files/linux-headers-2.4-armeb-stat.patch +++ /dev/null @@ -1,51 +0,0 @@ -http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=863/1 - ---- include/asm-arm/stat.h -+++ include/asm-arm/stat.h -@@ -42,8 +42,14 @@ - * insane amounts of padding around dev_t's. - */ - struct stat64 { -- unsigned short st_dev; -- unsigned char __pad0[10]; -+#if defined(__ARMEB__) -+ unsigned char __pad0b[6]; -+ unsigned short st_dev; -+#else -+ unsigned short st_dev; -+ unsigned char __pad0b[6]; -+#endif -+ unsigned char __pad0[4]; - - #define STAT64_HAS_BROKEN_ST_INO 1 - unsigned long __st_ino; -@@ -53,14 +59,25 @@ - unsigned long st_uid; - unsigned long st_gid; - -- unsigned short st_rdev; -- unsigned char __pad3[10]; -+#if defined(__ARMEB__) -+ unsigned char __pad3b[6]; -+ unsigned short st_rdev; -+#else /* Must be little */ -+ unsigned short st_rdev; -+ unsigned char __pad3b[6]; -+#endif -+ unsigned char __pad3[4]; - - long long st_size; - unsigned long st_blksize; - -- unsigned long st_blocks; /* Number 512-byte blocks allocated. */ -- unsigned long __pad4; /* future possible st_blocks high bits */ -+#if defined(__ARMEB__) -+ unsigned long __pad4; /* Future possible st_blocks hi bits */ -+ unsigned long st_blocks; /* Number 512-byte blocks allocated. */ -+#else /* Must be little */ -+ unsigned long st_blocks; /* Number 512-byte blocks allocated. */ -+ unsigned long __pad4; /* Future possible st_blocks hi bits */ -+#endif - - unsigned long st_atime; - unsigned long __pad5; diff --git a/sys-kernel/linux-headers/files/linux-headers-2.4-errno-in-unistd.patch b/sys-kernel/linux-headers/files/linux-headers-2.4-errno-in-unistd.patch deleted file mode 100644 index 4995c5e5d9df..000000000000 --- a/sys-kernel/linux-headers/files/linux-headers-2.4-errno-in-unistd.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- linux/include/linux/unistd.h -+++ linux/include/linux/unistd.h -@@ -1,7 +1,7 @@ - #ifndef _LINUX_UNISTD_H_ - #define _LINUX_UNISTD_H_ - --extern int errno; -+#include <errno.h> - - /* - * Include machine specific syscallX macros diff --git a/sys-kernel/linux-headers/files/linux-headers-soundcard-ppc64.patch b/sys-kernel/linux-headers/files/linux-headers-soundcard-ppc64.patch deleted file mode 100644 index 808596297634..000000000000 --- a/sys-kernel/linux-headers/files/linux-headers-soundcard-ppc64.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur linux-2.4.22.orig/include/linux/soundcard.h linux-2.4.22/include/linux/soundcard.h ---- linux-2.4.22.orig/include/linux/soundcard.h 2004-11-14 13:20:09.973700672 +0900 -+++ linux-2.4.22/include/linux/soundcard.h 2004-11-14 13:20:51.539429875 +0900 -@@ -179,7 +179,7 @@ - * Some big endian/little endian handling macros - */ - --#if defined(_AIX) || defined(AIX) || defined(sparc) || defined(__sparc__) || defined(HPPA) || defined(PPC) || defined(__mc68000__) -+#if defined(_AIX) || defined(AIX) || defined(sparc) || defined(__sparc__) || defined(HPPA) || defined(PPC) || defined(__powerpc64__) || defined(__mc68000__) - /* Big endian machines */ - # define _PATCHKEY(id) (0xfd00|id) - # define AFMT_S16_NE AFMT_S16_BE diff --git a/sys-kernel/linux-headers/files/linux-headers-strict-ansi-fix.patch b/sys-kernel/linux-headers/files/linux-headers-strict-ansi-fix.patch deleted file mode 100644 index f0f142c1ef00..000000000000 --- a/sys-kernel/linux-headers/files/linux-headers-strict-ansi-fix.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- linux-2.4.22/include/asm-i386/types.h 2003-11-10 07:38:32.000000000 +0200 -+++ linux-2.4.22.ext/include/asm-i386/types.h 2003-11-10 07:48:42.000000000 +0200 -@@ -17,11 +17,15 @@ - typedef __signed__ int __s32; - typedef unsigned int __u32; - --#if defined(__GNUC__) && !defined(__STRICT_ANSI__) --typedef __signed__ long long __s64; --typedef unsigned long long __u64; -+#ifndef __GNUC__ -+# ifndef __extension__ -+# define __extension__ -+# endif - #endif - -+__extension__ typedef __signed__ long long __s64; -+__extension__ typedef unsigned long long __u64; -+ - /* - * These aren't exported outside the kernel to avoid name space clashes - */ ---- linux-2.4.22/include/asm-i386/byteorder.h 2003-12-05 20:02:56.000000000 +0000 -+++ linux-2.4.22.plasmaroo/include/asm-i386/byteorder.h 2003-12-05 20:05:45.000000000 +0000 -@@ -35,7 +35,7 @@ - } - - --static inline __u64 ___arch__swab64(__u64 val) -+static __inline__ __const__ __u64 ___arch__swab64(__u64 val) - { - union { - struct { __u32 a,b; } s; -@@ -43,13 +43,13 @@ - } v; - v.u = val; - #ifdef CONFIG_X86_BSWAP -- asm("bswapl %0 ; bswapl %1 ; xchgl %0,%1" -+ __asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1" - : "=r" (v.s.a), "=r" (v.s.b) - : "0" (v.s.a), "1" (v.s.b)); - #else - v.s.a = ___arch__swab32(v.s.a); - v.s.b = ___arch__swab32(v.s.b); -- asm("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b)); -+ __asm__("xchgl %0,%1" : "=r" (v.s.a), "=r" (v.s.b) : "0" (v.s.a), "1" (v.s.b)); - #endif - return v.u; - } diff --git a/sys-kernel/linux-headers/files/unistd.h-i386-pic.patch b/sys-kernel/linux-headers/files/unistd.h-i386-pic.patch deleted file mode 100644 index 26559769e7c4..000000000000 --- a/sys-kernel/linux-headers/files/unistd.h-i386-pic.patch +++ /dev/null @@ -1,163 +0,0 @@ ---- include/asm-i386/unistd.h -+++ include/asm-i386/unistd.h -@@ -314,6 +314,21 @@ - __syscall_return(type,__res); \ - } - -+#ifdef __PIC__ -+#define _syscall1(type,name,type1,arg1) \ -+type name(type1 arg1) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ : "=a" (__res) \ -+ : "0" (__NR_##name),"r" ((long)(arg1))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall1(type,name,type1,arg1) \ - type name(type1 arg1) \ - { \ -@@ -323,7 +338,23 @@ - : "0" (__NR_##name),"b" ((long)(arg1))); \ - __syscall_return(type,__res); \ - } -+#endif - -+#ifdef __PIC__ -+#define _syscall2(type,name,type1,arg1,type2,arg2) \ -+type name(type1 arg1,type2 arg2) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ : "=a" (__res) \ -+ : "0" (__NR_##name),"r" ((long)(arg1)),"c" ((long)(arg2))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall2(type,name,type1,arg1,type2,arg2) \ - type name(type1 arg1,type2 arg2) \ - { \ -@@ -333,7 +364,24 @@ - : "0" (__NR_##name),"b" ((long)(arg1)),"c" ((long)(arg2))); \ - __syscall_return(type,__res); \ - } -+#endif - -+#ifdef __PIC__ -+#define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ -+type name(type1 arg1,type2 arg2,type3 arg3) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ : "=a" (__res) \ -+ : "0" (__NR_##name),"r" ((long)(arg1)),"c" ((long)(arg2)), \ -+ "d" ((long)(arg3))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ - type name(type1 arg1,type2 arg2,type3 arg3) \ - { \ -@@ -344,7 +392,24 @@ - "d" ((long)(arg3))); \ - __syscall_return(type,__res); \ - } -+#endif - -+#ifdef __PIC__ -+#define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ -+type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ : "=a" (__res) \ -+ : "0" (__NR_##name),"r" ((long)(arg1)),"c" ((long)(arg2)), \ -+ "d" ((long)(arg3)),"S" ((long)(arg4))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ - type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ - { \ -@@ -355,7 +420,25 @@ - "d" ((long)(arg3)),"S" ((long)(arg4))); \ - __syscall_return(type,__res); \ - } -+#endif - -+#ifdef __PIC__ -+#define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ -+ type5,arg5) \ -+type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ : "=a" (__res) \ -+ : "0" (__NR_##name),"m" ((long)(arg1)),"c" ((long)(arg2)), \ -+ "d" ((long)(arg3)),"S" ((long)(arg4)),"D" ((long)(arg5))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ - type5,arg5) \ - type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \ -@@ -367,7 +450,30 @@ - "d" ((long)(arg3)),"S" ((long)(arg4)),"D" ((long)(arg5))); \ - __syscall_return(type,__res); \ - } -+#endif - -+#ifdef __PIC__ -+#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ -+ type5,arg5,type6,arg6) \ -+type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebp\n\t" \ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "movl %%eax,%%ebp\n\t" \ -+ "movl %1,%%eax\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ "popl %%ebp\n\t" \ -+ : "=a" (__res) \ -+ : "i" (__NR_##name),"m" ((long)(arg1)),"c" ((long)(arg2)), \ -+ "d" ((long)(arg3)),"S" ((long)(arg4)),"D" ((long)(arg5)), \ -+ "0" ((long)(arg6))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ - type5,arg5,type6,arg6) \ - type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \ -@@ -380,6 +486,7 @@ - "0" ((long)(arg6))); \ - __syscall_return(type,__res); \ - } -+#endif - - #ifdef __KERNEL__ - #define __ARCH_WANT_IPC_PARSE_VERSION diff --git a/sys-kernel/linux-headers/linux-headers-2.0.40-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.0.40-r1.ebuild deleted file mode 100644 index 4c554407adcb..000000000000 --- a/sys-kernel/linux-headers/linux-headers-2.0.40-r1.ebuild +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.0.40-r1.ebuild,v 1.1 2006/09/03 10:17:51 vapier Exp $ - -ETYPE="headers" -H_SUPPORTEDARCH="m68k" -inherit kernel-2 -detect_version - -SRC_URI="${KERNEL_URI}" - -KEYWORDS="-* m68k" diff --git a/sys-kernel/linux-headers/linux-headers-2.2.26-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.2.26-r1.ebuild deleted file mode 100644 index 7fac39d4db7a..000000000000 --- a/sys-kernel/linux-headers/linux-headers-2.2.26-r1.ebuild +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.2.26-r1.ebuild,v 1.1 2006/09/03 10:17:51 vapier Exp $ - -ETYPE="headers" -H_SUPPORTEDARCH="m68k" -inherit kernel-2 -detect_version - -SRC_URI="${KERNEL_URI}" - -KEYWORDS="-* m68k" diff --git a/sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild deleted file mode 100644 index 186e9d6052af..000000000000 --- a/sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild,v 1.23 2007/07/26 04:52:13 vapier Exp $ - -ETYPE="headers" -H_SUPPORTEDARCH="alpha amd64 arm m68k ppc sh sparc x86" -inherit eutils kernel-2 -detect_version - -SRC_URI="${KERNEL_URI}" - -KEYWORDS="-* alpha -amd64 arm ia64 m68k -mips ppc ppc64 s390 sh sparc x86" - -UNIPATCH_LIST="${FILESDIR}/linux-headers-2.4-armeb-stat.patch - ${FILESDIR}/linux-headers-2.4-arm-cris-ELF_DATA.patch - ${FILESDIR}/unistd.h-i386-pic.patch - ${FILESDIR}/${PN}-strict-ansi-fix.patch - ${FILESDIR}/${PN}-soundcard-ppc64.patch - ${FILESDIR}/linux-headers-2.4-errno-in-unistd.patch" diff --git a/sys-kernel/linux-headers/linux-headers-2.6.17-r2.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.17-r2.ebuild deleted file mode 100644 index 8b960cff58ff..000000000000 --- a/sys-kernel/linux-headers/linux-headers-2.6.17-r2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.17-r2.ebuild,v 1.11 2007/12/31 18:46:36 armin76 Exp $ - -ETYPE="headers" -H_SUPPORTEDARCH="alpha amd64 arm hppa m68k ia64 ppc ppc64 s390 sh sparc x86" -inherit eutils multilib kernel-2 -detect_version - -PATCHES_V='5' - -SRC_URI="${KERNEL_URI} mirror://gentoo/linux-2.6.17-m68k-headers.patch.bz2 - http://dev.gentoo.org/~plasmaroo/patches/kernel/gentoo-headers/gentoo-headers-${PV}-${PATCHES_V}.tar.bz2" - -KEYWORDS="-* alpha amd64 arm m68k ppc ppc64 sh ~sparc x86" - -UNIPATCH_LIST="${DISTDIR}/linux-2.6.17-m68k-headers.patch.bz2 - ${DISTDIR}/gentoo-headers-${PV}-${PATCHES_V}.tar.bz2" - -wrap_headers_fix() { - for i in $* - do - echo -n " $1/" - cd ${S}/include/$1 - headers___fix $(find . -type f -print) - shift - done - echo -} - -src_unpack() { - ABI=${KERNEL_ABI} - kernel-2_src_unpack - - # Fixes ... all the wrapper magic is to keep sed from dumping - # ugly warnings about how it can't work on a directory. - cd "${S}"/include - einfo "Applying automated fixes:" - wrap_headers_fix asm-* linux - einfo "... done" -} diff --git a/sys-kernel/linux-headers/linux-headers-2.6.24.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.24.ebuild deleted file mode 100644 index a4226c838c47..000000000000 --- a/sys-kernel/linux-headers/linux-headers-2.6.24.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.24.ebuild,v 1.5 2008/06/30 18:38:11 armin76 Exp $ - -ETYPE="headers" -H_SUPPORTEDARCH="alpha amd64 arm cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" -inherit kernel-2 -detect_version - -PATCH_VER="1" -SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.bz2" -[[ -n ${PATCH_VER} ]] && SRC_URI="${SRC_URI} mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.bz2" - -KEYWORDS="-* ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86" - -DEPEND="" -RDEPEND="" - -S=${WORKDIR}/gentoo-headers-base-${PV} - -src_unpack() { - unpack ${A} - cd "${S}" - [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} -} - -src_install() { - kernel-2_src_install - cd "${D}" - egrep -r \ - -e '[[:space:]](asm|volatile|inline)[[:space:](]' \ - -e '\<([us](8|16|32|64))\>' \ - . - headers___fix $(find -type f) -} - -src_test() { - emake -j1 ARCH=$(tc-arch-kernel) headers_check || die -} diff --git a/sys-kernel/linux-headers/linux-headers-2.6.25-r4.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.25-r4.ebuild deleted file mode 100644 index 9d2d023610e4..000000000000 --- a/sys-kernel/linux-headers/linux-headers-2.6.25-r4.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.25-r4.ebuild,v 1.1 2008/06/09 09:49:22 vapier Exp $ - -ETYPE="headers" -H_SUPPORTEDARCH="alpha amd64 arm cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" -inherit kernel-2 -detect_version - -PATCH_VER="5" -SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.lzma" -[[ -n ${PATCH_VER} ]] && SRC_URI="${SRC_URI} mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.lzma" - -KEYWORDS="-* ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" - -DEPEND="app-arch/lzma-utils" -RDEPEND="" - -S=${WORKDIR}/gentoo-headers-base-${PV} - -src_unpack() { - unpack ${A} - cd "${S}" - [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} -} - -src_install() { - kernel-2_src_install - cd "${D}" - egrep -r \ - -e '[[:space:]](asm|volatile|inline)[[:space:](]' \ - -e '\<([us](8|16|32|64))\>' \ - . - headers___fix $(find -type f) -} - -src_test() { - emake -j1 ARCH=$(tc-arch-kernel) headers_check || die -} diff --git a/sys-kernel/linux-headers/linux-headers-2.6.26.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.26.ebuild deleted file mode 100644 index f9dab410ad04..000000000000 --- a/sys-kernel/linux-headers/linux-headers-2.6.26.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.6.26.ebuild,v 1.1 2008/08/20 02:57:03 vapier Exp $ - -ETYPE="headers" -H_SUPPORTEDARCH="alpha amd64 arm cris hppa m68k mips ia64 ppc ppc64 s390 sh sparc x86" -inherit kernel-2 -detect_version - -PATCH_VER="1" -SRC_URI="mirror://gentoo/gentoo-headers-base-${PV}.tar.lzma" -[[ -n ${PATCH_VER} ]] && SRC_URI="${SRC_URI} mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.lzma" - -KEYWORDS="-* ~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" - -DEPEND="app-arch/lzma-utils" -RDEPEND="" - -S=${WORKDIR}/gentoo-headers-base-${PV} - -src_unpack() { - unpack ${A} - cd "${S}" - [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} -} - -src_install() { - kernel-2_src_install - cd "${D}" - egrep -r \ - -e '[[:space:]](asm|volatile|inline)[[:space:](]' \ - -e '\<([us](8|16|32|64))\>' \ - . - headers___fix $(find -type f) -} - -src_test() { - emake -j1 ARCH=$(tc-arch-kernel) headers_check || die -} |