diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-09-30 18:27:16 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-09-30 19:38:57 +0100 |
commit | a07d5b3586456a0e8abd66c65c70933d39f7a6af (patch) | |
tree | b895d5da43f77fbdf7e7d1f10bea0f0e8fc5a796 | |
parent | profiles: last-rite dev-python/recaptcha-client (diff) | |
download | gentoo-a07d5b3586456a0e8abd66c65c70933d39f7a6af.tar.gz gentoo-a07d5b3586456a0e8abd66c65c70933d39f7a6af.tar.bz2 gentoo-a07d5b3586456a0e8abd66c65c70933d39f7a6af.zip |
sys-devel/gcc: cut 1.10 patchset for 3.3.6
Three new patches:
+ 89_all_gcc-3.3.x-ucontext.patch:
Port to glibc-2.26, Fix by Christian Schmidt
+ 90_all_libtool-pass-all.patch:
fix auto-detection of -lc and -lm by libtool
+ 91_all_libexec-gcc-binutils.patch:
add /usr/libexec/gcc/<TARGET> for executables (STANDARD_LIBEXEC_PREFIX)
Closes: https://bugs.gentoo.org/664486
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
-rw-r--r-- | sys-devel/gcc/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-3.3.6-r2.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index 40135929eb76..6fde4c184a4d 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -4,6 +4,7 @@ DIST ecj-4.3.jar 1377431 BLAKE2B 1d6a8ae1cef0fc4ee325f935873e4a2e560c34cac929bc4 DIST ecj-4.5.jar 1470676 BLAKE2B 793c10ba09fd8040c0e1181204141aea16780c9c9088e07126e00da2b510af2ad6f58d876357d7e98cbb02d783a3be434469d5de1df134ccb8cc508e45028d80 SHA512 d4e1bf7538ace56e3d69fa91da5bbd16c272923b4de0a9d8dee23ea2b75f9f38c603de72fc4061df49285c450b63f3df211cee5270e9fffc5447445d1a9c9e4e DIST gcc-2.95.3-patches-1.4.tar.bz2 125654 BLAKE2B c11b26d77d8f6409c3a87bdd4346ef98b148399bb341ff3fff5f502a296ca4f19617eb3fd3856675194af4e2fb450e376d797b17b8afca8f4a82ec906448cd0b SHA512 7cc79439162ddf6f5dea4fd88e172e815684a34ed70e67f33c6acf4e1a687a748a78dee232d462adb5858cc3f9609e34cf1b8a75707947f4fcdf3d33251738e5 DIST gcc-2.95.3.tar.bz2 9848842 BLAKE2B b1d5287802ef7e13105517d129f9f03e3e09c23826cbee02bfdcf2b0258f23a7fdb1afd80bc39732409c7ec3b6becd738744b3e8e52577c1a6fa3e0445c151d6 SHA512 683eafd1788a0021867797796444868100d244f72749dd8f014eb04495554ca43eba852179554710d516ff4b94527f40ff9c9189e007ef6fd958ec7293f17e4d +DIST gcc-3.3.6-patches-1.10.tar.bz2 53739 BLAKE2B d22772d30c432669299e3e6df350920408c510a241a20e6795dcc680227342a16c3b6d2e477a17d6c49794005b42972ed30b4efe5b2d69398d283f50efdeb459 SHA512 be6cc8fae217f789982e324e0d3ad12d527e43ca4c168bce613397aaf3d86219b125e7b39c2b236638a68112cfee0e06c1b297fead712d92b3923b7195299d0a DIST gcc-3.3.6-patches-1.9.tar.bz2 51760 BLAKE2B 68704c1ddb73d2966746dd1a57b9699c3130d9165dd990b0b70f13b0dc4c7c4503afcbb268fd54242e17bdd571d5d0a20c172ee431c3c772e7c3412d3f0ac884 SHA512 306220c537c5cd90af7638431e6547ee9a80199c384629b5fbda06c28b2d6168fcf1dd448c0e178b104f41e03a8ebda4f389489d205b9e66ade6637e4747196c DIST gcc-3.3.6-uclibc-patches-1.0.tar.bz2 28882 BLAKE2B e1e1a1e24368d238b999df061e086c1376b095bba703154fd35edd6337b5fbc265722ffa01ae496e55a524d52792d7802867b38cd426c56397056d96e62036c9 SHA512 d060c1552d4f21b8b1cd6a6e56b9af4f62f61ce8ef4362afb1982b2ad9defe6a9648705cf780103d4f2061737553b6737c276d79b803b6b75ae94035bc881f0e DIST gcc-3.3.6.tar.bz2 23972413 BLAKE2B e7b33edcdbbb13b0be41a41156bf6fb6dcfe4f5ad75c41de86cb37f854be6b7a6a8dda0e65d331461469848cd912e25920e8aa2dcb142cb661731ba571cb5de1 SHA512 576b88e2fa675314a79a85f180684fe5af370c596476a0bf02e33e8ae0e2be838417ea80675ce4194a8213792cf7ada50cae5131149e4b890ab61e0b8d50d0ed diff --git a/sys-devel/gcc/gcc-3.3.6-r2.ebuild b/sys-devel/gcc/gcc-3.3.6-r2.ebuild new file mode 100644 index 000000000000..75e1ed193382 --- /dev/null +++ b/sys-devel/gcc/gcc-3.3.6-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PATCH_VER="1.10" +UCLIBC_VER="1.0" +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 +} |