diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-11-12 06:49:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-11-12 06:49:26 +0000 |
commit | 5199d2581c4dfac98f8c207f8eb9af220d93de20 (patch) | |
tree | a0f296544f3631446d15012c16c1d4a58ce88522 /sys-kernel | |
parent | Version bump #198851. (diff) | |
download | gentoo-2-5199d2581c4dfac98f8c207f8eb9af220d93de20.tar.gz gentoo-2-5199d2581c4dfac98f8c207f8eb9af220d93de20.tar.bz2 gentoo-2-5199d2581c4dfac98f8c207f8eb9af220d93de20.zip |
Fixup linux/cdrom.h to pull in limits.h since some defines use INT_MAX.
(Portage version: 2.1.3.19)
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/linux-headers/files/digest-linux-headers-2.6.23-r1 | 6 | ||||
-rw-r--r-- | sys-kernel/linux-headers/linux-headers-2.6.23-r1.ebuild | 36 |
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.6.23-r1 b/sys-kernel/linux-headers/files/digest-linux-headers-2.6.23-r1 new file mode 100644 index 000000000000..596d48f08d4b --- /dev/null +++ b/sys-kernel/linux-headers/files/digest-linux-headers-2.6.23-r1 @@ -0,0 +1,6 @@ +MD5 d7c65356935087e227bc42184b043fe1 gentoo-headers-2.6.23-3.tar.bz2 8020 +RMD160 df60e9bd362f236f6b6d5fc424bfcc0bea112be7 gentoo-headers-2.6.23-3.tar.bz2 8020 +SHA256 539c57cd907c9d98a2c9e426073cdc7d798ab9016313d0c5bd8b79933bb25498 gentoo-headers-2.6.23-3.tar.bz2 8020 +MD5 12b51fb30fea5fe473844eed7f102a50 gentoo-headers-base-2.6.23.tar.bz2 4774654 +RMD160 506b3cdad53025783fe7f9b30c9150828bdf53e9 gentoo-headers-base-2.6.23.tar.bz2 4774654 +SHA256 5bb816dceba5b6cb4829b25eb1e06af3c00b5a9f8eca1d6e711965d5020b78ab gentoo-headers-base-2.6.23.tar.bz2 4774654 diff --git a/sys-kernel/linux-headers/linux-headers-2.6.23-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.23-r1.ebuild new file mode 100644 index 000000000000..154dc2f837a7 --- /dev/null +++ b/sys-kernel/linux-headers/linux-headers-2.6.23-r1.ebuild @@ -0,0 +1,36 @@ +# 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.23-r1.ebuild,v 1.1 2007/11/12 06:49:26 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="3" +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="dev-util/unifdef" +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 '[[:space:]](asm|volatile|inline)[[:space:](]' . + headers___fix $(find -type f) +} + +src_test() { + emake -j1 ARCH=$(tc-arch-kernel) headers_check || die +} |