diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-09-23 22:39:24 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-09-23 23:35:59 +0100 |
commit | 5d8a61759fc24d5af8749b92259a25ef74808e13 (patch) | |
tree | d7e6b3ef3ad7c7f2bdda325242045eef9cb0f06b /sys-devel/gcc | |
parent | sys-devel/gcc: cut 1.5 patchset for 4.7.4 (diff) | |
download | gentoo-5d8a61759fc24d5af8749b92259a25ef74808e13.tar.gz gentoo-5d8a61759fc24d5af8749b92259a25ef74808e13.tar.bz2 gentoo-5d8a61759fc24d5af8749b92259a25ef74808e13.zip |
sys-devel/gcc: cut 1.4 patchset for 4.6.4
Two new patches and four removals:
- 10_all_default-fortify-source.patch
- 11_all_gcc-default-format-security.patch
- 12_all_default-warn-trampolines.patch
+ 34_all_libjava-classpath-locale-sort.patch
fix sortting on cs_CZ locale
- 99_all_testsuite-01-Wformat.patch
+ 94_all_ucontext-to-ucontext_t.patch
fix build failure against glibc-2.28
Bug: https://bugs.gentoo.org/563710
Bug: https://bugs.gentoo.org/629502
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'sys-devel/gcc')
-rw-r--r-- | sys-devel/gcc/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-4.6.4-r1.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest index dec18ca9b1ba..899fe7bb6a3b 100644 --- a/sys-devel/gcc/Manifest +++ b/sys-devel/gcc/Manifest @@ -30,6 +30,7 @@ DIST gcc-4.5.4-patches-1.3.tar.bz2 20108 BLAKE2B 2a78a7e0228ae78996e36b14ad2961d DIST gcc-4.5.4-uclibc-patches-1.0.tar.bz2 3019 BLAKE2B abf53f85a4af1336437963595b04d2c24284ebf7cc76d845bc3502cf54ef2dcfc21f76fda336f99165cc9939daa8b8c8dc9493c276879670a3cd0ac0efe526da SHA512 b6aa0a7d029a2a00b36fe8906d76b434fcdfc7191cbc8fffbcb8b89a66eba61ba6cd0cfdba94a79929487fbbad2163083b085476498f8be77ad473d078b0095a DIST gcc-4.5.4.tar.bz2 66426133 BLAKE2B 8725c7868e1fc9e72a28635f39aa014681aa502db4687e5d2d6ec7cf6d30b04902eca2ebbc1ef2b0e20b89908424d0053f0958e24ded5366fa1c38469913caa2 SHA512 78696b287d46aacd6f150920da376ea32f58ad9f0dafd2d3b7fa6dbdd8dd7afe659108d1dfaa5807617fc5248719f50b39c37ade0173ea5b9fec2091f4656115 DIST gcc-4.6.4-patches-1.3.tar.bz2 16443 BLAKE2B a6d5cb1b51319e3167f687b7efddffd7dc8772b656fc42bb68687c2acc95095c57edcc6c7677b4b23c3666545a7eab6129c39abd3c7877c50c699be1b9b2ac65 SHA512 ed904bb8438a23a2e1ec3aff28c4451128421426305ff07de50edbad51a066bee9d1a9042a9b26c36dbd57e1eb044a474088945d6d780c6e98d7563947fb9b9a +DIST gcc-4.6.4-patches-1.4.tar.bz2 17358 BLAKE2B 636ec75b1d3b6feeba5b21fc40faef6f8b23ff4079f80873f4faba4c44ecd9bdeac6b5a25dd6efcd1816ed594ea8d5d64c7bd41b7b7888fb04bf58148ceb50d5 SHA512 404d2ed19dd59b5eeff64ed5302eba48fc7e0613c20e3e40ebfe0a19131571d059d690113c7c5c00e8547615c6d1466beaa1e8ea16407d8208380c02dfb051b8 DIST gcc-4.6.4-uclibc-patches-1.0.tar.bz2 3010 BLAKE2B e841db5125638b0ec34323d0500786ab6577042a22af3b423433542164408199ac4ff1036d27999aa01aa96e9e50988df2e86835102142f74c3f8fb33096a47e SHA512 fd289089a30c768b0ec4e3459cf494bc5e9d4ecf87056dc183277c712f7d69ac4cf900950270d8eacfe686b4aa906e1ece87cae52f2cb00642e96c0b95dcf133 DIST gcc-4.6.4.tar.bz2 72006076 BLAKE2B 321c14c097c18cf60c32d228720980717e25e22e26ce5e75c3a411c423f9657eb896974200664132e2fb10c3010c5136d2da7f3c916fffddf7e4afe4e8bfdc20 SHA512 b5a5395782e0b9e61cda052f6e00c8575d1aa0b7e8db9e34c06e4e45f12ff37b436018536b7fa69a04a4235b5b368895652e3ed8fab2fe11763f9782ed9161dc DIST gcc-4.7.4-patches-1.4.tar.bz2 18072 BLAKE2B 6bab25aee9f9ef605ce2942928a9d1aa91371b8fdec00643805e5010a4b0ffb043e0dd1a119d1064f79e499983374ed39e475a9718fce632cad07811363ed56b SHA512 9f5d68ba62aee909023542dcece81e4e448ea750254258107d4f70291d8ae99469c4518e42ffddbe6b622b258f463127be6e6ef7eaaeeeb0f59b3b719f3eadca diff --git a/sys-devel/gcc/gcc-4.6.4-r1.ebuild b/sys-devel/gcc/gcc-4.6.4-r1.ebuild new file mode 100644 index 000000000000..02228a48f0a7 --- /dev/null +++ b/sys-devel/gcc/gcc-4.6.4-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PATCH_VER="1.4" +UCLIBC_VER="1.0" + +inherit eutils toolchain + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" + +RDEPEND="" +DEPEND="${RDEPEND} + elibc_glibc? ( >=sys-libs/glibc-2.8 ) + >=${CATEGORY}/binutils-2.18" + +if [[ ${CATEGORY} != cross-* ]] ; then + PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" +fi + +src_prepare() { + 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 + + toolchain_src_prepare +} |