summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-07-17 14:59:00 +0000
committerJeroen Roovers <jer@gentoo.org>2013-07-17 14:59:00 +0000
commit48c4d3af19bee34a2adae411949fca831cfa9f0b (patch)
treee7a6311a73cd993ea319cc9fabb8afff18329bfc /sys-devel
parentFix path in patch, do not cd in src_prepare(). (diff)
downloadhistorical-48c4d3af19bee34a2adae411949fca831cfa9f0b.tar.gz
historical-48c4d3af19bee34a2adae411949fca831cfa9f0b.tar.bz2
historical-48c4d3af19bee34a2adae411949fca831cfa9f0b.zip
Version bump.
Package-Manager: portage-2.2.0_alpha188/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/kgcc64/ChangeLog10
-rw-r--r--sys-devel/kgcc64/Manifest25
-rw-r--r--sys-devel/kgcc64/kgcc64-4.5.4.ebuild54
-rw-r--r--sys-devel/kgcc64/kgcc64-4.6.4.ebuild54
-rw-r--r--sys-devel/kgcc64/kgcc64-4.7.3.ebuild54
-rw-r--r--sys-devel/kgcc64/metadata.xml1
6 files changed, 187 insertions, 11 deletions
diff --git a/sys-devel/kgcc64/ChangeLog b/sys-devel/kgcc64/ChangeLog
index a2d8aec043bf..7e735ee07e29 100644
--- a/sys-devel/kgcc64/ChangeLog
+++ b/sys-devel/kgcc64/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-devel/kgcc64
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/ChangeLog,v 1.48 2013/03/02 01:17:39 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/ChangeLog,v 1.49 2013/07/17 14:58:56 jer Exp $
+
+*kgcc64-4.7.3 (17 Jul 2013)
+*kgcc64-4.6.4 (17 Jul 2013)
+*kgcc64-4.5.4 (17 Jul 2013)
+
+ 17 Jul 2013; Jeroen Roovers <jer@gentoo.org> +kgcc64-4.5.4.ebuild,
+ +kgcc64-4.6.4.ebuild, +kgcc64-4.7.3.ebuild, metadata.xml:
+ Version bump.
02 Mar 2013; Ryan Hill <dirtyepic@gentoo.org> kgcc64-4.7.2.ebuild:
Bump patchset.
diff --git a/sys-devel/kgcc64/Manifest b/sys-devel/kgcc64/Manifest
index 5eaef2f20da5..79dac2b7cb61 100644
--- a/sys-devel/kgcc64/Manifest
+++ b/sys-devel/kgcc64/Manifest
@@ -21,10 +21,16 @@ DIST gcc-4.5.2-patches-1.1.tar.bz2 21127 SHA256 0192ca1cc7845b13718c97095cad94c2
DIST gcc-4.5.2.tar.bz2 66328720 SHA256 1d9362275ffd9d19fd41f1c3dae0805d6e3991c4d5aa80851f2eaf1bbaa21f88 SHA512 b77794303c95eb4bedbbd7633bb20cade9d6544f89a6f3d8f7ae7dc9c2153e47e9b2ea7bfdf846f0d9fcef5faee5b12d307d2a44e4360cc3d11e356051b20de4 WHIRLPOOL 2cc874bd343dc973a9bc451294ba0c83398d579069df8c76cab6c5186f71c66c6d05dd563b52042b61bdffbc1735b2b5d337604113c5c4437bd69ff04db95618
DIST gcc-4.5.3-patches-1.4.tar.bz2 22869 SHA256 96e7ee4805ceb19cc27ca9ef0f79c061f18c716ca33338a738c135cfe89f145c SHA512 5361914ba7142a22c12f7f415840be1645a8e6531ee7310a4ef476537b3f81e71fe69a11ac51d6016b0599ab5eef06b024cdf47e03cc11a5e1e5b031a63e2851 WHIRLPOOL 39399a559ca8270761e41387e43572e93643d0c2bb4c4b230f79934c8b1bf371d73e7181adc414b044198c7d36bc1c7979b381e2b9f88dbe64cfaa19648fd165
DIST gcc-4.5.3.tar.bz2 66374586 SHA256 0a8847af44a9b33813b199997a73139517c96adfd519eaf24c79d4d9d09f65de SHA512 42c03aa0d16a52e95d1857d859ddd0a4923c232b90481ee52b02bc9a3976bc6e5e502e94af3fc76ac054572a420303c47e409c72f816416aeffd74c4bcd443d3 WHIRLPOOL faad2337eaae059cde6a2f42227f29a6c2855e6cbf16894a178e446b7668b7f68e23a7968926473974ec9aff3680cebbebfc01af0a60474ff90cf1fad3e96a11
+DIST gcc-4.5.4-patches-1.2.tar.bz2 22588 SHA256 45ea4e83e6c879d666fd38be5a4c7cce3e5ad756ebd402c664f65702dd2e4750 SHA512 f69c7be5195d4151c3ed1d3fb2913a77bea871554b03f1149ce700bb4cf553edc795cafd637c75305af6ed4079ec698122cac7836ff0f06189f9687ee5565f99 WHIRLPOOL e49f668c567c5427d12720d2d937092cbe323b023c786e25dde5babdcf8a1dfacab9deb82d7702cb67eba1eedb56d83fbe59f853102cad55b33e3d2ff213b270
+DIST gcc-4.5.4.tar.bz2 66426133 SHA256 eef3f0456db8c3d992cbb51d5d32558190bc14f3bc19383dd93acc27acc6befc SHA512 78696b287d46aacd6f150920da376ea32f58ad9f0dafd2d3b7fa6dbdd8dd7afe659108d1dfaa5807617fc5248719f50b39c37ade0173ea5b9fec2091f4656115 WHIRLPOOL 1d3aa5f344171a75144118101bf475536940eeb80f73849827ee4103c52dfb6504d9b26e21fa0984c65c5e6267e02fa6e7f8ef539c44f45470790781080aadca
DIST gcc-4.6.3-patches-1.9.tar.bz2 20439 SHA256 985aa2a7adb15121cb4b2ed7af054a948e6aea882d959d814109078dbc912719 SHA512 d6ac0df52deb3c2c2f2e1bb2354e8fec8ac26a3c6fa15bf47c9cd8424f87faee0646878263ecd489f1fcef1e62896150f82f770792340a0722d72d793f5f5a62 WHIRLPOOL 64238ee4ddba510341bd3fc38bb92a360517b5b1b94754d9430970ec9cf38cf95d907b3c2829043dca00f7c7b9bc26554242717a6e0382370520a7db0d0ba246
DIST gcc-4.6.3.tar.bz2 71999439 SHA256 e8f5853d4eec2f5ebaf8a72ae4d53c436aacf98153b2499f8635b48c4718a093 SHA512 efedecc1a6d1c36eb91cbecfae9a4414d01051e99965de8a284d1164df3cad13fa99a6dd5a4ceaa03ef63a66884eaf729b49d602ac82088f788bab045ce1eb26 WHIRLPOOL a50059cc5ec5bcf7c7d7108e38087c2168ff0c6817d06b709be901a87007f84cd231ebae0752cdc94fa99c93ecd30ba810d3213aba9f3639292b1e831818ec0c
+DIST gcc-4.6.4-patches-1.0.tar.bz2 18687 SHA256 f751e2e701c48bc30d3047b87b5d08fb15095de3bb5b83c9662c08f5e5449a92 SHA512 8dd580faa9bcffcdeb1843a8d3d3bd8db492891d855c17bba3cc019673d814a5d24a927055694307be6438cb2c041bc799646a483c019f3840e4e1ca33b7ccb5 WHIRLPOOL 695fd821f347062bed01305fa1aca8c0cf4085391ad63f31df4afa3f4eaeb57eba7cebae02caac788dc9b290a57d675e66667ee3e15522d7d2909cbcbf1e6982
+DIST gcc-4.6.4.tar.bz2 72006076 SHA256 35af16afa0b67af9b8eb15cafb76d2bc5f568540552522f5dc2c88dd45d977e8 SHA512 b5a5395782e0b9e61cda052f6e00c8575d1aa0b7e8db9e34c06e4e45f12ff37b436018536b7fa69a04a4235b5b368895652e3ed8fab2fe11763f9782ed9161dc WHIRLPOOL ab1b035f43aec669640b36037e65ae0edceb3b13b1ce4f7900aeff5ee06686dc2d66c3dd81156f53c4e9a9a806e4becd4462f72a6c4ad7e646b632c10c23356c
DIST gcc-4.7.2-patches-1.5.tar.bz2 40393 SHA256 31c9590aff8c41ca5f704b2b85bfd45e1c60796e3004f9ea7b4b0544cc4b876d SHA512 ca941b897ac480ff4e1d144a34a66cdbbb94d7178b2246dad9430599c903d2b30423db428884bf47f542632602aa0e0390cb5f75c7c1a812ea373dc0934194cd WHIRLPOOL 517f1f8f74fe334acab24ad6f68b50d16625b3aea7805b1bb3e8a1d255a8703dab07e4cd2031c7e0e181de4cd4a3d8c6ef4f5ed10264285d28fa9a68ba74f68f
DIST gcc-4.7.2.tar.bz2 82884636 SHA256 8a9283d7010fb9fe5ece3ca507e0af5c19412626384f8a5e9434251ae100b084 SHA512 689ce92d0c93e5ca5268d9757acffc6e5a7931fc7ad99ee9beefa6ce02d201ed9dade08240cb5623525e19362f90a245792e95d4e90b067fee61013a03288e32 WHIRLPOOL 730d32f9e9d19683ea169992ee82a3016c806dab16577facbb6e5eab4707706f139cf6b15b8aae44f85c88d71c308ddb1c110dca99dd46692d5bad66e05ad657
+DIST gcc-4.7.3-patches-1.0.tar.bz2 39969 SHA256 c9a5d7c6da7d056f7fca15b33eb7f399bb7ed5a2d0a892b97e0c7609146a2a24 SHA512 d5c3151eca135bb08511955d81c7727adbf8fc33043b64a4431b0fe95d2cac1bf3c5410fa9616373d6b3d932604195ff29f6321e61a3de69a7704f1d1cb1759f WHIRLPOOL 315578ef5a7226ed66c4831b25c79647120453dc169dc8ecd291e099500ae52284ffa451164522d6d55d11c440a7aa353a283c07e28c103c522df0c2e2f43fff
+DIST gcc-4.7.3.tar.bz2 82904224 SHA256 2f7c37eb4fc14422ff2358a9ef59c974a75ab41204ef0e49fc34ab1d8981a9c3 SHA512 5671a2dd3b6ac0d23f305cb11a796aebd823c1462b873136b412e660966143f4e07439bd8926c1443b78442beb6ae370ef91d819ec615920294875b722b7b0bd WHIRLPOOL cb3408e3e251833f38ae7cf2388a1ddce864614fe1c68de9729a1a9a1f8f028ab92c0f2b863e7fa3ac16dbf443306ac864e74c9cce90690230c081ee2ac309d3
EBUILD kgcc64-3.4.6.ebuild 2303 SHA256 a814f764832b17802bd9784828583444d5d772f4ca71f8c1907d3af5322fcd73 SHA512 2587503f76f50e445ecb971800e5867c848c484236f62db99e3311acfb8c4313a4d134c43e67d8fadee348de810b36cba8a4561928ed2818b478c00fe92dceab WHIRLPOOL 57e31ac66f497581bd2821bc61b83201553f860721e05428c8d878a60979fc60730b9d9228ac3101d623141c063791c0bc06f0f390a9ee55cf547e0434ec9472
EBUILD kgcc64-4.1.2.ebuild 1314 SHA256 5e1585130dff65eb3f0cf4c20c615d233bcb7f3d414e91402d78f4c8889da150 SHA512 84438efba99e5e9d4f3e0c99fc525074b18f5b10991bf45413fc5a6e01efc4ea310b0e9bb477d4db73ef4d7c529bae60f7cdf745706b451c951b72ad6bd22bff WHIRLPOOL 5d0911f9b0a0e55437e798614407154f5170175faf1c17cfb11bd2ee15b72999d58cb97a3d355feea8cb3000e03bb11e7dbe78b67d57b5904c32e5f37c5ab57b
EBUILD kgcc64-4.2.4.ebuild 1186 SHA256 c6b7c879ee24e3268bf2a1ff69bdb4c416b93cea32fa9667b73f27aaec9bdaa4 SHA512 94b57139fafacbc745009811a1198ed4da50995c1c320d534e651af73fc8197ae7e363674564ec856bb2a350d2c833be47ac21d6d03e6baaa64d0f913f7bec7b WHIRLPOOL 6e2d9e222a672c6c50d2cfad3603e2cf16ebaccb7155b7d6228557f68e3a16247809739aedef4434b9fb87e810ad5e30f4b6cdf8115cac0ee333ee41b21e2237
@@ -35,18 +41,17 @@ EBUILD kgcc64-4.4.5.ebuild 1374 SHA256 dcb998d08e664739126a01be00e5cb833e9a40043
EBUILD kgcc64-4.4.6.ebuild 1376 SHA256 7992506dcc54c1b8d273de4df52685664cc1a3f0b96975de4616ca927c7cdaac SHA512 a815d45995b638a0a6d9d6381670647454fe90bd67ee97492d8b88c52ad8f07db00ce4b68089240481fd34bb08580f98ed25378bfea555a06a096057817eb934 WHIRLPOOL be928d3fc06e43786d0a47497909295b71ea814d891fa4a05c86d21262cb474fbd86471b80da85f2c97c0afc1fcf786cc2ccd3480e714af6d1137d4d10585c3d
EBUILD kgcc64-4.5.2.ebuild 1396 SHA256 1efa88db0e5133597ceaff32d598c23d27710ab953853db69b4a27000711c501 SHA512 6bd729337154fa26fc1bfbaddb834f4344b76fc945b3e0bea67c3f66ecbc89411f3bbdf91fc64b15a029bb0a2f20c40bd13222abb940a0babfb75ba00bc6836e WHIRLPOOL 292419631241f71c3d36390785d8e687289747ef56d1d5b87d8df9cb553053d26149327d313dd71c164cd7bff96319db17e36dfb8be6cae2b0283458000038f1
EBUILD kgcc64-4.5.3.ebuild 1397 SHA256 a8a5c214a81df409bcead82168a242e290f798cda9aff3ca0ac8fadf90a1bd46 SHA512 e6c98d05f14d199367f374647a61d59f261490c14d294ba7fdaef7a646695d28f9f999ce77b2c2fcc7ed213c9736bc6460cb7774f2a1b85764a964df42452119 WHIRLPOOL e5ae03d036ce792faaa4c13aa802a595a9758bb5083be91e47fec1e633985b280af76b575472664906a28faf84e354f549bb8b569bd91a39a6220f411a12364a
+EBUILD kgcc64-4.5.4.ebuild 1395 SHA256 c02f6b77f8fe21cc42f532097dbee6fa2719ad1d274923a37d8d21e8a9226e57 SHA512 5664ac5c62022ecc85c5248bd4bcbcd8c3269e34bd26d90b8b8e611e3e9728f7eecc50d7fb73e5af7f83d1b9d6367ee1264032770cb2ad1344f5d4cf1ffb5caa WHIRLPOOL 85229e3e44ef361c2bdb55d6836a98817d7833e20887f364e6fb39d4ef3a4967142e21148254f6980440b419b3220f8e4775678b621e488acca9a7467672a7e1
EBUILD kgcc64-4.6.3.ebuild 1387 SHA256 9d8fac8381752fa24cfb20bc41457eaf22e7c26d4329463fbc634299a9846682 SHA512 3b2f42ba87f4e9c67b324bcfa6471fcfb4d659ca4356480169c752f495d2ffe01d51b3867dc1f1636fd246c11ec1ae1794d77931a4bd510809df280e686f9822 WHIRLPOOL 9bcfe58cb79a9ce7a10a3fa608e0e174196f4fa1d6ba81e855cf6d2e525cea90b5b497530ea9d253d078143b3d30bb7b6f9f6962c17562ae335be26157628651
+EBUILD kgcc64-4.6.4.ebuild 1388 SHA256 06eb6042f7856b1fb4aa40fd30eed103bdefcfd06f6ad8474c7c42fa84d3581b SHA512 3444e1c393425605c60b587abe470569ca161e4cfbb63bb86b26205f998677f92e672f93fad0dba8aa7c478cc62e50fdf5a6a162fc9a5149a1f1982a12205183 WHIRLPOOL 44b1b3988115260d709cb276ca6d5c2b5173dd0a9bbe3d52a2bee3e3cf5694ac0be5a3f332f91f9d334439280214ed9ed4e88a14101ed67819867da3e462c84f
EBUILD kgcc64-4.7.2.ebuild 1401 SHA256 722d65cdb311a097571557dec9b518ba761e4385ec7521d1465ee5060270c770 SHA512 8e40cb1b1680780287f8b6683a0fa60ebea1da9748a030f28a277a32d950e488ad59242d304d687a88d9a7ea26e3162ce9890d36fdaa7f97868b19929245de9b WHIRLPOOL 430b530de01609312b28fc0a8f69a408743061ae964204dfb356cdd653a6afced4169b3227fde62f32e200301e2f5a2fed0ea2363a303bc4150a71404f2aa671
-MISC ChangeLog 6738 SHA256 751c42d84f1c79f49e2dd4958d1ee63a7cc5dcb10c3742a1ee2270d2c7d321d1 SHA512 49c5594c00326c6347c1aa1e05cb738ca2b04f6affbb57b78e43d6351deeb4d9fce5d5eeab485f703f6da20ae94614215bd7b9b6c9880dedf66ca2169185c815 WHIRLPOOL 4fbe48d79a1d9c2a01b3cb079de6c76c8174fa77c8f249372ae94e0b84b815a70445a81c813cbff9ec4899ecda4ade7aa25961d7bfd2c63cb85f883c64d9576f
-MISC metadata.xml 279 SHA256 0c1aa15937a1541a50a9acf7c6b915d23916d3dcf1594a532e5426d6fabb26e8 SHA512 bd6ba0ce0d56c0f47a84ab64c5e18b8ded33a1fdfba67499a758a3f7b92d312f81a022b9f9affb062bfc7783fafde9ef866287b3f53bac1ce321b16ee41b18a0 WHIRLPOOL 75d974f9e04504b7ca3d89323bb1c33e1b725262c3b21c3ea150c22fa38a6df014758d301004668f9cea8ece65c927b767e3947c35766a7cb9457c35000bd8f9
+EBUILD kgcc64-4.7.3.ebuild 1395 SHA256 d2407803b64f97411d5dfc2bb7bd0669570bdd936de62a1fb058bf852931f200 SHA512 2f415660170507bcdf8049e23584ee446a1da39da349e2f2e33b0817f9daaf3b97dd8b47c916704d40fdf4131b82b23fd5de50fa464962cdae7cca322e4297b6 WHIRLPOOL 957a26db5fd99d355f68a1dbf6f97a4fd891b155e94d7eb28940e395ec95f83b4af0eb5064a6e45b74edd40d30256f601936ebc98f8cd725c9620b34c861e16f
+MISC ChangeLog 6963 SHA256 3ca0a9dc8ba2bb30102a8b47ec1803a432aeed59c3ac879a28674c8ea50f750e SHA512 4c3ef90510880401c8fb9af0aec118fc76736b15b54b415c39c685a40d344245dcd0164d3fd05a488a05bc801d6acbcaa6877b56252711b304b99ee9e4564e5e WHIRLPOOL a652f101d6e9f2a75cfacec75789b6ec435e1a1dcbe8160c2853acfe679b86a7335fc00d90c289ff12fae59ab18495fcd3c68991a7ed18351dc6c7bd0c6a931f
+MISC metadata.xml 382 SHA256 c9dca0d3f0e7a75face311dd95e43218725fa06e8ca92e522aa1d369292c8ffe SHA512 d30537694d09e08b3fff795a38a99becaa87d9232ab9031523912190d715fd6262aff92db20742a75320774e71db7b05ed9496cd025b3fb1de94bf6ae197b86e WHIRLPOOL 6c3200a5c89349590c9894c1d7cdbf0d516a0758631e9bad8faaec63626afe5b2197e9a8b584e50271ca611e59e4458ad0880fac628fc28c9f554ef2c9e2f54e
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iQEcBAEBCAAGBQJRMVW4AAoJEO04vUmVeoRj/3AIAIMCyhm3VVczNoC8HGXuysJq
-TvHJ+ceUa0Q1edDwMIRAV2hEt6yt/EO8aqZSoAkon2Q6f01rlf6oRKHbgTIlLbR/
-UvPeAJxSHPB2FWBI0lqL9m6qvE3Fe5dUMUGCpGMOgYosmnSnsikpW5z18hn0Z/Th
-UUdf6gIOo0EECTVpSK2Rb6LCuPP//S5eayi/PZYMwKzGi3Jh05l32W5zNx4T52Mm
-X9cW6wdygcmUvfHUeW7QUb/Rls0VW9TW+YlzTRhBaDeoJcvH+G4reliYndYYeXHK
-VuOuXwvkt/t38BeROf1QZtKAruolB6eykIO6VQAa1frssNLi00fDseGO7ft3VXg=
-=XIUL
+iEYEAREIAAYFAlHmsTMACgkQVWmRsqeSphM5pQCffuTw5gvEoEf60Xwk6E6/xNzI
+yT8An12Tpuff+gxRy2uYn/JeeeVKARTe
+=+YoV
-----END PGP SIGNATURE-----
diff --git a/sys-devel/kgcc64/kgcc64-4.5.4.ebuild b/sys-devel/kgcc64/kgcc64-4.5.4.ebuild
new file mode 100644
index 000000000000..18e4ad6cd04b
--- /dev/null
+++ b/sys-devel/kgcc64/kgcc64-4.5.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/kgcc64-4.5.4.ebuild,v 1.1 2013/07/17 14:58:56 jer Exp $
+
+case ${CHOST} in
+ hppa*) CTARGET=hppa64-${CHOST#*-};;
+ mips*) CTARGET=${CHOST/mips/mips64};;
+ powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
+ s390*) CTARGET=${CHOST/s390/s390x};;
+ sparc*) CTARGET=${CHOST/sparc/sparc64};;
+ i?86*) CTARGET=x86_64-${CHOST#*-};;
+esac
+export CTARGET
+TOOLCHAIN_ALLOWED_LANGS="c"
+GCC_TARGET_NO_MULTILIB=true
+
+PATCH_VER="1.2"
+GCC_FILESDIR=${FILESDIR/${PN}/gcc}
+
+inherit toolchain eutils
+
+DESCRIPTION="64bit kernel compiler"
+
+# Works on mips and sparc; all other archs, refer to bug #228115
+KEYWORDS="~hppa ~sparc"
+
+RDEPEND=">=dev-libs/gmp-4.3.2
+ >=dev-libs/mpfr-2.4.2
+ >=dev-libs/mpc-0.8.1
+ >=sys-devel/gcc-config-1.4"
+# unlike every other target, hppa has not unified the 32/64 bit
+# ports in binutils yet
+DEPEND="${RDEPEND}
+ hppa? ( sys-devel/binutils-hppa64 )
+ !sys-devel/gcc-hppa64
+ !sys-devel/gcc-mips64
+ !sys-devel/gcc-powerpc64
+ !sys-devel/gcc-sparc64
+ >=sys-apps/texinfo-4.8
+ >=sys-devel/bison-1.875"
+
+pkg_postinst() {
+ toolchain_pkg_postinst
+
+ cd "${ROOT}"/usr/bin
+ local x
+ for x in gcc cpp ; do
+ cat <<-EOF >${CTARGET%%-*}-linux-${x}
+ #!/bin/sh
+ exec ${CTARGET}-${x} "\$@"
+ EOF
+ chmod a+rx ${CTARGET%%-*}-linux-${x}
+ done
+}
diff --git a/sys-devel/kgcc64/kgcc64-4.6.4.ebuild b/sys-devel/kgcc64/kgcc64-4.6.4.ebuild
new file mode 100644
index 000000000000..5b7bf91fb579
--- /dev/null
+++ b/sys-devel/kgcc64/kgcc64-4.6.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/kgcc64-4.6.4.ebuild,v 1.1 2013/07/17 14:58:56 jer Exp $
+
+case ${CHOST} in
+ hppa*) CTARGET=hppa64-${CHOST#*-};;
+ mips*) CTARGET=${CHOST/mips/mips64};;
+ powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
+ s390*) CTARGET=${CHOST/s390/s390x};;
+ sparc*) CTARGET=${CHOST/sparc/sparc64};;
+ i?86*) CTARGET=x86_64-${CHOST#*-};;
+esac
+export CTARGET
+TOOLCHAIN_ALLOWED_LANGS="c"
+GCC_TARGET_NO_MULTILIB=true
+
+PATCH_VER="1.0"
+GCC_FILESDIR=${FILESDIR/${PN}/gcc}
+
+inherit toolchain
+
+DESCRIPTION="64bit kernel compiler"
+
+# Works on mips and sparc; all other archs, refer to bug #228115
+KEYWORDS="~hppa ~sparc"
+
+RDEPEND=">=dev-libs/gmp-4.3.2
+ >=dev-libs/mpfr-2.4.2
+ >=dev-libs/mpc-0.8.1
+ >=sys-devel/gcc-config-1.4"
+# unlike every other target, hppa has not unified the 32/64 bit
+# ports in binutils yet
+DEPEND="${RDEPEND}
+ hppa? ( sys-devel/binutils-hppa64 )
+ !sys-devel/gcc-hppa64
+ !sys-devel/gcc-mips64
+ !sys-devel/gcc-powerpc64
+ !sys-devel/gcc-sparc64
+ >=sys-apps/texinfo-4.8
+ >=sys-devel/bison-1.875"
+
+pkg_postinst() {
+ toolchain_pkg_postinst
+
+ cd "${ROOT}"/usr/bin
+ local x
+ for x in gcc cpp ; do
+ cat <<-EOF >${CTARGET%%-*}-linux-${x}
+ #!/bin/sh
+ exec ${CTARGET}-${x} "\$@"
+ EOF
+ chmod a+rx ${CTARGET%%-*}-linux-${x}
+ done
+}
diff --git a/sys-devel/kgcc64/kgcc64-4.7.3.ebuild b/sys-devel/kgcc64/kgcc64-4.7.3.ebuild
new file mode 100644
index 000000000000..2d19801d5e85
--- /dev/null
+++ b/sys-devel/kgcc64/kgcc64-4.7.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/kgcc64/kgcc64-4.7.3.ebuild,v 1.1 2013/07/17 14:58:56 jer Exp $
+
+case ${CHOST} in
+ hppa*) CTARGET=hppa64-${CHOST#*-};;
+ mips*) CTARGET=${CHOST/mips/mips64};;
+ powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
+ s390*) CTARGET=${CHOST/s390/s390x};;
+ sparc*) CTARGET=${CHOST/sparc/sparc64};;
+ i?86*) CTARGET=x86_64-${CHOST#*-};;
+esac
+export CTARGET
+TOOLCHAIN_ALLOWED_LANGS="c"
+GCC_TARGET_NO_MULTILIB=true
+
+PATCH_VER="1.0"
+GCC_FILESDIR=${FILESDIR/${PN}/gcc}
+
+inherit toolchain eutils
+
+DESCRIPTION="64bit kernel compiler"
+
+# Works on mips and sparc; all other archs, refer to bug #228115
+KEYWORDS="~hppa ~sparc"
+
+RDEPEND=">=dev-libs/gmp-4.3.2
+ >=dev-libs/mpfr-2.4.2
+ >=dev-libs/mpc-0.8.1
+ >=sys-devel/gcc-config-1.4"
+# unlike every other target, hppa has not unified the 32/64 bit
+# ports in binutils yet
+DEPEND="${RDEPEND}
+ hppa? ( sys-devel/binutils-hppa64 )
+ !sys-devel/gcc-hppa64
+ !sys-devel/gcc-mips64
+ !sys-devel/gcc-powerpc64
+ !sys-devel/gcc-sparc64
+ >=sys-apps/texinfo-4.8
+ >=sys-devel/bison-1.875"
+
+pkg_postinst() {
+ toolchain_pkg_postinst
+
+ cd "${ROOT}"/usr/bin
+ local x
+ for x in gcc cpp ; do
+ cat <<-EOF >${CTARGET%%-*}-linux-${x}
+ #!/bin/sh
+ exec ${CTARGET}-${x} "\$@"
+ EOF
+ chmod a+rx ${CTARGET%%-*}-linux-${x}
+ done
+}
diff --git a/sys-devel/kgcc64/metadata.xml b/sys-devel/kgcc64/metadata.xml
index aad6785f50cd..b97a1e08f5bd 100644
--- a/sys-devel/kgcc64/metadata.xml
+++ b/sys-devel/kgcc64/metadata.xml
@@ -5,6 +5,7 @@
<use>
<flag name='multislot'>Allow for SLOTs to include minor version (eg. 3.3.4 instead
of just 3.3)</flag>
+<flag name="regression-test">Run the testsuite and install the results (requires FEATURES=test)</flag>
</use>
</pkgmetadata>