diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-10-27 19:49:53 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-10-27 19:53:27 +0000 |
commit | 8a872ba4d019b50a115bc61ad5e91db32f48b006 (patch) | |
tree | 66c074e836878c9b241c77b768130cef600dd226 /sys-devel/gcc | |
parent | media-libs/vulkan-layers: Fix deps (diff) | |
download | gentoo-8a872ba4d019b50a115bc61ad5e91db32f48b006.tar.gz gentoo-8a872ba4d019b50a115bc61ad5e91db32f48b006.tar.bz2 gentoo-8a872ba4d019b50a115bc61ad5e91db32f48b006.zip |
sys-devel/gcc: bump 3.4.6 up to EAPI=6
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-3.4.6-r5.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 3f3d7c722383..22b4bd2e619e 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -9,6 +9,7 @@ DIST gcc-3.4.5-uclibc-patches-1.1.tar.bz2 70923 BLAKE2B 174eb5e437367a8e64a48f37 DIST gcc-3.4.6-patches-1.8.tar.bz2 61940 BLAKE2B 54026fc7f0a17cac4a219c2182865c597a417448310f2b10f948f971f9639eedf958d03474d999675180e8c8a7ef7f7929551c33fead53b909b4888a5483d78c SHA512 14c12628e0ccdc47492890a46d45f9ef1df3970d1103116c3c3be76ecf1b3560088232819891662f44d621877b59ed38dab48053885bd34e6516d7de514f42d6 DIST gcc-3.4.6-patches-1.9.tar.bz2 62934 BLAKE2B 5eaeae2c2f4ce79e41e8ed86bc695de67d4e36d238bfdb13486d079495d0013e71a133feababd981f5021dbe409eff684f3a35ec465232e86863a5b299e0ee8f SHA512 3d6d4d5354291758ae00b90e81034950551716cbc5a96325b2bf787e9d400123991b728d0586afd8ada0983b0383668e59e51eceae0c96bbe6281a429293acde DIST gcc-3.4.6-patches-2.tar.bz2 63097 BLAKE2B 74c9341e11ee55e0dafa506815462d0b0bee599ab9a23eecf63ee73b043eab7b75bc7f04157526bb73037bba2260af59a6aa88627228e7f73266d4078f6480d0 SHA512 a695b48f48832f7303c8c9cdd7bee8cba5c206295a3ad2d741623ef489c4403cf16b6d84a9181f3e7fbeeafc99b28141f86e57e5d3d152ee285d1a90cf729635 +DIST gcc-3.4.6-patches-3.tar.bz2 62100 BLAKE2B 9d3c2ba5095066ef0eda55e80f2ff62da13c41e7b38193439f29e127004c487de810b5975c585d5944888b5edde7fe24ed8adcfccfc8af24e4fe40799d4e8c8d SHA512 6f68e29ec86d5e3921348be2c5a9eb79e01a5169c20224a9b53fdec5e02a10cb687728677ba9440bf48219f1b9fbd92c0ce72e371f6b16828912e9f72cd8433d DIST gcc-3.4.6.tar.bz2 28193401 BLAKE2B b3e2d52269e59acbdb04248d8d95bee957da29722f998ef39731b8f4fe9ce29ab6b29020be440d7d5db2b56f93fa77bc7e56f979912d03ebb755a92ab14927c9 SHA512 d235e1223d5faf8f37f2d73db35edeff44c88974b09dfcf325f4b181b16d7124710d93b1b65b60206ce3525f062236ea0f338b3a5341d7ecbe196d8e90c3ff18 DIST gcc-4.0.4-patches-1.5.tar.bz2 43777 BLAKE2B 9bd12a707b9721336fa2443d73898df4712a8b81ffc5b7e18b611663f642f6e815d6d6c4583791fee87d36e56dccfd5b364119bfa98bd80cb3e35f20f989c80d SHA512 dc9074fa7861c9efd4bb8a4118551377c88e27f2f2e7ea95fc3c75b3992ab55996afd8606570c795e85e73c9d1e2179f261b6c5d470ce778fec8fec3a74905ea DIST gcc-4.0.4-uclibc-patches-1.0.tar.bz2 20164 BLAKE2B d2d9626f03bcf0b06f316f22f2d4ea71ba0721d8369ff914bb27e20c4423a2a5b511bb23e74d2efc247ecc9c0554144a7ebd16d8baf432e289226ef610bef978 SHA512 67bdb8be3b7d173795ae3692f8f76fb6c236bfe3054112db30e3f0a56982685fe0b15e2c37f7d9e15e6198e4a41e47e1434a2befeee4e9e460e7bc9e0fa9d235 diff --git a/sys-devel/gcc/gcc-3.4.6-r5.ebuild b/sys-devel/gcc/gcc-3.4.6-r5.ebuild new file mode 100644 index 000000000000..d7bf23b41528 --- /dev/null +++ b/sys-devel/gcc/gcc-3.4.6-r5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +PATCH_VER="3" +UCLIBC_VER="1.1" +UCLIBC_GCC_VER="3.4.5" +HTB_VER="1.00.1" +HTB_GCC_VER="3.4.4" +D_VER="0.24" + +inherit eutils toolchain + +KEYWORDS="-* ~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +# we need a proper glibc version for the Scrt1.o provided to the pie-ssp specs +# NOTE: we SHOULD be using at least binutils 2.15.90.0.1 everywhere for proper +# .eh_frame ld optimisation and symbol visibility support, but it hasnt been +# well tested in gentoo on any arch other than amd64!! +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-devel/binutils-2.14.90.0.8-r1 + amd64? ( >=sys-devel/binutils-2.15.90.0.1.1-r1 )" + +src_prepare() { + toolchain_src_prepare + + # Anything useful and objc will require libffi. Seriously. Lets just force + # libffi to install with USE="objc", even though it normally only installs + # if you attempt to build gcj. + if use objc && ! use gcj ; then + epatch "${FILESDIR}"/3.4.3/libffi-without-libgcj.patch + #epatch "${FILESDIR}"/3.4.3/libffi-nogcj-lib-path-fix.patch + fi + + # Fix cross-compiling + epatch "${FILESDIR}"/3.4.4/gcc-3.4.4-cross-compile.patch + + # Arch stuff + case $(tc-arch) in + amd64) + if is_multilib ; then + sed -i -e '/GLIBCXX_IS_NATIVE=/s:false:true:' libstdc++-v3/configure || die + fi + ;; + esac +} |