sys-devel/gcc: bump 3.3.6 up to EAPI=6
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 21 Oct 2019 22:24:19 +0000 (23:24 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 21 Oct 2019 22:26:31 +0000 (23:26 +0100)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-devel/gcc/Manifest
sys-devel/gcc/gcc-3.3.6-r5.ebuild [new file with mode: 0644]

index 1d8eec94bd9f67011f2aefb273194e5a74170946..92ebd6cc2e5a46978bbad1d7256294a4339fcb3c 100644 (file)
@@ -4,7 +4,9 @@ DIST ecj-4.3.jar 1377431 BLAKE2B 1d6a8ae1cef0fc4ee325f935873e4a2e560c34cac929bc4
 DIST ecj-4.5.jar 1470676 BLAKE2B 793c10ba09fd8040c0e1181204141aea16780c9c9088e07126e00da2b510af2ad6f58d876357d7e98cbb02d783a3be434469d5de1df134ccb8cc508e45028d80 SHA512 d4e1bf7538ace56e3d69fa91da5bbd16c272923b4de0a9d8dee23ea2b75f9f38c603de72fc4061df49285c450b63f3df211cee5270e9fffc5447445d1a9c9e4e
 DIST gcc-3.3.6-patches-1.11.tar.bz2 53924 BLAKE2B 9183d6fcd99c054df0c3bed279b4bc91e8bb68a2be9902a066f87815ee58a83ed2988b5be69af61c1ac4c9059a81b1fa43b8d27f55e46a3f20b7d18abc070895 SHA512 829c282f2e5421e40ac3d86a9536bc06c2ce80765c05a0cce8a012339ce5988024020643422aab758eca4ecf59e829825578e819a7afb3bce3d268b663333eae
 DIST gcc-3.3.6-patches-2.tar.bz2 54171 BLAKE2B 405e9e75a65c4b31f96db51b071151a9a8753ad4ce8d243b3ae9f7d4d697559cf1731966c0ebd9672d17f85cd98ac1fba44f24bb4c9d43ed917af756e134c113 SHA512 97c40adf2d6090eba8eb480aec296533846e77796ea83731c2e1cd1c3b0f1a2596b4decd3d8cea5ab804a003a66c4cc60034585d9a86e4b18cb794334504cf2f
+DIST gcc-3.3.6-patches-3.tar.bz2 52952 BLAKE2B e4e52b96f67eb8f09ff814b54c60e92b424c38ea4b699a81d37ca9d97551ac665579a624ddffe6498a39a92c2598fe886c9e1203dbf5002252c2edbefe577739 SHA512 a3b35fb0c9faa765c136d4b10023fdffd0d99d256bfffce1a72be778e972bcde1e14804ddb3abbce3b99875968241cc518308a70e9070b6da20f34cc1fdc3605
 DIST gcc-3.3.6-uclibc-patches-1.0.tar.bz2 28882 BLAKE2B e1e1a1e24368d238b999df061e086c1376b095bba703154fd35edd6337b5fbc265722ffa01ae496e55a524d52792d7802867b38cd426c56397056d96e62036c9 SHA512 d060c1552d4f21b8b1cd6a6e56b9af4f62f61ce8ef4362afb1982b2ad9defe6a9648705cf780103d4f2061737553b6737c276d79b803b6b75ae94035bc881f0e
+DIST gcc-3.3.6-uclibc-patches-1.1.tar.bz2 27261 BLAKE2B 3e6874419f33ff95f166f5bc8aaa0d015340f025562e432794941fc5bcee7190266c414ff1482fbdea36ff90e9886dd7fa6174d0a3482034a661b27b1511c012 SHA512 8e487053ac00153c3670280a977da019eabb6d1c3fde83b964c37ef09c2f7249159f1768e619554fa3e48323ebd7ca2474629f3fbca156f6448cffb6991ec210
 DIST gcc-3.3.6.tar.bz2 23972413 BLAKE2B e7b33edcdbbb13b0be41a41156bf6fb6dcfe4f5ad75c41de86cb37f854be6b7a6a8dda0e65d331461469848cd912e25920e8aa2dcb142cb661731ba571cb5de1 SHA512 576b88e2fa675314a79a85f180684fe5af370c596476a0bf02e33e8ae0e2be838417ea80675ce4194a8213792cf7ada50cae5131149e4b890ab61e0b8d50d0ed
 DIST gcc-3.4.5-uclibc-patches-1.1.tar.bz2 70923 BLAKE2B 174eb5e437367a8e64a48f3764b4a3971afc7f5bffac583b7cf4e98a2ea2241ff896751137cc59d45a12b12333319efd52094925ba175073fe70dc143a5ea7fa SHA512 c0534a374e2e0416d0792373f9d11526226f9ce1a98e771469efa68388b709c72672b8db8fe77901144a96a23e4fd9f9a99f1d278f1e8fffda8a6b01e3b770fa
 DIST gcc-3.4.6-patches-1.8.tar.bz2 61940 BLAKE2B 54026fc7f0a17cac4a219c2182865c597a417448310f2b10f948f971f9639eedf958d03474d999675180e8c8a7ef7f7929551c33fead53b909b4888a5483d78c SHA512 14c12628e0ccdc47492890a46d45f9ef1df3970d1103116c3c3be76ecf1b3560088232819891662f44d621877b59ed38dab48053885bd34e6516d7de514f42d6
diff --git a/sys-devel/gcc/gcc-3.3.6-r5.ebuild b/sys-devel/gcc/gcc-3.3.6-r5.ebuild
new file mode 100644 (file)
index 0000000..ca341bf
--- /dev/null
@@ -0,0 +1,37 @@
+# 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"
+HTB_VER="1.00-r2"
+
+inherit eutils toolchain
+
+# ia64 - broken static handling; USE=static emerge busybox
+KEYWORDS="~amd64 ~x86"
+
+# 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=">=sys-devel/binutils-2.14.90.0.6-r1"
+DEPEND="${RDEPEND}
+       amd64? ( >=sys-devel/binutils-2.15.90.0.1.1-r1 )"
+
+src_prepare() {
+       toolchain_src_prepare
+
+       if [[ -n ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] ; then
+               mv "${S}"/gcc-3.3.2/libstdc++-v3/config/os/uclibc "${S}"/libstdc++-v3/config/os/ || die
+               mv "${S}"/gcc-3.3.2/libstdc++-v3/config/locale/uclibc "${S}"/libstdc++-v3/config/locale/ || die
+       fi
+
+       # 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.3.4/libffi-without-libgcj.patch
+               #epatch "${FILESDIR}"/3.4.3/libffi-nogcj-lib-path-fix.patch
+       fi
+}