Permalink
Browse files

FL-499: (FL-500, FL-501), toolchain update

  • Loading branch information...
1 parent a1fb7a0 commit f6fff146543bec9ed58db64f8550acc1235391e3 @angryvincent angryvincent committed Apr 17, 2013
View

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,6 +1,10 @@
-DIST binutils-2.20.1-patches-1.0.tar.bz2 14466 RMD160 1ed4da92a25adf5eb6c75042c450a6686dc277c1 SHA1 302b475f73a5f7167de5e72d613d0f7fc8c93904 SHA256 10a77687828a610a45bb2a57e3027fb5aa7180aec183384d3da2de6897838e2e
-DIST binutils-2.20.1.tar.bz2 17501436 RMD160 2ab2de504a85840d1ec227eff50b5f4d2cad581e SHA1 fd2ba806e6f3a55cee453cb25c86991b26a75dee SHA256 228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8
-DIST binutils-2.21.1-patches-1.2.tar.bz2 18818 RMD160 02780d12910b50772c61503ae97c0a1f4abc21c2 SHA1 66fbdec01dc3fbcac19a2401ca95d95e8c6cccb4 SHA256 d5ccd0275548019b8408e92be7c9e377350a545b80b6269b1dcdcdcc9f43d06a
-DIST binutils-2.21.1.tar.bz2 18997755 RMD160 de5ce1d7cb0d44e3ec18c557beefb2a292d59a60 SHA1 525255ca6874b872540c9967a1d26acfbc7c8230 SHA256 cdecfa69f02aa7b05fbcdf678e33137151f361313b2f3e48aba925f64eabf654
-DIST binutils-2.22-patches-1.5.tar.bz2 37350 RMD160 fbcac8a18690dcfb01051ab3ec56671b3675ccfa SHA1 fb171e26273abc62ac06bb78cdd4b2d24e17a15b SHA256 51cad7b3c2d18db0f7d2e4a3e46e37f00eb720cfa663ea396e16dcfbba12a07c
-DIST binutils-2.22.tar.bz2 19973532 RMD160 34cebe4cdca9480d5dc6f6b00b052c48c8ac30dc SHA1 65b304a0b9a53a686ce50a01173d1f40f8efe404 SHA256 6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9
+DIST binutils-2.20.1-patches-1.0.tar.bz2 14466 SHA256 10a77687828a610a45bb2a57e3027fb5aa7180aec183384d3da2de6897838e2e
+DIST binutils-2.20.1.tar.bz2 17501436 SHA256 228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8
+DIST binutils-2.21.1-patches-1.2.tar.bz2 18818 SHA256 d5ccd0275548019b8408e92be7c9e377350a545b80b6269b1dcdcdcc9f43d06a
+DIST binutils-2.21.1.tar.bz2 18997755 SHA256 cdecfa69f02aa7b05fbcdf678e33137151f361313b2f3e48aba925f64eabf654
+DIST binutils-2.22-patches-1.5.tar.bz2 37350 SHA256 51cad7b3c2d18db0f7d2e4a3e46e37f00eb720cfa663ea396e16dcfbba12a07c
+DIST binutils-2.22.tar.bz2 19973532 SHA256 6c7af8ed1c8cf9b4b9d6e6fe09a3e1d3d479fe63984ba8b9b26bf356b6313ca9
+DIST binutils-2.23.1-patches-1.0.tar.xz 13396 SHA256 6d2ac4f83588e57968ce0e8e4450effb5aa79d46b9025ed2779cf91c8f99ec01 SHA512 f8a708798d32f81aceb3291411f7ef461a4f5b91ff204519799f3051789b1cbcac79bc282819227cf8dee875f47b727c51aba6f3a2ac73f53b132430c0fe9bdd WHIRLPOOL fbbcf9040047d5411ef002dd4e8079b6555b4ef2c079534f19ea8d105b2d62a8fce98eaf9b217d733414d0ddde1ab64b55d0c16bd142375a28187febde0c76eb
+DIST binutils-2.23.1.tar.bz2 21455321 SHA256 2ab2e5b03e086d12c6295f831adad46b3e1410a3a234933a2e8fac66cb2e7a19 SHA512 effecc9e6ef943055815a83dea546f2fe5b5d4483dadeda5753aae239bd7095d4696239240613a051d18011ed2521ae75c48292f970ba82b02e97bc72b0fa51f WHIRLPOOL 48f99ba30f0f7085cd7d889b727ba615be3aceb9da6a836d676eecee65c16e36257110d84bfe82a739064741b6b5279f97e43c93a08ca90896a10474b4ea65e8
+DIST binutils-2.23.2-patches-1.0.tar.xz 10884 SHA256 47df1338ee285548630dabb6e414cd7ffffaf068a56ea22a185608fcbd091703 SHA512 25d52694e653dd2642eb643ef3bd48a099876515d66b0b1ed8dfa5f60cadaa1bb92a589e370528ec52add7571c0ea1a98859bfde0821c73ec0ded492fff0915c WHIRLPOOL 2aba579641a1b8e701b25c9d0094c9991e151ddd0b02fae7273ca8c9e31fd344cbf3782c5a5f9960a9bee16b41bc898c8ad0ec76ba8ee396d28e878dac47ffc7
+DIST binutils-2.23.2.tar.bz2 21440347 SHA256 fe914e56fed7a9ec2eb45274b1f2e14b0d8b4f41906a5194eac6883cfe5c1097 SHA512 dec753bbba008f1526b89cf1bd85feba78f362f5333ffdf93953fd131eb755976dec82a0a4ba38c43d2434da007137780cfe674de5414be5cf7ce7fbc6af6d16 WHIRLPOOL 1be65f03569d599899c5b57ac7aedbf90b311f9a47c1883dc62c0717b0757ebfb33e17ab3def8d0b805daabba67cf554463f88675c9f552a6fd8dbe7ca77b442
@@ -0,0 +1,7 @@
+# Distributed under the terms of the GNU General Public License v2
+
+PATCHVER="1.0"
+ELF2FLT_VER=""
+inherit toolchain-binutils
+
+KEYWORDS="~*"
@@ -0,0 +1,8 @@
+# Distributed under the terms of the GNU General Public License v2
+
+PATCHVER="1.0"
+ELF2FLT_VER=""
+inherit toolchain-binutils
+
+# See #464152
+#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -amd64-fbsd -sparc-fbsd -x86-fbsd"
View
@@ -27,8 +27,12 @@ DIST gcc-4.6.3-patches-1.6.tar.bz2 17072 SHA256 9ea15c9e289de83954ee5c2ae374a7a5
DIST gcc-4.6.3-piepatches-v0.5.2.tar.bz2 15002 SHA256 6606d47a8bbaa9cba0dd3b022cbf6ed14325b8560dd17f7601dbaa4697df3691 SHA512 21ec5bcd43ec0075f8885ef6f567fd9ffd0a64f4c4f9340262900b91a8f22f73a22cd320d6c5a9211083a0a4d21f61ff42e4d9368b5768b395d6ec1b17fc47eb WHIRLPOOL f38666e7c47d9e10b96a22b85c90659800ecfa86d7cf9d5ff69385dc5584fc6ea4b90265ec62d8066adab63a647c1a4bd0f0d1cc69057fcc08c4aa6856cd5766
DIST gcc-4.6.3-uclibc-patches-1.0.tar.bz2 3023 SHA256 4219a3582c5f98bf8437bfc3feb8c264f8aabd8078caaddef46dd38be33f089f SHA512 e0763dc7f3f94cb9ba6e34233d1a2fa6913918a5100dd029ae76b3b086529b8fafae3086dc22f3294f7d378e5548294264cb2faa80866e8a1ecc666bf60fe010 WHIRLPOOL 1744810d5928b1869929ebd608e1d817e4bcb4f666647bc873e9bdb41c65833a40745e58de5ef4beb98ef4ac539c8560733100a3bbee280c76525ee518ae88c8
DIST gcc-4.6.3.tar.bz2 71999439 SHA256 e8f5853d4eec2f5ebaf8a72ae4d53c436aacf98153b2499f8635b48c4718a093 SHA512 efedecc1a6d1c36eb91cbecfae9a4414d01051e99965de8a284d1164df3cad13fa99a6dd5a4ceaa03ef63a66884eaf729b49d602ac82088f788bab045ce1eb26 WHIRLPOOL a50059cc5ec5bcf7c7d7108e38087c2168ff0c6817d06b709be901a87007f84cd231ebae0752cdc94fa99c93ecd30ba810d3213aba9f3639292b1e831818ec0c
-DIST gcc-4.7.2-patches-1.3.tar.bz2 37988 SHA256 f9175b74d418da76911cba620162d5545a46ab1ec05b6e1948a3237c74176216 SHA512 45f5156a249f82d544799240368f1eb206273f2e27b6dec6129fe84491adf953d85e3fa9847a7fc0baedc48b35a80d6c53bd0799000450bde5018480e39d3243 WHIRLPOOL cf8277e5d28852cf4c85d9ad514738b341ae3cbd7db2b77e9922ad8cb33902a085630ebe5c910a07cd89846360997ac474e3231dc7dd7640aa78c594dcbaedaf
+DIST gcc-4.7.2-patches-1.5.tar.bz2 40393 SHA256 31c9590aff8c41ca5f704b2b85bfd45e1c60796e3004f9ea7b4b0544cc4b876d SHA512 ca941b897ac480ff4e1d144a34a66cdbbb94d7178b2246dad9430599c903d2b30423db428884bf47f542632602aa0e0390cb5f75c7c1a812ea373dc0934194cd WHIRLPOOL 517f1f8f74fe334acab24ad6f68b50d16625b3aea7805b1bb3e8a1d255a8703dab07e4cd2031c7e0e181de4cd4a3d8c6ef4f5ed10264285d28fa9a68ba74f68f
DIST gcc-4.7.2-piepatches-v0.5.5.tar.bz2 15347 SHA256 ea7b7f7af30569f98b3cd37459b257e8bc96ef4691841779b28e93a96764a8c1 SHA512 1e3d20c38af31953b3a82c3f2204b9cc73a8bc9c80f3b3300106d1f1b6d299eb5ae5f67839fdcc690b4b8510d400053f431a1ef4850c9a4d2ca25db68daf35b6 WHIRLPOOL a22e77f63306fab350749b0778002e0cf610e300ef960631013aa545569385faa9ed1787fcdec5cf0dec89ed7dc4c9dc3d7dec28bbdb9665c0c957ba6dfa67de
DIST gcc-4.7.2-uclibc-patches-1.0.tar.bz2 3022 SHA256 507e2c9b7004122a6cf5409825f7c06da8fc63e1a77dc03f7a6ed2a7888a9311 SHA512 43018bef164fd1c4c2ab4e72f13d92044dfde65d6286046a761433d1a7bbc0ff1b4b0bcd770e07b6d4a17daf6dd974c9ec8f7a3e4d631f4af554b77bb1688206 WHIRLPOOL c08aed61480b1eab6b86356ecfff7fbb592820f6498f4fbed9161e859fa257aececd5e9ceb83495a8a0bb4c6f6f457f4c9125a079757324b84dc48e81cb2af14
DIST gcc-4.7.2.tar.bz2 82884636 SHA256 8a9283d7010fb9fe5ece3ca507e0af5c19412626384f8a5e9434251ae100b084 SHA512 689ce92d0c93e5ca5268d9757acffc6e5a7931fc7ad99ee9beefa6ce02d201ed9dade08240cb5623525e19362f90a245792e95d4e90b067fee61013a03288e32 WHIRLPOOL 730d32f9e9d19683ea169992ee82a3016c806dab16577facbb6e5eab4707706f139cf6b15b8aae44f85c88d71c308ddb1c110dca99dd46692d5bad66e05ad657
+DIST gcc-4.8.0-patches-1.1.tar.bz2 14191 SHA256 900989c5db0f657a332d3b788ff08f48e86e66fa6ad90bc5f4828ae8a961bb25 SHA512 305f54da63d3a2cc9cf0a9e7ff4685d4c4c140a219b18a5688c7cb6b01b4f35656b34bf020cd7ac1ae61adde0b01a26315bf1542bad503bd5a41fc2aba29560e WHIRLPOOL efb8e5727ad375de9ccaba9a7f7648d90a18d9eb8bf106cefbad17ebc06a5a0052c17f8859e9e9c1d496ddfe282c43b7ebd2d429f80f252b814b12f1c92297f1
+DIST gcc-4.8.0-piepatches-v0.5.5.tar.bz2 14278 SHA256 644727a87c372c9e371b823a43432e39257716dcb9e49fb61b69692beb456639 SHA512 780d12fc33b491b964cc20029e9cb7648ce789e13d731bfe5305a130ce4d69da9f53f3acccf8d28cf0e8eafa41e90bd73fcffbc52f0d6d20b4ba89868267f777 WHIRLPOOL 8f82402850059124a049aa21a19cb7d83c4da27695a4c1eaa58bf0e45d638344737d66cbdb07ecd29215a48ec67cad79ae3685069d7574571d04f36ef972a853
+DIST gcc-4.8.0-uclibc-patches-1.0.tar.bz2 3010 SHA256 0300927d938d5d0baccf7cc63d6be71dbb73a5c9d1efaf9f06bace87d7267dcd SHA512 25b82b0860c14b876920a18257b6348161b768e9583eabb5179ed3a3d924bb74fef615ad458beff6c89bc4d0cf723bbd9702cd8bca9e73b60adc82c196def382 WHIRLPOOL 5ae9e33dc382c7d1816d92d0a6b55191f922dec9f023bab0bcb51cbb0ce267c27874670ddc484144c122a204319b55a7dbe0f10c6a13e6390c4015f134d8b712
+DIST gcc-4.8.0.tar.bz2 86663646 SHA256 b037fe5132b71ecad2ea7141ec92292b5d32427bf90fd90cde432b1d5abacc2c SHA512 8a59f1a67e557eb719961a217bdb6a05b4b3abfc792f4bddee536c46fc3cc8472126e0f7531fa473acfce525a59bbd581ade97d068caf7308dfb2296f8861826 WHIRLPOOL ad966de5e75c817ea4aec9076a16198e91108e1e67c413bda839235692cbd1626e85a5e76206b8889884790d4d282650662a3e0b024893a3422bf0bfc04b46a2
DIST gdc-0.24-src.tar.bz2 1012099 SHA256 cc6a97c76c9e6db31e76ff97014d24b3d43e21f018a3c6218e3fb2a4500fc79a
@@ -1,8 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.7.2.ebuild,v 1.7 2012/11/24 21:22:30 vapier Exp $
-PATCH_VER="1.3"
+PATCH_VER="1.5"
UCLIBC_VER="1.0"
# Hardened gcc 4 stuff
@@ -22,7 +20,7 @@ inherit toolchain
DESCRIPTION="The GNU Compiler Collection"
-LICENSE="GPL-3 LGPL-3 || ( GPL-3 libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.2"
+LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+"
KEYWORDS="~*"
@@ -0,0 +1,70 @@
+# Distributed under the terms of the GNU General Public License v2
+
+PATCH_VER="1.1"
+UCLIBC_VER="1.0"
+
+# Hardened gcc 4 stuff
+PIE_VER="0.5.5"
+SPECS_VER="0.2.0"
+SPECS_GCC_VER="4.4.3"
+# arch/libc configurations known to be stable with {PIE,SSP}-by-default
+PIE_GLIBC_STABLE="x86 amd64 ppc ppc64 arm ia64"
+PIE_UCLIBC_STABLE="x86 arm amd64 ppc ppc64"
+SSP_STABLE="amd64 x86 ppc ppc64 arm"
+# uclibc need tls and nptl support for SSP support
+# uclibc need to be >= 0.9.33
+SSP_UCLIBC_STABLE="x86 amd64 ppc ppc64 arm"
+#end Hardened stuff
+
+inherit toolchain
+
+DESCRIPTION="The GNU Compiler Collection"
+
+LICENSE="GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+"
+
+KEYWORDS=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ elibc_glibc? ( >=sys-libs/glibc-2.8 )
+ >=${CATEGORY}/binutils-2.20"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
+fi
+
+src_unpack() {
+ if has_version '<sys-libs/glibc-2.12' ; then
+ ewarn "Your host glibc is too old; disabling automatic fortify."
+ ewarn "Please rebuild gcc after upgrading to >=glibc-2.12 #362315"
+ EPATCH_EXCLUDE+=" 10_all_default-fortify-source.patch"
+ fi
+
+ # drop the x32 stuff once 4.7 goes stable
+# if [[ ${CTARGET} != x86_64* ]] || ! has x32 $(get_all_abis TARGET) ; then
+# EPATCH_EXCLUDE+=" 90_all_gcc-4.7-x32.patch"
+# fi
+
+ toolchain_src_unpack
+
+ use vanilla && return 0
+
+ [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
+}
+
+pkg_setup() {
+ toolchain_pkg_setup
+
+ ewarn
+ ewarn "LTO support is still experimental and unstable. Any bug reports"
+ ewarn "about LTO that do not include an upstream patch will be closed as"
+ ewarn "invalid."
+ ewarn
+}
+
+pkg_postinst() {
+ elog
+ elog "Packages failing to build with GCC 4.8 are tracked at"
+ elog "https://bugs.gentoo.org/461954"
+ elog
+}
@@ -1,12 +1,14 @@
-DIST gentoo-headers-2.6.32-1.tar.lzma 9736 RMD160 118f85ab36e521ffd0284e20d47f462d10f143a6 SHA1 51a5f2749bec5ebc89c614caa061722c49bcc56a SHA256 ab9518100f0e40b682ffdfd5eb4defa2f2ffc259d0ae7c3de771f5a3a621cabe
-DIST gentoo-headers-2.6.39-1.tar.xz 3216 RMD160 27feab992d4f845acd5f6fc880b37ae9698e4058 SHA1 8629f82a7b2693a54c16dcf4f58a1e3edc1e1307 SHA256 bb16e4fb1c4566c01ff06fcdcd01c129d9920afac0c097923c08e37cc8e861a1
-DIST gentoo-headers-3.1-2.tar.xz 3656 RMD160 f219313ee3004826cfa2e93a6d9c2a13c4c9ea7a SHA1 0708051dba8d1ea8dc91d507f63e7515e1f246bd SHA256 ee30fed6c594ff56309aa7cad018419e8c8cde8b2ba85332ba7473d967ebe972
-DIST gentoo-headers-3.2-3.tar.xz 3972 RMD160 dcdf45de828ef98bd6ab3a2803857d530e657fb2 SHA1 0951087e798c9e426b2746d1f641456db3c1036f SHA256 f3c676a71429ae9309637790651cabee9c190915b3b15462abca35971e0d8822
-DIST gentoo-headers-3.3-2.tar.xz 34172 RMD160 eb8e3ceb89a4194a3587e1475b674fec76fd975d SHA1 5d9d0b595014d950e1e4e842ff966f150c9a4e7c SHA256 4b50911d5d53c7cdcfe07e6721015d0abe5fe2859117410b399d657ea41f3e36
-DIST gentoo-headers-3.4-3.tar.xz 4332 RMD160 7e55952ba0fe70e91ff14060d82ae611fb69dc72 SHA1 b00c4fc56830bb682001ffe2c2729c80cb470ae2 SHA256 a5413ed53ebe3489f7e35503edacb44c583726890ee123a60ac011a22d02460c
-DIST gentoo-headers-base-2.6.32.tar.lzma 4181482 RMD160 09067823af4cd65c9f48b514dd12037f4b5b33ed SHA1 be17b0679ad248e87f8bbb4d3a37aefaf6c146a7 SHA256 ae1b8bc31770aeff999ec36d4f28eb96df4191a14c0d384bbcbe569fc2e3d620
-DIST gentoo-headers-base-2.6.39.tar.xz 4689080 RMD160 2e0cce267e9e2228380c2ac4ca5d8a5471a2327f SHA1 5c52cf4632c2d125912e2334cf35f1d70b15e514 SHA256 ac7d11395bfe196e4da08e009d1b81494f1c4c1b4f08f5be7b002ed1c6669105
-DIST gentoo-headers-base-3.1.tar.xz 4814816 RMD160 372a0e0fa6dbbc36b91143a1ffc03f843aadff7f SHA1 e0bce0b14ac331f9737c2e4bb61c48fb6ea5f941 SHA256 76bc4baeb1d039a171f6316d3ac6b8f50341937242570988d6705b2d9b02a0c0
-DIST gentoo-headers-base-3.2.tar.xz 4912432 RMD160 1ad9eff0b9ec9d1eb63b2914521d2512f2ddd88c SHA1 7c74ca48de98c0da1ba44224cff36a598230eb8f SHA256 b22faf6f9c64047c29b5d5d8787dce253df99dd2fd29e69c4de491ab002a6675
-DIST gentoo-headers-base-3.3.tar.xz 5065432 RMD160 6b2c02a09a406cb366199562d6fcf3203e867a53 SHA1 d3f019fd385531a909406cfa36df27f45d9121ef SHA256 bddc280496d8709039c02cee50dc14106ac6ea6bfafe99abec9f9470b19582ea
-DIST gentoo-headers-base-3.4.tar.xz 5115932 RMD160 886e46aa92181d5804e0117f8bb0a80b3f7ba42c SHA1 63c181ae4139bcf1ce5d5de7981dba4c4a6fdc39 SHA256 c1aceea837dc6c05c869f41897e393cc14ef4b8b3e77440b40ae1684360fc154
+DIST gentoo-headers-2.6.32-1.tar.lzma 9736 SHA256 ab9518100f0e40b682ffdfd5eb4defa2f2ffc259d0ae7c3de771f5a3a621cabe
+DIST gentoo-headers-2.6.39-1.tar.xz 3216 SHA256 bb16e4fb1c4566c01ff06fcdcd01c129d9920afac0c097923c08e37cc8e861a1
+DIST gentoo-headers-3.1-2.tar.xz 3656 SHA256 ee30fed6c594ff56309aa7cad018419e8c8cde8b2ba85332ba7473d967ebe972
+DIST gentoo-headers-3.2-3.tar.xz 3972 SHA256 f3c676a71429ae9309637790651cabee9c190915b3b15462abca35971e0d8822
+DIST gentoo-headers-3.3-2.tar.xz 34172 SHA256 4b50911d5d53c7cdcfe07e6721015d0abe5fe2859117410b399d657ea41f3e36
+DIST gentoo-headers-3.4-3.tar.xz 4332 SHA256 a5413ed53ebe3489f7e35503edacb44c583726890ee123a60ac011a22d02460c
+DIST gentoo-headers-3.7-1.tar.xz 3212 SHA256 f07407df6577a1a544ed485e0285ad6adca66b516e4ff6af525f36ad2a6cece1 SHA512 d802cf3f3964a80ef2ffa3750139c0aa6b6520e78ec6eaa087532964a6a80999c937b8deb47ac76a250f649d8080308e8f5a5f33bb4859f3907d5dd41fede93f WHIRLPOOL be6aa3e709295d9a74841bf8fb4823ffe3019700ee9ac118b78bbcab50b60a3c404699e0a96267a9aeb71d6e7e62ed770ab5dbb0d8a0097a47f4b20cad663835
+DIST gentoo-headers-base-2.6.32.tar.lzma 4181482 SHA256 ae1b8bc31770aeff999ec36d4f28eb96df4191a14c0d384bbcbe569fc2e3d620
+DIST gentoo-headers-base-2.6.39.tar.xz 4689080 SHA256 ac7d11395bfe196e4da08e009d1b81494f1c4c1b4f08f5be7b002ed1c6669105
+DIST gentoo-headers-base-3.1.tar.xz 4814816 SHA256 76bc4baeb1d039a171f6316d3ac6b8f50341937242570988d6705b2d9b02a0c0
+DIST gentoo-headers-base-3.2.tar.xz 4912432 SHA256 b22faf6f9c64047c29b5d5d8787dce253df99dd2fd29e69c4de491ab002a6675
+DIST gentoo-headers-base-3.3.tar.xz 5065432 SHA256 bddc280496d8709039c02cee50dc14106ac6ea6bfafe99abec9f9470b19582ea
+DIST gentoo-headers-base-3.4.tar.xz 5115932 SHA256 c1aceea837dc6c05c869f41897e393cc14ef4b8b3e77440b40ae1684360fc154
+DIST gentoo-headers-base-3.7.tar.xz 5322476 SHA256 6bd75073dd2565f87e3ae03e71a2f211146a50a935b998e3f8c670b825aa3fb0 SHA512 8f74730267e7a2e914f17ab6052b0512e88c80409908b7b598093871f8ab834dd3c453b149a02bded1421a420163769c87783f43351eccd5be614856b152d939 WHIRLPOOL 5d0527ef71b4983f046828e27abb92ccb935ad0a4d34e3aa1c0618d7f580a058b2ede73189280f56638e6bac3d522519b0aa0a4a087253b8418db863e7c0e02b
@@ -0,0 +1,50 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+ETYPE="headers"
+H_SUPPORTEDARCH="alpha amd64 arm bfin 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.xz
+ ${PATCH_VER:+mirror://gentoo/gentoo-headers-${PV}-${PATCH_VER}.tar.xz}"
+
+KEYWORDS="~*"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND=""
+
+S=${WORKDIR}/gentoo-headers-base-${PV}
+
+src_unpack() {
+ unpack ${A}
+}
+
+src_prepare() {
+ [[ -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)
+
+ egrep -l -r -e '__[us](8|16|32|64)' "${D}" | xargs grep -L linux/types.h
+
+ # hrm, build system sucks
+ find "${D}" '(' -name '.install' -o -name '*.cmd' ')' -print0 | xargs -0 rm -f
+
+ # provided by libdrm (for now?)
+ rm -rf "${D}"/$(kernel_header_destdir)/drm
+}
+
+src_test() {
+ emake ARCH=$(tc-arch-kernel) headers_check || die
+}
Oops, something went wrong.

0 comments on commit f6fff14

Please sign in to comment.