summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-06-01 09:45:16 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-06-01 11:10:30 +0100
commit901d47f9b9e2e987bfc4252e39dfcf78b5a0ef3c (patch)
tree3554c36a36c442d09219c6306d645e7f6feb4271 /sys-devel
parentsys-devel/gcc: 4.7.4: cut 1.6 patchset (diff)
downloadgentoo-901d47f9b9e2e987bfc4252e39dfcf78b5a0ef3c.tar.gz
gentoo-901d47f9b9e2e987bfc4252e39dfcf78b5a0ef3c.tar.bz2
gentoo-901d47f9b9e2e987bfc4252e39dfcf78b5a0ef3c.zip
sys-devel/gcc: 4.6.4: cut 1.5 patchset
Three new patches: 95_all_libjava-ucontext.patch: fix libjava build on modern glibc 96_all_gcc-gperf-gnu-inline.patch: fix inline declaration for modern gcc 97_all_cgraph_node-gcc-9.patch: workaround buid failure against gcc-9.1.0 Closes: https://bugs.gentoo.org/629502 Bug: https://gcc.gnu.org/PR90677 Package-Manager: Portage-2.3.67, Repoman-2.3.13 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/Manifest1
-rw-r--r--sys-devel/gcc/gcc-4.6.4-r2.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 06f90a48a385..de31dc618cb9 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -36,6 +36,7 @@ DIST gcc-4.5.4-uclibc-patches-1.0.tar.bz2 3019 BLAKE2B abf53f85a4af1336437963595
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-patches-1.5.tar.bz2 19017 BLAKE2B e2e9642ef97b126df48b480b7a84d47597686932cd3447f3b210518d5eddfe4d90521a6249f174e4480315a924c48cf98c2a2bf0e383eeddc6d1d75770f2da2e SHA512 f609e71514db89d51fb5047ca12cd0d1dbe352a0047d7ca744115df3ae7c0c61ba8f72b2642080267a549b1c7fad65f728f49a50d00f6796042dafc655de10ea
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-r2.ebuild b/sys-devel/gcc/gcc-4.6.4-r2.ebuild
new file mode 100644
index 000000000000..99f7924a0ced
--- /dev/null
+++ b/sys-devel/gcc/gcc-4.6.4-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+PATCH_VER="1.5"
+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
+}