aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2020-02-25 21:51:14 -0600
committerJory Pratt <anarchy@gentoo.org>2020-02-25 21:51:14 -0600
commit19cf6f847b01479e412bd082cb22f6a46f73f1f3 (patch)
treeab5ac574d77b0514559ee941cc35fe187f2b58d7
parentmedia-libs/mesa: Version bump 20.0.0 (diff)
downloadmusl-19cf6f847b01479e412bd082cb22f6a46f73f1f3.tar.gz
musl-19cf6f847b01479e412bd082cb22f6a46f73f1f3.tar.bz2
musl-19cf6f847b01479e412bd082cb22f6a46f73f1f3.zip
sys-devel/gcc: cut 5 patchset
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jory Pratt <anarchy@gentoo.org>
-rw-r--r--sys-devel/gcc/Manifest1
-rw-r--r--sys-devel/gcc/gcc-9.2.0-r4.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index 9f1700b..d9042e9 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -4,4 +4,5 @@ DIST gcc-8.3.0-patches-1.1.tar.bz2 14430 BLAKE2B c702fbdb18c3c952cdb9adead3a193c
DIST gcc-8.3.0-patches-2.tar.bz2 16741 BLAKE2B b3db1b94749cb8a04cce8637429e15eda369ec741f236d8322716dcfae6db1dc9479dd4d7715aeb357a0b3106c7f23fd33eba466a041b8e2e0e57b6cb858786f SHA512 13a85ddf76563241973e061ba157942c81391d0b867c66f88da1ad66a79d99ccdd6bc324caca31eb31057c2d27ece89f6546d723a420b3af319c6865337321f1
DIST gcc-8.3.0.tar.xz 63694700 BLAKE2B 71df2ff5bd6874d57519c2e9af6b22152c8c4d7fab906a5f427b41bc4e8e742127592a8684120d9d3c9ce6241439531850be08ec0a4f29dbfdee95435655fdca SHA512 1811337ae3add9680cec64968a2509d085b6dc5b6783fc1e8c295e3e47416196fd1a3ad8dfe7e10be2276b4f62c357659ce2902f239f60a8648548231b4b5802
DIST gcc-9.2.0-patches-4.tar.bz2 21655 BLAKE2B 2acf6d83ec934a65e77d2079a024b42622e1234f0516f12839f7d03c2f3e1bb275037b020e35ba847d6809d5577ba966619c78345b75355df0a754d02ccf9819 SHA512 114e01a7b08ecb1feab24ef3cfc72c8953748f1526722b80c18602025eef132e2b4c05db59c7a23eb2e7f42ed48eb02d92bcd73b1ca932374d6bedaf89cc66d0
+DIST gcc-9.2.0-patches-5.tar.bz2 22929 BLAKE2B 2d8a69098d836d24ec295e2e0ff6864f34914473b1e4ae1630c3ee23c16aba8ee1a9c943c89a629d1c8a2d2018796ac4b01992fcd9d926c693423041572c8155 SHA512 79961204054b1eb91e87bb9f226ce236ffb8bacf1550b7a5abaf8c121fa373d9fa8fcd56f201887976f76056a22cf75a418b6221d0ea35050d3ec4465a764fc0
DIST gcc-9.2.0.tar.xz 70607648 BLAKE2B 41a5e148f9a6857d6599679964c203533f76f330ad527fbe7c5e746d78f6f6f6d6d0f330a67cb1e794e155be8d1cd6e986bcc8a116d620dca410b78f0bcdd453 SHA512 a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040
diff --git a/sys-devel/gcc/gcc-9.2.0-r4.ebuild b/sys-devel/gcc/gcc-9.2.0-r4.ebuild
new file mode 100644
index 0000000..6201ae3
--- /dev/null
+++ b/sys-devel/gcc/gcc-9.2.0-r4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PATCH_VER="5"
+
+inherit toolchain
+
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ elibc_glibc? ( >=sys-libs/glibc-2.13 )
+ >=${CATEGORY}/binutils-2.20"
+
+if [[ ${CATEGORY} != cross-* ]] ; then
+ PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.13 )"
+fi
+
+src_prepare() {
+ toolchain_src_prepare
+
+ if use elibc_musl || [[ ${CATEGORY} = cross-*-musl* ]]; then
+ eapply "${FILESDIR}"/6.3.0/cpu_indicator.patch
+ eapply "${FILESDIR}"/7.1.0/posix_memalign.patch
+ case $(tc-arch) in
+ amd64|arm64|ppc64) eapply "${FILESDIR}"/8.3.0/gcc-pure64.patch ;;
+ esac
+ fi
+
+ eapply_user
+}