summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-07-15 23:49:28 +0000
committerMike Frysinger <vapier@gentoo.org>2007-07-15 23:49:28 +0000
commit02453eb0f40507765ea8431fd670aa152e1bbe9c (patch)
tree35ffc6c72826316fa3b32b0b203cfdc3c138ab8e /sys-kernel/linux-headers
parentold (diff)
downloadgentoo-2-02453eb0f40507765ea8431fd670aa152e1bbe9c.tar.gz
gentoo-2-02453eb0f40507765ea8431fd670aa152e1bbe9c.tar.bz2
gentoo-2-02453eb0f40507765ea8431fd670aa152e1bbe9c.zip
Disable 64bit swap funcs for ansi code #185175.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'sys-kernel/linux-headers')
-rw-r--r--sys-kernel/linux-headers/ChangeLog8
-rw-r--r--sys-kernel/linux-headers/files/digest-linux-headers-2.6.22-r16
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.6.22-r1.ebuild36
3 files changed, 49 insertions, 1 deletions
diff --git a/sys-kernel/linux-headers/ChangeLog b/sys-kernel/linux-headers/ChangeLog
index de6ba1a4befd..9ad548270949 100644
--- a/sys-kernel/linux-headers/ChangeLog
+++ b/sys-kernel/linux-headers/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/linux-headers
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.230 2007/07/15 07:09:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/ChangeLog,v 1.231 2007/07/15 23:49:28 vapier Exp $
+
+*linux-headers-2.6.22-r1 (15 Jul 2007)
+
+ 15 Jul 2007; Mike Frysinger <vapier@gentoo.org>
+ +linux-headers-2.6.22-r1.ebuild:
+ Disable 64bit swap funcs for ansi code #185175.
15 Jul 2007; Mike Frysinger <vapier@gentoo.org>
linux-headers-2.6.22.ebuild:
diff --git a/sys-kernel/linux-headers/files/digest-linux-headers-2.6.22-r1 b/sys-kernel/linux-headers/files/digest-linux-headers-2.6.22-r1
new file mode 100644
index 000000000000..ddb86eed9ace
--- /dev/null
+++ b/sys-kernel/linux-headers/files/digest-linux-headers-2.6.22-r1
@@ -0,0 +1,6 @@
+MD5 c5abb70bcb4dd9f5793f9f4d3e62a4af gentoo-headers-2.6.22-2.tar.bz2 8180
+RMD160 0f7cadc9c25af06198475fb48f3645eed9850005 gentoo-headers-2.6.22-2.tar.bz2 8180
+SHA256 ed8ca8b35ddd2e57325f63034f2e6425988059ee87cb1a77c1934c46d1fc0e10 gentoo-headers-2.6.22-2.tar.bz2 8180
+MD5 9ff186f91c21c4cf02d73b9fd22ef28d gentoo-headers-base-2.6.22.tar.bz2 4700338
+RMD160 0742adecc4cf093a2df13c61c3d11e7566f08a9d gentoo-headers-base-2.6.22.tar.bz2 4700338
+SHA256 da57d0d8d12a59b05f0d3851e6d2f67c413baece046f4ec03831aa70df88710a gentoo-headers-base-2.6.22.tar.bz2 4700338
diff --git a/sys-kernel/linux-headers/linux-headers-2.6.22-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.6.22-r1.ebuild
new file mode 100644
index 000000000000..3ad84f256773
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-2.6.22-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.22-r1.ebuild,v 1.1 2007/07/15 23:49:28 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="2"
+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() {
+ make ARCH=$(tc-arch-kernel) headers_check || die
+}