sys-devel/kgcc64: bump up to 8.3.0, patchset 1.0
authorSergei Trofimovich <slyfox@gentoo.org>
Fri, 22 Feb 2019 23:57:48 +0000 (23:57 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 22 Feb 2019 23:58:31 +0000 (23:58 +0000)
It's a verbatim copy of 8.2.0 patchset with upstreamed patches removed.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
sys-devel/kgcc64/Manifest
sys-devel/kgcc64/kgcc64-8.3.0.ebuild [new file with mode: 0644]
sys-devel/kgcc64/metadata.xml

index b69c6a955222e443e613bab2b852d9d5ab9e2525..c2a5131a94ceb547f970436e10fa55f860f9b924 100644 (file)
@@ -36,3 +36,5 @@ DIST gcc-7.3.0-patches-1.0.tar.bz2 6757 BLAKE2B ffe6a69e61dc4379fc77b0bf21971ff6
 DIST gcc-7.3.0.tar.xz 62462388 BLAKE2B dc8f132b21bd0543c3d9dd17557038aafe65675aa73c540954234a3c972b4c31c939149bd50183d072ab6c8d16919e19daeaaffd619ce2ccd62dbdf9a5bb3302 SHA512 ad41a7e4584e40e92cdf860bc0288500fbaf5dfb7e8c3fcabe9eba809c87bcfa85b46c19c19921b0cdf6d05483faede8287bb9ea120c0d1559449a70e602c8d4
 DIST gcc-8.1.0-patches-1.3.tar.bz2 10713 BLAKE2B 3e5cddf5b0c0b9b2bbd2b0aa546dc3aee9bf0e8421656c9260bb7561baa8bb53f7b6ad651bf12d68102fd9e9f97fa17c3306d52a657a46d2dedd16e9a1a74579 SHA512 37c785fbfd801d48c46c65e21d33085c1470942531b8f13c28f933debcec944a1389a50fe0f72afa7dbba25a931959a3ebb1c42911abadd11ee530812f1034bb
 DIST gcc-8.2.0.tar.xz 63460876 BLAKE2B c5372b0bdfcd2729577dca287b294623b78c583491998404eb307768c573618bdaaedb7d9ae0e39ba41a62a14b9525dff0e3083285754b7f5bb9987ecf635185 SHA512 64898a165f67e136d802a92e7633bf1b06c85266027e52127ea025bf5fc2291b5e858288aac0bdba246e6cdf7c6ec88bc8e0e7f3f6f1985f4297710cafde56ed
+DIST gcc-8.3.0-patches-1.0.tar.bz2 12278 BLAKE2B 793465c5de0af850c7f3017b3011e68f3bd1664e6ce3500a3dc3003d37c03fe81857698957770a135eadd395a7767fa804d354ecdcdeb1d83623280ca569d4ec SHA512 0efadd2481713992807fed2683666f1094b3757674754601c079569f3ef70cd7aed3cefc9f815f4e59a21d37e4e940c122df714e16f3878a5f966450c4273669
+DIST gcc-8.3.0.tar.xz 63694700 BLAKE2B 71df2ff5bd6874d57519c2e9af6b22152c8c4d7fab906a5f427b41bc4e8e742127592a8684120d9d3c9ce6241439531850be08ec0a4f29dbfdee95435655fdca SHA512 1811337ae3add9680cec64968a2509d085b6dc5b6783fc1e8c295e3e47416196fd1a3ad8dfe7e10be2276b4f62c357659ce2902f239f60a8648548231b4b5802
diff --git a/sys-devel/kgcc64/kgcc64-8.3.0.ebuild b/sys-devel/kgcc64/kgcc64-8.3.0.ebuild
new file mode 100644 (file)
index 0000000..303eb1b
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+case ${CHOST} in
+       hppa*)    CTARGET=hppa64-${CHOST#*-};;
+       mips*)    CTARGET=${CHOST/mips/mips64};;
+       powerpc*) CTARGET=${CHOST/powerpc/powerpc64};;
+       s390*)    CTARGET=${CHOST/s390/s390x};;
+       sparc*)   CTARGET=${CHOST/sparc/sparc64};;
+       i?86*)    CTARGET=x86_64-${CHOST#*-};;
+esac
+export CTARGET
+TOOLCHAIN_ALLOWED_LANGS="c"
+GCC_TARGET_NO_MULTILIB=true
+
+PATCH_VER="1.0"
+inherit eutils toolchain
+
+DESCRIPTION="64bit kernel compiler"
+
+# Works on hppa and mips; all other archs, refer to bug #228115
+KEYWORDS="~hppa ~mips"
+
+RDEPEND=">=dev-libs/gmp-4.3.2
+       >=dev-libs/mpfr-2.4.2
+       >=dev-libs/mpc-0.8.1
+       >=sys-devel/gcc-config-1.4"
+# unlike every other target, hppa has not unified the 32/64 bit
+# ports in binutils yet
+DEPEND="${RDEPEND}
+       hppa? ( sys-devel/binutils-hppa64 )
+       !sys-devel/gcc-hppa64
+       !sys-devel/gcc-mips64
+       !sys-devel/gcc-powerpc64
+       !sys-devel/gcc-sparc64
+       >=sys-apps/texinfo-4.8
+       >=sys-devel/bison-1.875"
+
+pkg_postinst() {
+       toolchain_pkg_postinst
+
+       cd "${ROOT}"/usr/bin
+       local x
+       for x in gcc cpp ; do
+               cat <<-EOF >${CTARGET%%-*}-linux-${x}
+               #!/bin/sh
+               exec ${CTARGET}-${x} "\$@"
+               EOF
+               chmod a+rx ${CTARGET%%-*}-linux-${x}
+       done
+}
index 2753a6abd172e352064da07c72763db62a4bba99..df7607df3a85177e6f1e23acabe4b1d4f1341f81 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-<email>toolchain@gentoo.org</email>
-<name>Gentoo Toolchain Project</name>
-</maintainer>
-<use>
-<flag name="regression-test">Run the testsuite and install the results (requires FEATURES=test)</flag>
-</use>
+  <maintainer type="project">
+    <email>toolchain@gentoo.org</email>
+    <name>Gentoo Toolchain Project</name>
+  </maintainer>
+  <use>
+    <flag name="regression-test">Run the testsuite and install the results (requires FEATURES=test)</flag>
+  </use>
 </pkgmetadata>