summaryrefslogtreecommitdiff
path: root/sys-devel
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/Manifest.gzbin9341 -> 9329 bytes
-rw-r--r--sys-devel/autoconf-archive/Manifest8
-rw-r--r--sys-devel/autoconf-archive/autoconf-archive-2016.03.20-r1.ebuild28
-rw-r--r--sys-devel/autoconf-archive/autoconf-archive-2017.03.21.ebuild4
-rw-r--r--sys-devel/autoconf-archive/autoconf-archive-2017.09.28.ebuild2
-rw-r--r--sys-devel/autoconf-archive/files/autoconf-archive-2016.03.20-cxxcpp.patch111
-rw-r--r--sys-devel/autoconf-archive/files/autoconf-archive-2016.03.20-include.patch54
-rw-r--r--sys-devel/clang/Manifest12
-rw-r--r--sys-devel/clang/clang-4.0.1.ebuild8
-rw-r--r--sys-devel/clang/clang-5.0.1.ebuild6
-rw-r--r--sys-devel/clang/clang-6.0.0-r1.ebuild (renamed from sys-devel/clang/clang-6.0.0.ebuild)13
-rw-r--r--sys-devel/clang/clang-6.0.9999.ebuild6
-rw-r--r--sys-devel/clang/clang-9999.ebuild6
-rw-r--r--sys-devel/clang/files/6.0.0/0001-Driver-Avoid-invalidated-iterator-in-insertTargetAnd.patch55
-rw-r--r--sys-devel/clang/files/6.0.0/0002-test-Fix-Cross-DSO-CFI-Android-sanitizer-test-for-rt.patch30
-rw-r--r--sys-devel/crossdev/Manifest4
-rw-r--r--sys-devel/crossdev/crossdev-20180302-r1.ebuild (renamed from sys-devel/crossdev/crossdev-20180302.ebuild)6
-rw-r--r--sys-devel/crossdev/crossdev-99999999.ebuild6
-rw-r--r--sys-devel/distcc/Manifest2
-rw-r--r--sys-devel/distcc/distcc-3.3.ebuild194
-rw-r--r--sys-devel/gdb/Manifest2
-rw-r--r--sys-devel/gdb/gdb-7.12.1.ebuild4
-rw-r--r--sys-devel/patch/Manifest2
-rw-r--r--sys-devel/patch/patch-2.7.6-r1.ebuild2
24 files changed, 348 insertions, 217 deletions
diff --git a/sys-devel/Manifest.gz b/sys-devel/Manifest.gz
index 164127502e5a..96a033b0d3ab 100644
--- a/sys-devel/Manifest.gz
+++ b/sys-devel/Manifest.gz
Binary files differ
diff --git a/sys-devel/autoconf-archive/Manifest b/sys-devel/autoconf-archive/Manifest
index 70383d813041..7bee0fb1e94f 100644
--- a/sys-devel/autoconf-archive/Manifest
+++ b/sys-devel/autoconf-archive/Manifest
@@ -1,11 +1,7 @@
-AUX autoconf-archive-2016.03.20-cxxcpp.patch 3657 BLAKE2B a92ccd39ac13a4d9df3b52b872797e0365afd3842cfb583a2e2b31f0b5215c6aef2212b35c8655202ae8c1fb1835b5b66b25b6fef806054d2858d39744b85425 SHA512 6e5ab9a08e44c08e53aa0ddd8d92262c38e49fdf601e36168a7facc87362b0ff652c4ef2bf07883298c41f600844c12afea24375e7cd444ed13717e8a529d066
-AUX autoconf-archive-2016.03.20-include.patch 1803 BLAKE2B 734cd556c5bb86ef19bc8afd84e82fb2d339a6401a70ad50ecbab874d219804d83be2d7f5a71ca2d16909b9028a1a6fe4631709bb42c63ddb937c62a283c13c5 SHA512 f58af537d2a97a6da30f370f18caa0b678e0fadb8bfb434ce92ff13e280e653e8459ff92af2947aff2183f2b6b76f582087c01d5179c2e34163b731712278878
-DIST autoconf-archive-2016.03.20.tar.xz 613612 BLAKE2B be3338572abc671ddbccf9bb6c14a3358156dce651bd8da563164d6e55eb326846951d31de286d9d932c6e77e0f83a5f55f65672e0860b72126b7fc1febe0a14 SHA512 194d639d82a3377cdaf843c4a49d3ce3843ea37499b169124ddd2fca1800c0a559e27087a062109482b22f68b30f25ebb6da4b769eb6174d6e781162c83703b3
DIST autoconf-archive-2017.03.21.tar.xz 633132 BLAKE2B d2dd681a3b8c30fe50ae70e8c938e6c235e2747475abc7bba62dc1836f9ca49733935ec5372d2497d6dcef43dbf306a5b53604cb300e24915d43c9fbb5a62b05 SHA512 826233fcdd0cb5a1fe18bd52477e3a8afcaf8719ea376b3be0864df6b481f0fef8fd8083485b1565a14c13ad64dbc0ae93149a62e16da9a4d24db8063120cc3a
DIST autoconf-archive-2017.09.28.tar.xz 645388 BLAKE2B b7b62d30ddde199d0f1a61bb78c50f932ff4e66a57bc318f8dc096f506ab81c3308d389690fdf495c4b9cf405b0139126aea8f4cb3219ed8e94c9c0d707ad065 SHA512 2aa271fdd67fa3caf20e07eb8332d88f7008eefe1df447980d42cb2104313d99947b94ffdb0f6f4b4c8156cfc73d9e0b6c27a5f133c6b73787ef641d9951be90
DIST autoconf-archive-2018.03.13.tar.xz 649496 BLAKE2B a69c381d734aa41337b8af783196f13e7aa49d936289df237c56a9be7662cd2b766ac42fa10f4cd46feac3998a12c49745d994c5df95b5dd449646dae300a8f8 SHA512 301832a02b1913dd46cc34f6479264b37032d78457b2df526f0aafc752996972ca9c74fdae68fbe0f490268019c45329d564f263cbaff30203bbb4b4a8d5ad5f
-EBUILD autoconf-archive-2016.03.20-r1.ebuild 771 BLAKE2B a0df912262006b18fa720f8d9d85522c153ed844b63771d9aad905300008fb6cfa7db21d66d03a8397c84885204eacf2ee66a8dc10c1d002b95fac8ce0009733 SHA512 3389dbf76b58e91adbfa55e13c2f2c86d6451765bed33e8eec11e6bf2c2a2a57d1b0a749530f73a55ac0df7af0aff47ca93ae97450add7641ddeceed6e4de700
-EBUILD autoconf-archive-2017.03.21.ebuild 689 BLAKE2B 186da4be991148dfe8b327d0bc6f5c35360cd64f57a5261a53f6c8f95eab3b2493b4572c0ac08d69cc3a5898c0bdbe7e8bad259887e307f671d04ecdde9d9857 SHA512 8048c045fcd581ff244a50b51815e82cab589877ac1add9634620bb6cdc68a7b5ccd0bd91edf522a35439e5c31c1eb741b6c3bc1fc9ed2b346d67e7a300eb314
-EBUILD autoconf-archive-2017.09.28.ebuild 712 BLAKE2B 441264b77892e6a3cf5ce85dcc622ccc4a25ade94d67f110f90fe4e243fa651d7ac2edffb667a32830586e93ceda99273ecbf6651c0be4f5f6c0e6a8feb266eb SHA512 4ce599500e2379d0fdfb383ebbf23de2f4944871fe803ae6414e28f3f5595231d06fa31add4c139fcbd5cd73c6d204cf7d1ac15383a217f8c67e1dfa28f7ebe9
+EBUILD autoconf-archive-2017.03.21.ebuild 687 BLAKE2B 9bbda3ebd22e06f9ccac2bb9cd09c36ae37cadea5caa31095109d79978e6c1574148bfe091e9677e54d89520e80d357917869032441cf6ef9996a53affe12a2f SHA512 e7d95e98a548a02d48e784bc7ee2bc65b3fffdf49dbe0ce671cb0c6218a97fa61262ff0b38817d2dea34a63eb9d9303102e76503359a5aea4e2cca0ee3ffed31
+EBUILD autoconf-archive-2017.09.28.ebuild 702 BLAKE2B 2205768a8805aabc71fb2d58e8a530d67666568bc751ce0793bd3bab27004b8bf1466984077c3e85675f8f82666d8acda14e7373e6a7046c05f7eccb4a85e36a SHA512 8cd033b607502df07f7c84a1a3ee67d0cea8ba282aefbfc62a7cb5b2e3f876ced6cab892e9b1f926b922c07bbe2a4d150432576820aea4ee0c75bccd3daf396f
EBUILD autoconf-archive-2018.03.13.ebuild 712 BLAKE2B 441264b77892e6a3cf5ce85dcc622ccc4a25ade94d67f110f90fe4e243fa651d7ac2edffb667a32830586e93ceda99273ecbf6651c0be4f5f6c0e6a8feb266eb SHA512 4ce599500e2379d0fdfb383ebbf23de2f4944871fe803ae6414e28f3f5595231d06fa31add4c139fcbd5cd73c6d204cf7d1ac15383a217f8c67e1dfa28f7ebe9
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
diff --git a/sys-devel/autoconf-archive/autoconf-archive-2016.03.20-r1.ebuild b/sys-devel/autoconf-archive/autoconf-archive-2016.03.20-r1.ebuild
deleted file mode 100644
index 497b2bb6e634..000000000000
--- a/sys-devel/autoconf-archive/autoconf-archive-2016.03.20-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-DESCRIPTION="GNU Autoconf Macro Archive"
-HOMEPAGE="https://www.gnu.org/software/autoconf-archive/"
-SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
-
-# File collisions. #540246
-RDEPEND="!=gnome-base/gnome-common-3.14.0
- !>=gnome-base/gnome-common-3.14.0-r1[-autoconf-archive(+)]"
-DEPEND=""
-
-PATCHES=(
- "${FILESDIR}"/${P}-cxxcpp.patch #581346
- "${FILESDIR}"/${P}-include.patch #581346
-)
-
-src_install() {
- default
- rm -r "${ED}/usr/share/${PN}" || die
-}
diff --git a/sys-devel/autoconf-archive/autoconf-archive-2017.03.21.ebuild b/sys-devel/autoconf-archive/autoconf-archive-2017.03.21.ebuild
index ff88f74d6da3..3d7b45ab32b8 100644
--- a/sys-devel/autoconf-archive/autoconf-archive-2017.03.21.ebuild
+++ b/sys-devel/autoconf-archive/autoconf-archive-2017.03.21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
# File collisions. #540246
diff --git a/sys-devel/autoconf-archive/autoconf-archive-2017.09.28.ebuild b/sys-devel/autoconf-archive/autoconf-archive-2017.09.28.ebuild
index babf002fe878..b66023236f0f 100644
--- a/sys-devel/autoconf-archive/autoconf-archive-2017.09.28.ebuild
+++ b/sys-devel/autoconf-archive/autoconf-archive-2017.09.28.ebuild
@@ -9,7 +9,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris ~amd64-fbsd"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~x64-cygwin amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
# File collisions. #540246
diff --git a/sys-devel/autoconf-archive/files/autoconf-archive-2016.03.20-cxxcpp.patch b/sys-devel/autoconf-archive/files/autoconf-archive-2016.03.20-cxxcpp.patch
deleted file mode 100644
index c42a655302c1..000000000000
--- a/sys-devel/autoconf-archive/files/autoconf-archive-2016.03.20-cxxcpp.patch
+++ /dev/null
@@ -1,111 +0,0 @@
-https://bugs.gentoo.org/581346
-
-From 34104ea9e635fae5551fd1d6495a80f8041c4adc Mon Sep 17 00:00:00 2001
-From: "Enrico M. Crisostomo" <enrico.m.crisostomo@gmail.com>
-Date: Sun, 20 Mar 2016 14:17:15 +0100
-Subject: [PATCH] Update CXXCPP after updating CXX.
-
-Rewrap text.
-
-Rewrap.
----
- m4/ax_cxx_compile_stdcxx.m4 | 14 ++++++++++----
- m4/ax_cxx_compile_stdcxx_11.m4 | 5 +++--
- m4/ax_cxx_compile_stdcxx_14.m4 | 5 +++--
- 3 files changed, 16 insertions(+), 8 deletions(-)
-
-diff --git a/m4/ax_cxx_compile_stdcxx.m4 b/m4/ax_cxx_compile_stdcxx.m4
-index 8adc765..2c18e49 100644
---- a/m4/ax_cxx_compile_stdcxx.m4
-+++ b/m4/ax_cxx_compile_stdcxx.m4
-@@ -9,9 +9,9 @@
- # DESCRIPTION
- #
- # Check for baseline language coverage in the compiler for the specified
--# version of the C++ standard. If necessary, add switches to CXX to
--# enable support. VERSION may be '11' (for the C++11 standard) or '14'
--# (for the C++14 standard).
-+# version of the C++ standard. If necessary, add switches to CXX and
-+# CXXCPP to enable support. VERSION may be '11' (for the C++11 standard)
-+# or '14' (for the C++14 standard).
- #
- # The second argument, if specified, indicates whether you insist on an
- # extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
-@@ -39,7 +39,7 @@
- # and this notice are preserved. This file is offered as-is, without any
- # warranty.
-
--#serial 3
-+#serial 4
-
- dnl This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro
- dnl (serial version number 13).
-@@ -82,6 +82,9 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl
- CXX="$ac_save_CXX"])
- if eval test x\$$cachevar = xyes; then
- CXX="$CXX $switch"
-+ if test -n "$CXXCPP" ; then
-+ CXXCPP="$CXXCPP $switch"
-+ fi
- ac_success=yes
- break
- fi
-@@ -105,6 +108,9 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl
- CXX="$ac_save_CXX"])
- if eval test x\$$cachevar = xyes; then
- CXX="$CXX $switch"
-+ if test -n "$CXXCPP" ; then
-+ CXXCPP="$CXXCPP $switch"
-+ fi
- ac_success=yes
- break
- fi
-diff --git a/m4/ax_cxx_compile_stdcxx_11.m4 b/m4/ax_cxx_compile_stdcxx_11.m4
-index b3d4bfd..3dd5cf9 100644
---- a/m4/ax_cxx_compile_stdcxx_11.m4
-+++ b/m4/ax_cxx_compile_stdcxx_11.m4
-@@ -9,7 +9,8 @@
- # DESCRIPTION
- #
- # Check for baseline language coverage in the compiler for the C++11
--# standard; if necessary, add switches to CXX to enable support.
-+# standard; if necessary, add switches to CXX and CXXCPP to enable
-+# support.
- #
- # This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
- # macro with the version set to C++11. The two optional arguments are
-@@ -32,7 +33,7 @@
- # and this notice are preserved. This file is offered as-is, without any
- # warranty.
-
--#serial 15
-+#serial 16
-
- include([ax_cxx_compile_stdcxx.m4])
-
-diff --git a/m4/ax_cxx_compile_stdcxx_14.m4 b/m4/ax_cxx_compile_stdcxx_14.m4
-index 741accf..6d2123a 100644
---- a/m4/ax_cxx_compile_stdcxx_14.m4
-+++ b/m4/ax_cxx_compile_stdcxx_14.m4
-@@ -9,7 +9,8 @@
- # DESCRIPTION
- #
- # Check for baseline language coverage in the compiler for the C++14
--# standard; if necessary, add switches to CXX to enable support.
-+# standard; if necessary, add switches to CXX and CXXCPP to enable
-+# support.
- #
- # This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
- # macro with the version set to C++14. The two optional arguments are
-@@ -27,7 +28,7 @@
- # and this notice are preserved. This file is offered as-is, without any
- # warranty.
-
--#serial 2
-+#serial 3
-
- include([ax_cxx_compile_stdcxx.m4])
-
---
-2.8.2
-
diff --git a/sys-devel/autoconf-archive/files/autoconf-archive-2016.03.20-include.patch b/sys-devel/autoconf-archive/files/autoconf-archive-2016.03.20-include.patch
deleted file mode 100644
index 4ba295ea1845..000000000000
--- a/sys-devel/autoconf-archive/files/autoconf-archive-2016.03.20-include.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-https://bugs.gentoo.org/581346
-
-From d343892fbd0605a9375ff1ae0467aa320a404b12 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger <vapier@gentoo.org>
-Date: Sat, 7 May 2016 19:41:40 -0400
-Subject: [PATCH] fix include errors w/AX_CXX_COMPILE_STDCXX_1[14]
-
-The search path for `include` is the current working directory, so trying
-to include other m4 files directly only works if they live in the same dir
-as where you're running `aclocal`. Otherwise we end up with errors like:
- $ cd lcd4linux-0.10.1-RC2
- $ aclocal
- /usr/share/aclocal/ax_cxx_compile_stdcxx_14.m4:32: file 'ax_cxx_compile_stdcxx.m4' does not exist
-
-Use the AX_REQUIRE_DEFINED macro instead to make sure the macro we want
-exists.
----
- m4/ax_cxx_compile_stdcxx_11.m4 | 5 ++---
- m4/ax_cxx_compile_stdcxx_14.m4 | 5 ++---
- 2 files changed, 4 insertions(+), 6 deletions(-)
-
-diff --git a/m4/ax_cxx_compile_stdcxx_11.m4 b/m4/ax_cxx_compile_stdcxx_11.m4
-index 3dd5cf9..0aadeaf 100644
---- a/m4/ax_cxx_compile_stdcxx_11.m4
-+++ b/m4/ax_cxx_compile_stdcxx_11.m4
-@@ -33,8 +33,7 @@
- # and this notice are preserved. This file is offered as-is, without any
- # warranty.
-
--#serial 16
--
--include([ax_cxx_compile_stdcxx.m4])
-+#serial 17
-
-+AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])
- AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [AX_CXX_COMPILE_STDCXX([11], [$1], [$2])])
-diff --git a/m4/ax_cxx_compile_stdcxx_14.m4 b/m4/ax_cxx_compile_stdcxx_14.m4
-index 6d2123a..51123f2 100644
---- a/m4/ax_cxx_compile_stdcxx_14.m4
-+++ b/m4/ax_cxx_compile_stdcxx_14.m4
-@@ -28,8 +28,7 @@
- # and this notice are preserved. This file is offered as-is, without any
- # warranty.
-
--#serial 3
--
--include([ax_cxx_compile_stdcxx.m4])
-+#serial 4
-
-+AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])
- AC_DEFUN([AX_CXX_COMPILE_STDCXX_14], [AX_CXX_COMPILE_STDCXX([14], [$1], [$2])])
---
-2.8.2
-
diff --git a/sys-devel/clang/Manifest b/sys-devel/clang/Manifest
index b97b41b81f4b..b0a2344423db 100644
--- a/sys-devel/clang/Manifest
+++ b/sys-devel/clang/Manifest
@@ -4,6 +4,8 @@ AUX 4.0.1/extra/0001-test-Fix-test-dependencies-when-using-installed-tool.patch
AUX 5.0.1/0001-Driver-Use-arch-type-to-find-compiler-rt-libraries-o.patch 6888 BLAKE2B e6d9907b05f99fb21008e7533f348348a3fe81249e6bcd0c473b82ba2dbb3651f7c27ba8c84053eb9c5832de1df4de7632971fc48d47aa9fff673f76e5688263 SHA512 6d1f35f39c15b11ce631477eefcca7ade90cb08e5992839273f97c339ef6bf0deecf9625fdacbad6e8cc61e4fd213e0e1c582c407ac051d99545962e310344fe
AUX 5.0.1/darwin_prefix-include-paths.patch 690 BLAKE2B cfb96eb259fb7d557d215be08ea3babcae6dc1353171fad7f297f787d476d28768c7c1bbe6efc7404ea638f1dc6b4b36e1c17e141faf82be623bbd96d5e09118 SHA512 5f8ecabaf43853964bffeb3953b205bea7e8928fd53637d01842723ac8344e19cc639f6f06c199f2be88b73e60b6eab1987bc5ee7dfeaea5e710eacab90f3533
AUX 5.0.1/extra/0002-test-Fix-clang-library-dir-in-LD_LIBRARY_PATH-For-st.patch 3411 BLAKE2B a47f686dffa3e710435291670b8be7b99ea89d86092230f9acce328d24efa7ee43a5023b8deb482a497c1b54eec02c89291e4f10ad2c60382cc4ebe7c913981e SHA512 1ebfe7a6d06dd2991923cd1142c5c5b09ba2d06a3c7e0cbcb5b0f1d34aee57bf585941c0dd44ab331e9427828e5c63ea7475d673ccd3ec8617b99c59c56229a0
+AUX 6.0.0/0001-Driver-Avoid-invalidated-iterator-in-insertTargetAnd.patch 2041 BLAKE2B 27d95ce8b9eb0aa2536db6eafae8c6c72b2446f8b839338bcdfd7136ef8fcf5f5b4f3a38dffb04c73d603d8da418475edf925b2a1dc6058b00fa1e4fae048bc6 SHA512 ce45081a6a77584142502af43b77b00e6e6857dc37f04ba872453585ec007fd4cf2548cce07d1450ef8f3ece8ea7850c63ab023545330714649a6e2035f04100
+AUX 6.0.0/0002-test-Fix-Cross-DSO-CFI-Android-sanitizer-test-for-rt.patch 1256 BLAKE2B e71f32b08defa1ba59b574e9314e272107638676f1b1469a448efced144c680ffde4d76e34fa3fa5786859bf6e04050bd23150d7c0b98f8849f5d9355eacb646 SHA512 260096c1c7e6ba6f35537873cb6ba83f2271cb50446c50f6f1a5c88138c23508df16c99cac8664b5be0d56f2e0fe288f51a27424ff0b56c317d7a7e07562e0fc
DIST cfe-4.0.1.src.tar.xz 10933628 BLAKE2B bc1bb8875e83ccecd446a48cfa41f5c98a09d6ad24ff439a983f629711b4513b9c4bee4070f8df13b6b2a52d673b0706733a4c151ce5021a0233147debff14ac SHA512 936c9e1626b27e63a4fb11f3c0cb998eeaf9a520ad6e2bcd67cb4352e59e7781ecc700df79794f3fd70473d90b7e2ba418a39038eb0146b68e843f0705c1f964
DIST cfe-5.0.1.src.tar.xz 11483036 BLAKE2B c4eb54cd8271b62cf7a2219db0b599b68c00b6e574d1946220efbd1633e841796e6717d6eeb35e84a6db32a731a3285b59cedeb3b1a8f3c3c502b799fdd0a720 SHA512 6619177a2ff9934fe8b15d6aa229abb8e34d0b1a75228d9efba9393daf71d6419a7256de57b31e2f9f829f71f842118556f996e86ee076f1e0a7cd394dfd31a2
DIST cfe-6.0.0.src.tar.xz 11959224 BLAKE2B 257edbaedf72bd941b67b4aa2f152a96a37bbea72d21d22d4445152685efe40d75b9a7a39955545643e841ad6693ef12e52b207b9119098774f39e858b64bc09 SHA512 e886dd27448503bbfc7fd4f68eb089c19b2f2be4f0e5b26d3df253833f60b91d70b472a6b530063386e2252075b110ce9f5942800feddf6c34b94a75cf7bd5c6
@@ -21,9 +23,9 @@ EBUILD clang-3.5.2-r100.ebuild 972 BLAKE2B 0f17918969ee1034e1febc34afe95a29dddcf
EBUILD clang-3.6.2-r100.ebuild 972 BLAKE2B 865d1b2ca82dc3e4965f676adee77bcebb285fd3071caa37a399795426f541cbfb4a380e615673a2a1ca6c2832becd21e6252b678f2c1047a0605fdb5db2845c SHA512 604f7551a0081e7de09875f54a64502e8d2e97341bd44e4d2ae35ecd2392b22b7aea5fdf4923cf196cde1de5711f05868943d3f802d975118426ee43d0877f6f
EBUILD clang-3.7.1-r100.ebuild 1121 BLAKE2B 9cf6e15e5a2fa9d400731747105f65c8ef14d20e5a982f02b53a13ad1f269b86c298603e6625340670fffd74e434c92df7fb22cfb4cd7af4d75501a0520b5106 SHA512 5280504ce38eba8da79cf1c31b21bcbd07ad9ecb3db59a7054f829ed43d48744d16760cbaab9ef32f01345a9e7f54f8a63091dda3687115654a110f5a0e227bf
EBUILD clang-3.9.1-r100.ebuild 1534 BLAKE2B b269b09553ec5559ad90ffdfcaa20604c10fbe394651b7a9e037a9aaac878a6ef6cc2702a1cc6123cffa0ece705b851e908ac275f7fa854d099ec2ab8bafc9ed SHA512 84a3c016f9db31c6cbcee7620330b76af97702be3e92bd0db6e58883ccc054a792003a374cb5bf9d69b8f7c89165a2853ba495d58cd02d98524cf8025e99bcf0
-EBUILD clang-4.0.1.ebuild 9517 BLAKE2B 53814f4ad9b6f0f435c539cb00f7fea4cedf4e6b0d829e4c1528cfeab8b6a76c202fcdec888ac9d84a554e7abdb1512468016b032bf4ab54a752e4f41c129921 SHA512 6888217d052286d9324d2846d8e8b0c4c88a37bcf4b2ab278c4884c1d1806a8256b922381b8bc6cd2a2f61efdfd7e6e1c8fd5f1eb90ba7515b1fcb414478436d
-EBUILD clang-5.0.1.ebuild 9759 BLAKE2B eadb4c3b6e81b070ad8f95b4b36a227de96b5246ed731eb1fa66d61627aa2eb574bf12dc23c2cbad8397f03b4654d40e5d715cf53efcf72427509080bd42e61c SHA512 1a0bdcd561a1d3ab8a99f7a543adfce37338024ad7f0061ba4443b8065f332a926e352391f1fdfcf0402a60d7072cc37e8868cb6882ead7d41e10947490ab20e
-EBUILD clang-6.0.0.ebuild 9630 BLAKE2B 810a8897b7f2a260a6cf708e3993cbd337bbcc79423421f8247f14efd4ae3487942332d5d93a51e751ab19b71c97c04bcaeb1b7716a5cd60c3b270d892a0daa8 SHA512 b38fca101ea92644cc1514ad6e1350329a86447648f9c6e9023c9526dc50a0531388d9f6b52fcac34cdc54911d30b07dc48ff117bd27c8ce2ebb040f4b58d00e
-EBUILD clang-6.0.9999.ebuild 8947 BLAKE2B f3ba920f6996ef865536689968aa0456fc71a5471e7db5109757782d435b2e0a89791523d84a5577a65e0b69e099decfaf609768a202faad4749b7ee5c4babc5 SHA512 6b43bb691894db623cca9365114fc56b43694aacc4a116b38c3111ce3c1dc4c777a19508e9b150743ba308fbfa52bf4dee8f205f42224316d72ce5bdee0f6dd5
-EBUILD clang-9999.ebuild 9012 BLAKE2B d4a03b1a7e13c33335e6a2ea8e7a9681782146e1ea00659d3d0b418cd4eac95b5a5726e9e1a9d60bff7f7f5d3b3d5721a58e65dc3728a79e2895561f755809d0 SHA512 3d9eba14975f69631272a599b30b961a008be6ae4024fe09a7a9ac24dba2dc88b9be738a30311ed7aadcf560fb6b9a9a3c70df2669348b3b414b8096e5394c60
+EBUILD clang-4.0.1.ebuild 9614 BLAKE2B 91c600b1ee83aac262ff02438138623128815753f3e2f3cf044ca238b247077cf6a9fb80f5b0f24e69dd2e15dee66355a27b8e10f6186e1d6e9b84444861fe07 SHA512 5db57f9cdb4a33cf2551b2f1f3937d497b67295f45ecec66dc4a109a3511b7cb21f3cf73ace088858b3c399deddc95c784e7e99a510b7c46e8d3fd8288c63b90
+EBUILD clang-5.0.1.ebuild 9856 BLAKE2B 4df08235dff3a8e9bef959750a1f9f19a89efccfcbc379616a06fee39c329d368cfba0031185e0730ff4c04e7add7b7fd90ffd38f62be571331203adaf0578a5 SHA512 94a8315b473ef26096d45089d3ed4e529bc57d9961e4d78ecd5aac76b4dcd0fe2752113f50d39244b83ec65edc7f11581f1cbb746b89e33b23ae7e0994714a39
+EBUILD clang-6.0.0-r1.ebuild 10071 BLAKE2B a48e4cadf1b6309dc140f7140045c83f5a9fca25b1626e3c986d408cfb2268fcf0397f534c9da2810a78ed5039497c9a3c11c23d1f5742b4a93b79b129905891 SHA512 87c6df88a1ad4c21a212f82ac391f78159b5f21c7cc8568b1f8d65bd828ebe6027bd2cd750358719598289219905c9d6f09f1b30485942593d0f93821d0038c4
+EBUILD clang-6.0.9999.ebuild 9044 BLAKE2B 3aa47ac54c0372cd06c06bda2e31217b1899f9ff2bc89050718f6fdc2f6b7df2693176fe9e4a9610ea7cf8c19fe040d6b9597abc043e22cdb92f59e452d72ba9 SHA512 d2be0fd7dff16dc2e4bcfc0cb963cb4750dd6cdad914ff7cf6f2828fab724541e7588349ecf569b41717ae793dc0a49e24b8301fc00f68913c376a647448f244
+EBUILD clang-9999.ebuild 9109 BLAKE2B 7faafdf6e670ceed893bb1d740836c2fd0dbdb81f25eb60fc55302298ab9bd5e648c3f2f95b9a01aac318a5012918beb7396df7695af64946196a98527be3181 SHA512 2a09c8373eae2b4f913ee63fc6dbf2a522b8fadd2322bc75c5c8cd09b6a04c1a69810b3da687a820e88851aa3d67d6dcfee92c694e0fddf80d05327c0fc243ef
MISC metadata.xml 1455 BLAKE2B 9dd88bba7158dfdc83bfc48fa4134e1f5a3357ab778cad400a51e348bbb4b44d2740ec417fdc888df0b4fd820441649e92b7adffdd4db558a2f4c3f4830a83a1 SHA512 369a87bd551e483e81ff56f5167177b1bcfedf9bc97f501ef2b07bfdfea3a25532f5e86af062568b3b22a53fe07318fd93dc55bd83b453dd10a0f4d3e88cb932
diff --git a/sys-devel/clang/clang-4.0.1.ebuild b/sys-devel/clang/clang-4.0.1.ebuild
index 6c37d1fd9594..e3cdd3ce84a8 100644
--- a/sys-devel/clang/clang-4.0.1.ebuild
+++ b/sys-devel/clang/clang-4.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -164,6 +164,12 @@ multilib_src_configure() {
)
fi
+ if [[ -n ${EPREFIX} ]]; then
+ mycmakeargs+=(
+ -DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
+ )
+ fi
+
if tc-is-cross-compiler; then
[[ -x "/usr/bin/clang-tblgen" ]] \
|| die "/usr/bin/clang-tblgen not found or usable"
diff --git a/sys-devel/clang/clang-5.0.1.ebuild b/sys-devel/clang/clang-5.0.1.ebuild
index 4c30e033af76..b16d9564915d 100644
--- a/sys-devel/clang/clang-5.0.1.ebuild
+++ b/sys-devel/clang/clang-5.0.1.ebuild
@@ -178,6 +178,12 @@ multilib_src_configure() {
)
fi
+ if [[ -n ${EPREFIX} ]]; then
+ mycmakeargs+=(
+ -DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
+ )
+ fi
+
if tc-is-cross-compiler; then
[[ -x "/usr/bin/clang-tblgen" ]] \
|| die "/usr/bin/clang-tblgen not found or usable"
diff --git a/sys-devel/clang/clang-6.0.0.ebuild b/sys-devel/clang/clang-6.0.0-r1.ebuild
index 7e9999198164..a8ab8bbb6b6a 100644
--- a/sys-devel/clang/clang-6.0.0.ebuild
+++ b/sys-devel/clang/clang-6.0.0-r1.ebuild
@@ -70,6 +70,13 @@ CMAKE_BUILD_TYPE=RelWithDebInfo
PATCHES=(
# add Prefix include paths for Darwin
"${FILESDIR}"/5.0.1/darwin_prefix-include-paths.patch
+
+ # fix Driver crash with CHOST prefix and long command-line
+ # https://bugs.gentoo.org/650082
+ "${FILESDIR}"/6.0.0/0001-Driver-Avoid-invalidated-iterator-in-insertTargetAnd.patch
+ # fix test failure with default-compiler-rt
+ # https://bugs.gentoo.org/650316
+ "${FILESDIR}"/6.0.0/0002-test-Fix-Cross-DSO-CFI-Android-sanitizer-test-for-rt.patch
)
# Multilib notes:
@@ -179,6 +186,12 @@ multilib_src_configure() {
)
fi
+ if [[ -n ${EPREFIX} ]]; then
+ mycmakeargs+=(
+ -DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
+ )
+ fi
+
if tc-is-cross-compiler; then
[[ -x "/usr/bin/clang-tblgen" ]] \
|| die "/usr/bin/clang-tblgen not found or usable"
diff --git a/sys-devel/clang/clang-6.0.9999.ebuild b/sys-devel/clang/clang-6.0.9999.ebuild
index dc7101832912..509b47b788fb 100644
--- a/sys-devel/clang/clang-6.0.9999.ebuild
+++ b/sys-devel/clang/clang-6.0.9999.ebuild
@@ -164,6 +164,12 @@ multilib_src_configure() {
)
fi
+ if [[ -n ${EPREFIX} ]]; then
+ mycmakeargs+=(
+ -DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
+ )
+ fi
+
if tc-is-cross-compiler; then
[[ -x "/usr/bin/clang-tblgen" ]] \
|| die "/usr/bin/clang-tblgen not found or usable"
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index 0014ecde46b2..10c2dbd94ce6 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -165,6 +165,12 @@ multilib_src_configure() {
)
fi
+ if [[ -n ${EPREFIX} ]]; then
+ mycmakeargs+=(
+ -DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
+ )
+ fi
+
if tc-is-cross-compiler; then
[[ -x "/usr/bin/clang-tblgen" ]] \
|| die "/usr/bin/clang-tblgen not found or usable"
diff --git a/sys-devel/clang/files/6.0.0/0001-Driver-Avoid-invalidated-iterator-in-insertTargetAnd.patch b/sys-devel/clang/files/6.0.0/0001-Driver-Avoid-invalidated-iterator-in-insertTargetAnd.patch
new file mode 100644
index 000000000000..20ba89bf126b
--- /dev/null
+++ b/sys-devel/clang/files/6.0.0/0001-Driver-Avoid-invalidated-iterator-in-insertTargetAnd.patch
@@ -0,0 +1,55 @@
+From 99418eabfbe5378d7a751444856c6c5c656519c4 Mon Sep 17 00:00:00 2001
+From: Serge Pavlov <sepavloff@gmail.com>
+Date: Mon, 19 Mar 2018 16:13:43 +0000
+Subject: [PATCH 1/2] [Driver] Avoid invalidated iterator in
+ insertTargetAndModeArgs
+
+Doing an .insert() can potentially invalidate iterators by reallocating the
+vector's storage. When all the stars align just right, this causes segfaults
+or glibc aborts.
+
+Gentoo Linux bug (crashes while building Chromium): https://bugs.gentoo.org/650082.
+
+Patch by Hector Martin!
+
+Differential Revision: https://reviews.llvm.org/D44607
+
+
+git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327863 91177308-0d34-0410-b5e6-96231b3b80d8
+---
+ tools/driver/driver.cpp | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/tools/driver/driver.cpp b/tools/driver/driver.cpp
+index fa757da953..1b614accb2 100644
+--- a/tools/driver/driver.cpp
++++ b/tools/driver/driver.cpp
+@@ -212,20 +212,21 @@ static void insertTargetAndModeArgs(const ParsedClangName &NameParts,
+ // Put target and mode arguments at the start of argument list so that
+ // arguments specified in command line could override them. Avoid putting
+ // them at index 0, as an option like '-cc1' must remain the first.
+- auto InsertionPoint = ArgVector.begin();
+- if (InsertionPoint != ArgVector.end())
++ int InsertionPoint = 0;
++ if (ArgVector.size() > 0)
+ ++InsertionPoint;
+
+ if (NameParts.DriverMode) {
+ // Add the mode flag to the arguments.
+- ArgVector.insert(InsertionPoint,
++ ArgVector.insert(ArgVector.begin() + InsertionPoint,
+ GetStableCStr(SavedStrings, NameParts.DriverMode));
+ }
+
+ if (NameParts.TargetIsValid) {
+ const char *arr[] = {"-target", GetStableCStr(SavedStrings,
+ NameParts.TargetPrefix)};
+- ArgVector.insert(InsertionPoint, std::begin(arr), std::end(arr));
++ ArgVector.insert(ArgVector.begin() + InsertionPoint,
++ std::begin(arr), std::end(arr));
+ }
+ }
+
+--
+2.16.2
+
diff --git a/sys-devel/clang/files/6.0.0/0002-test-Fix-Cross-DSO-CFI-Android-sanitizer-test-for-rt.patch b/sys-devel/clang/files/6.0.0/0002-test-Fix-Cross-DSO-CFI-Android-sanitizer-test-for-rt.patch
new file mode 100644
index 000000000000..0c6644891069
--- /dev/null
+++ b/sys-devel/clang/files/6.0.0/0002-test-Fix-Cross-DSO-CFI-Android-sanitizer-test-for-rt.patch
@@ -0,0 +1,30 @@
+From f81bc3f2d174ac21e576cdddb736524531258fbe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Mon, 19 Mar 2018 20:55:47 +0100
+Subject: [PATCH 2/2] [test] Fix Cross-DSO CFI Android sanitizer test for
+ -rtlib=compiler-rt
+
+Fix the CHECK-CFI-CROSS-DSO-ANDROID test to be more precise and match
+specifically 'clang_rt.cfi' rather than any compiler-rt library. This
+fixes the failure when the linker command-line contains
+clang_rt.builtins library due to CLANG_DEFAULT_RTLIB=compiler-rt.
+---
+ test/Driver/sanitizer-ld.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/Driver/sanitizer-ld.c b/test/Driver/sanitizer-ld.c
+index 0da4255f69..9309450186 100644
+--- a/test/Driver/sanitizer-ld.c
++++ b/test/Driver/sanitizer-ld.c
+@@ -514,7 +514,7 @@
+ // RUN: --sysroot=%S/Inputs/basic_android_tree \
+ // RUN: | FileCheck --check-prefix=CHECK-CFI-CROSS-DSO-ANDROID %s
+ // CHECK-CFI-CROSS-DSO-ANDROID: "{{.*}}ld{{(.exe)?}}"
+-// CHECK-CFI-CROSS-DSO-ANDROID-NOT: libclang_rt.
++// CHECK-CFI-CROSS-DSO-ANDROID-NOT: libclang_rt.cfi
+
+ // Cross-DSO CFI with diagnostics on Android links just the UBSAN runtime.
+ // RUN: %clang -fsanitize=cfi -fsanitize-cfi-cross-dso %s -### -o %t.o 2>&1 \
+--
+2.16.2
+
diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index 5a6f66089982..24f3b2156690 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -5,6 +5,6 @@ DIST crossdev-20180302.tar.xz 23368 BLAKE2B 1bd93ca8dc1c65d1c5cbc095a84540e0a09f
EBUILD crossdev-20171230.ebuild 854 BLAKE2B d10029ed5c6d5c9333a949d3d0a9df31a3b5b180328036c90188ce326bc83a3801638379a6b856010fedf04ae12ebf14e9a8953084acec7ec87dc889d21057d2 SHA512 955cee7f5bb76c933c2c206d65cb6c25ba78725e6f414a0860fb9c09d244221837a2ac25767828c97acbff46b6d3241582ba0a54f2ebcc31d34ed616d1ce8a33
EBUILD crossdev-20180105.ebuild 867 BLAKE2B 5f004170eb7dd1b3ab4d1e95227d2ce85df8dd4370252e57b40581843372bc82126b69cf6eb81be6597d7b535b0fd6ffe28333b4a50131506047cc47024ed677 SHA512 27a6f7bcc07db27cff19b0b894c976a0dc2d1acffda8a76708233f9acbe8c6b8024f5665087b470593890bbab47ed154a5866cf698591ee471b5d73733b4aaae
EBUILD crossdev-20180120.ebuild 867 BLAKE2B 5f004170eb7dd1b3ab4d1e95227d2ce85df8dd4370252e57b40581843372bc82126b69cf6eb81be6597d7b535b0fd6ffe28333b4a50131506047cc47024ed677 SHA512 27a6f7bcc07db27cff19b0b894c976a0dc2d1acffda8a76708233f9acbe8c6b8024f5665087b470593890bbab47ed154a5866cf698591ee471b5d73733b4aaae
-EBUILD crossdev-20180302.ebuild 867 BLAKE2B 5f004170eb7dd1b3ab4d1e95227d2ce85df8dd4370252e57b40581843372bc82126b69cf6eb81be6597d7b535b0fd6ffe28333b4a50131506047cc47024ed677 SHA512 27a6f7bcc07db27cff19b0b894c976a0dc2d1acffda8a76708233f9acbe8c6b8024f5665087b470593890bbab47ed154a5866cf698591ee471b5d73733b4aaae
-EBUILD crossdev-99999999.ebuild 867 BLAKE2B ea8088420e1860a31811cffce653e91b57e40232394d8fc0acc4aaeb9210abc0f05c31335edb46bb6f46c8c207e659cba07156fb389d4f4c68ca29b5d188ba67 SHA512 1cc2e7d4e256f0186fb4e399f9667c28e4d61fe9e3725657a3e5f41a7fd424c695dfd81e289f69381d5dbfee118ae341733f2115b580fff9c43cc21db8051ca4
+EBUILD crossdev-20180302-r1.ebuild 905 BLAKE2B 725bb647f16d86cf8ee74d6c90f35d23321899e331059b14ff7e151e92a7a82b9e1f7ddb30be162d79f38d8b2d7e249c35a1537640abc40b13775b8fe7102f42 SHA512 c962c298ceb6f6a7ab1307b916ec66274da802fd1ee1bb35ae02c18bd069dd86ad8c2ddd55b23421cfc77bde8ce6136054e7888f4a2223f1d7936b8648247b5d
+EBUILD crossdev-99999999.ebuild 905 BLAKE2B c4dd5c7498f0c53c14a87ec4158987b9d9dc6e62cde4745b409620ea4b214013ddfc03bc2d3c3576722d07c093bc66ce36185fcab3b9a785dc181d02c9eb83b6 SHA512 81001db847cb7fac3fb8e1db13f974c848e81399ebae400c04a3369361f46e9642a42e45301ed7fe7db2deb20327d092d7c84875ecd85d0b52a8244a3c055655
MISC metadata.xml 356 BLAKE2B 2220babfa5cc38c63a0e8361b84d1f3b288e5d050fd587562cac160621a60efb109df5af98b6108c1cd442947911d76db38cc9b82ef83c7a52553d5dab231116 SHA512 9b90e3370e18885739fad8a1ff7fd420eae5cf188fde84e8aec8002bbbc390291bd37481e308ad584d33e643e9d17a47000c8ce0852780ff18c0bfddb7327cae
diff --git a/sys-devel/crossdev/crossdev-20180302.ebuild b/sys-devel/crossdev/crossdev-20180302-r1.ebuild
index edf23ce34c9b..d1adb4564b57 100644
--- a/sys-devel/crossdev/crossdev-20180302.ebuild
+++ b/sys-devel/crossdev/crossdev-20180302-r1.ebuild
@@ -19,7 +19,11 @@ LICENSE="GPL-2"
SLOT="0"
IUSE=""
-RDEPEND=">=sys-apps/portage-2.1
+RDEPEND="
+ || (
+ >=sys-apps/portage-2.1
+ sys-apps/portage-mgorny
+ )
>=app-portage/portage-utils-0.55
app-shells/bash
sys-apps/gentoo-functions
diff --git a/sys-devel/crossdev/crossdev-99999999.ebuild b/sys-devel/crossdev/crossdev-99999999.ebuild
index 73d9c4690063..d6645156ceb3 100644
--- a/sys-devel/crossdev/crossdev-99999999.ebuild
+++ b/sys-devel/crossdev/crossdev-99999999.ebuild
@@ -19,7 +19,11 @@ LICENSE="GPL-2"
SLOT="0"
IUSE=""
-RDEPEND=">=sys-apps/portage-2.1
+RDEPEND="
+ || (
+ >=sys-apps/portage-2.1
+ sys-apps/portage-mgorny
+ )
>=app-portage/portage-utils-0.55
app-shells/bash
sys-apps/gentoo-functions
diff --git a/sys-devel/distcc/Manifest b/sys-devel/distcc/Manifest
index c22cbdb8d921..62d2a420860b 100644
--- a/sys-devel/distcc/Manifest
+++ b/sys-devel/distcc/Manifest
@@ -20,7 +20,9 @@ AUX distccd.service 244 BLAKE2B db5796f93fe36b2ed09cf84e54bacdb3483917438feb823b
AUX distccd.service.conf 186 BLAKE2B b3776e30ded7777be2610f07acec0f70a3cfb7718be149ad5bebd58538add7efead69368020c30610ec33a87ab4d3b3f0123d347f6d0d4abd74f3c714b039955 SHA512 19bf25757ba724ba4e728797b8c6fccabb8b95d2945f0e3c216303a04a4e7470507dcf8535657954f265ed5f067f32dcb3fb6558e9958a86de76b1e66e2b31b6
DIST distcc-3.1.tar.bz2 588820 BLAKE2B fbd00a9cf8af0b2a0c901a60086901e505d9859827a8249ed7937cb8298fc946f6f72470e40dba17e143dbf1525cb0aef4deec3d083268d608f24f1447301df0 SHA512 0ca7167309badf5d36d2783bab398295b52c43fde0355cf1902032c70b27fc40c21729c98af0ee4c0aeea0c48755e4626308e9385d938b7822de27cdb048e7bd
DIST distcc-3.2rc1.tar.bz2 609904 BLAKE2B e6b928f3b9231524d37bdf86b39cd6a3601b6cdb1e03d913ae562286794240b4dd364d5d01da2176f9bb440809b166b4b877443459751adf8bd3ecf92ceb8476 SHA512 98b2e8423d724bbb6a615d946d170441a8e293310785f867d7a277b318c043a37b0af39ae8ed1f7a0667803de9db1d1925199bad85130cf9bd9cb347635125ee
+DIST distcc-3.3.tar.gz 1171281 BLAKE2B f637cacbfdaaca6efb56e912de55fcfa49e3fffcb8f34649e339f16376250e18a20d30281a46f207992c0b300c726427a3ad5a77bd8976d2993f8f49b9b6b970 SHA512 459c175c8ac905bc70299e77ac11b6d24782bd69c9152126249c9af8fbb4c269e6f7317b02abf50cf6cc0405dd0f887e803320e19dc528a19c4c488640c615dc
EBUILD distcc-3.1-r10.ebuild 4499 BLAKE2B 8cf796bdbc315f8db8b0c52bc8108f0f2785b40e8dc14669a5675e00ee3dd9145b03f6c901137d7b726e78d372ef73206189f280831de11f3daa6f811356ee70 SHA512 22f383d20c3f6a028ad60b77692e680537dc4838aed70f9e17e05ea1aa52b137903a02f855651b5f381708e6ebe19edd201c11ac4269627866232c05752b067d
EBUILD distcc-3.2_rc1-r4.ebuild 5729 BLAKE2B 65c9309335e2479328f34ef428e308d77687306d158ba52cd7946d8128bdc221014845f5035614357b7bba934332bf69e9cb870e01dff2a8c319b66ea8d032e0 SHA512 34eafd30725c82f9f576d383a4a0886296fc992a9bc36c38bf103b42029a06e473515ff62f9ce8236448a89a6bbb4fef77bbb3d72582d1dc5da7da77701c4e8a
EBUILD distcc-3.2_rc1-r5.ebuild 5465 BLAKE2B e51b1b140c00f55c431f5cd157404c379233902add2e6b9fcfd95e4ba2e30ef2f1983461805a692e17afb4e5b2b59b7ff94c4473da367736b2fee7af0c2ccc2f SHA512 1082602afd53213860d13223693f0fd78dfd250a5047eec27263aec2ef3661da69757e8b56b93ffad7ee3629e06c3cb19e8a71e1a511910d2157540a2ea50e91
+EBUILD distcc-3.3.ebuild 5438 BLAKE2B aec6d252ddc60cd83604ddde78219829d2a8472493c44837aad7d26bdcf947c5e549394afcc545b20c97a9625806221e89eb8720d5fe3bdb086ed79ccd0eb3ca SHA512 1ae984a3fb20eba013fad40faec6fa714797d77c4539482fe97d6c0f01a9a8a20cea12e236623c6c9821d55b4f6b034436adf7a8027d44b97f4339ed7f471a4a
MISC metadata.xml 578 BLAKE2B c49d0c85a80028a82eb3e1729709515c9a2161a506a9883f0e50b1cfe27f21b98b5ee9728f297e3e5b5a35d8ae3aad6e55424d9da9ef3018a71299aa1139988b SHA512 a1fd5bdea076ed862339dda2a21f5c0c4c56aa625927f0157889aa5310e9e86df2c957b587d56b276c3d0b3cc2d0eb69f15e40493cc36d44de97917659dba1a2
diff --git a/sys-devel/distcc/distcc-3.3.ebuild b/sys-devel/distcc/distcc-3.3.ebuild
new file mode 100644
index 000000000000..d2216d7fe2d8
--- /dev/null
+++ b/sys-devel/distcc/distcc-3.3.ebuild
@@ -0,0 +1,194 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{5,6} )
+
+inherit flag-o-matic python-single-r1 systemd toolchain-funcs user xdg-utils prefix
+
+MY_P="${P/_}"
+DESCRIPTION="Distribute compilation of C code across several machines on a network"
+HOMEPAGE="http://distcc.org/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gnome gssapi gtk hardened ipv6 selinux xinetd zeroconf"
+
+RESTRICT="test"
+
+CDEPEND="${PYTHON_DEPS}
+ dev-libs/popt
+ gnome? (
+ >=gnome-base/libgnome-2
+ >=gnome-base/libgnomeui-2
+ x11-libs/gtk+:2
+ x11-libs/pango
+ )
+ gssapi? ( net-libs/libgssglue )
+ gtk? ( x11-libs/gtk+:2 )
+ zeroconf? ( >=net-dns/avahi-0.6[dbus] )
+"
+DEPEND="${CDEPEND}
+ sys-libs/binutils-libs
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ !net-misc/pump
+ dev-util/shadowman
+ >=sys-devel/gcc-config-1.4.1
+ selinux? ( sec-policy/selinux-distcc )
+ xinetd? ( sys-apps/xinetd )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ enewuser distcc 240 -1 -1 daemon
+ python-single-r1_pkg_setup
+
+ DCCC_PATH="/usr/$(get_libdir)/distcc/bin"
+ DISTCC_VERBOSE="0"
+}
+
+src_prepare() {
+ eapply "${FILESDIR}/${PN}-3.0-xinetd.patch"
+ # bug #255188
+ eapply "${FILESDIR}/${PN}-3.2_rc1-freedesktop.patch"
+ # SOCKSv5 support needed for Portage, bug #537616
+ eapply "${FILESDIR}/${PN}-3.2_rc1-socks5.patch"
+ eapply_user
+
+ # Bugs #120001, #167844 and probably more. See patch for description.
+ use hardened && eapply "${FILESDIR}/distcc-hardened.patch"
+
+ sed -i \
+ -e "/PATH/s:\$distcc_location:${EPREFIX}${DCCC_PATH}:" \
+ -e "s:@PYTHON@:${EPYTHON}:" \
+ pump.in || die "sed failed"
+
+ sed \
+ -e "s:@EPREFIX@:${EPREFIX:-/}:" \
+ -e "s:@libdir@:/usr/$(get_libdir):" \
+ "${FILESDIR}/3.2/distcc-config" > "${T}/distcc-config" || die
+
+ hprefixify -e "s,/lib/,/$(get_libdir)/," update-distcc-symlinks.py src/{serve,daemon}.c
+}
+
+src_configure() {
+ local myconf="--disable-Werror"
+
+ # --disable-rfc2553 b0rked, bug #254176
+ use ipv6 && myconf="${myconf} --enable-rfc2553"
+
+ econf \
+ $(use_with gtk) \
+ $(use_with gnome) \
+ $(use_with gssapi auth) \
+ $(use_with zeroconf avahi) \
+ ${myconf}
+}
+
+src_install() {
+ default
+ python_optimize
+
+ newinitd "${FILESDIR}/3.2/init" distccd
+ systemd_dounit "${FILESDIR}/distccd.service"
+ systemd_install_serviced "${FILESDIR}/distccd.service.conf"
+
+ cp "${FILESDIR}/3.2/conf" "${T}/distccd" || die
+ if use zeroconf; then
+ cat >> "${T}/distccd" <<-EOF || die
+
+ # Enable zeroconf support in distccd
+ DISTCCD_OPTS="\${DISTCCD_OPTS} --zeroconf"
+ EOF
+
+ sed -i '/ExecStart/ s|$| --zeroconf|' "${D}$(systemd_get_systemunitdir)"/distccd.service || die
+ fi
+ doconfd "${T}/distccd"
+
+ cat > "${T}/02distcc" <<-EOF || die
+ # This file is managed by distcc-config; use it to change these settings.
+ # DISTCC_LOG and DISTCC_DIR should not be set.
+ DISTCC_VERBOSE="${DISTCC_VERBOSE:-0}"
+ DISTCC_FALLBACK="${DISTCC_FALLBACK:-1}"
+ DISTCC_SAVE_TEMPS="${DISTCC_SAVE_TEMPS:-0}"
+ DISTCC_TCP_CORK="${DISTCC_TCP_CORK}"
+ DISTCC_SSH="${DISTCC_SSH}"
+ UNCACHED_ERR_FD="${UNCACHED_ERR_FD}"
+ DISTCC_ENABLE_DISCREPANCY_EMAIL="${DISTCC_ENABLE_DISCREPANCY_EMAIL}"
+ DCC_EMAILLOG_WHOM_TO_BLAME="${DCC_EMAILLOG_WHOM_TO_BLAME}"
+ EOF
+ doenvd "${T}/02distcc"
+
+ keepdir "${DCCC_PATH%bin}"
+
+ dobin "${T}/distcc-config"
+
+ if use gnome || use gtk; then
+ einfo "Renaming /usr/bin/distccmon-gnome to /usr/bin/distccmon-gui"
+ einfo "This is to have a little sensability in naming schemes between distccmon programs"
+ mv "${ED}/usr/bin/distccmon-gnome" "${ED}/usr/bin/distccmon-gui" || die
+ dosym distccmon-gui /usr/bin/distccmon-gnome
+ fi
+
+ if use xinetd; then
+ insinto /etc/xinetd.d
+ newins "doc/example/xinetd" distcc
+ fi
+
+ insinto /usr/share/shadowman/tools
+ newins - distcc <<<"${EPREFIX}${DCCC_PATH}"
+ newins - distccd <<<"${EPREFIX}${DCCC_PATH%bin}"
+
+ rm -r "${ED}/etc/default" || die
+ rm "${ED}/etc/distcc/clients.allow" || die
+ rm "${ED}/etc/distcc/commands.allow.sh" || die
+}
+
+pkg_postinst() {
+ if [[ ${ROOT} == / ]]; then
+ eselect compiler-shadow update distcc
+ eselect compiler-shadow update distccd
+ fi
+
+ use gnome && xdg_desktop_database_update
+
+ elog
+ elog "Tips on using distcc with Gentoo can be found at"
+ elog "https://wiki.gentoo.org/wiki/Distcc"
+ elog
+ elog "How to use pump mode with Gentoo:"
+ elog "# distcc-config --set-hosts \"foo,cpp,lzo bar,cpp,lzo baz,cpp,lzo\""
+ elog "# echo 'FEATURES=\"\${FEATURES} distcc distcc-pump\"' >> /etc/portage/make.conf"
+ elog "# emerge -u world"
+ elog
+ elog "To use the distccmon programs with Gentoo you should use this command:"
+ elog "# DISTCC_DIR=\"${DISTCC_DIR:-${BUILD_PREFIX}/.distcc}\" distccmon-text 5"
+
+ if use gnome || use gtk; then
+ elog "Or:"
+ elog "# DISTCC_DIR=\"${DISTCC_DIR:-${BUILD_PREFIX}/.distcc}\" distccmon-gnome"
+ fi
+
+ elog
+ elog "***SECURITY NOTICE***"
+ elog "Since distcc-3.3, whitelist is used for what distccd could execute. The whilelist"
+ elog "has been generated by compiler-shadow distccd. To revert to the old behavior, "
+ elog "you need to pass --make-me-a-botnet to distccd in /etc/conf.d/distccd."
+ elog "Cf. https://github.com/distcc/distcc/pull/243."
+}
+
+pkg_prerm() {
+ if [[ -z ${REPLACED_BY_VERSION} && ${ROOT} == / ]]; then
+ eselect compiler-shadow remove distcc
+ fi
+}
+
+pkg_postrm() {
+ use gnome && xdg_desktop_database_update
+}
diff --git a/sys-devel/gdb/Manifest b/sys-devel/gdb/Manifest
index 573e15963850..4755ffbb5099 100644
--- a/sys-devel/gdb/Manifest
+++ b/sys-devel/gdb/Manifest
@@ -7,7 +7,7 @@ DIST gdb-8.0.tar.xz 19588616 BLAKE2B 148965e33a42787b5fa39650c2b6c48e28895930e36
DIST gdb-8.1-patches-1.tar.xz 8768 BLAKE2B 792ceddcb8eafd028db23d69ad5d9eb00223722520c6ff0a23a24fee1a33dceb02f05e61a1d6c3700835c480b38d66f43f71ef3c4af406d4ae1147eaaf8f311e SHA512 87a5c9d9207817245e1ffd07fdad2cb566de4fc11725aa0e49e58268c3ab1ae3b4b9f4b9faa55acc8cb4c3c7cb5a3875ea7da02abeb8f775953a8aed2e2c6403
DIST gdb-8.1.tar.xz 20095080 BLAKE2B 9332058b8b723261ba215124f42a2d6ba916219efdfb3c23ae1f48fecf131c801bbd31b345f2c8339b23d74da690be0260ac31f8f2e79549b62f0880199bfdec SHA512 ffd82f415d7652d62dad1716c307836f594217a363429609beb7d70239e8bf06b73b393345b0e000796228e56681ed7656ac3c8be05e91d6d652ab0d5b1dc357
EBUILD gdb-7.10.1.ebuild 6606 BLAKE2B f936b1f6fb0107c3b17db4833aba8cdd8f56060a62c644aafc96f05a274569856843d2f59f0415898c3bd547f9d69f6619fccf1e8743454a491ecfa6712878a7 SHA512 ac9409424ffdba44d825d16c0c9768ae0bc51c9deab4975845132f6b630ebf5cbb455344806b8a25425f9bb6a864ec06c3fc33f30abd0eb78e63e0af0f5d5665
-EBUILD gdb-7.12.1.ebuild 6619 BLAKE2B 242c000e9e32435b6aac5165c0e939da3de921eeb1eafd41f02ad2bb603f464f3ff5fad792a2d99e04ac03e909aefa17a0f334195abaa0970a53c8f980cc651d SHA512 5a8254939f70139ab28eeaaef5fe26825ddc438a7a8aacd84d917d5488ed6b224ae9d5b0b811d5257b1004e0c2413756d9b5bd415a6fdfbfc071954d043bec83
+EBUILD gdb-7.12.1.ebuild 6618 BLAKE2B e3e8b6df08f7243df47b410259852ed2fed0607c0c69277c198e6989ce76dc0c20dac0569f75b3ab782877d31bfc61839ae8964db57e470d0cd46fa660261de3 SHA512 b1a21bb16d648fdc45715e85eba3a4dd28f3c3083250355032f1adc671e498ccbf89166350c3ce31ac156832676138053f23cc301fb45620ba7ee4e5127157d0
EBUILD gdb-7.9.1.ebuild 5944 BLAKE2B 2065393cc5a34ff738626f997bec0a5e1e5d383d78bd774b04c85b683ff499f395fd87349917fc0bab911109ab6fa369176746b16fcfe40d3f996e85709fe6dd SHA512 7fe1fb5eba8ccb86f7b0fad0d433b7a5687421c9f8a57a4f6f393d09c840dd66e8f109873ff9772c2ea7209c5f4b95d2af6d8abe8e3e4c397bc0a96eba08871a
EBUILD gdb-8.0.1-r1.ebuild 6986 BLAKE2B 4e9233b0b2a70ab4a4d33c36783c8ed7c2e5e7f0874700b370803a4c266982ac753541e667eb339787dababd2dfe39a2d6d87a93a11ddc86c89e2a1ebca2733f SHA512 9e9e52b5ea2ade456a243108aa20db3cdf2b5ab362376f0271669ea61a3a3fb6b2e8db1e0f37e5daed59f64d84a2fa8a3b9b7ebf36a936e7682a03a6798ca76f
EBUILD gdb-8.0.1.ebuild 6869 BLAKE2B e35cc00c17a74c32e5aabc6c5b8e9e728fb80e00d06785a5ed131210a38374c468649ec1d553b6fc3ce2c6cbae6f84521625de39b9b5d0d79f984af937bd9f45 SHA512 1b39521e365127436d90b58cd442da0cb5b17f35a4ba1ea298b799fb9f5d058ac0a8425f09702ad8be001e7cba0baa88843e51499513a88313504fd4aba31db0
diff --git a/sys-devel/gdb/gdb-7.12.1.ebuild b/sys-devel/gdb/gdb-7.12.1.ebuild
index 493828f2db3c..6b6a04e9deff 100644
--- a/sys-devel/gdb/gdb-7.12.1.ebuild
+++ b/sys-devel/gdb/gdb-7.12.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -57,7 +57,7 @@ LICENSE="GPL-2 LGPL-2"
SLOT="0"
if [[ ${PV} != 9999* ]] ; then
# alpha #562128
- KEYWORDS="-alpha amd64 arm arm64 ~hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ KEYWORDS="-alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
fi
IUSE="+client lzma multitarget nls +python +server test vanilla xml"
REQUIRED_USE="
diff --git a/sys-devel/patch/Manifest b/sys-devel/patch/Manifest
index 3a65cbc670e8..20e4a67acac3 100644
--- a/sys-devel/patch/Manifest
+++ b/sys-devel/patch/Manifest
@@ -2,5 +2,5 @@ AUX patch-2.7.6-fix-test-suite.patch 2610 BLAKE2B e750283b85f0cb9d52324f28b8a030
DIST patch-2.7.5.tar.xz 727704 BLAKE2B a7aefd05da73329ae301f0f6429306661d72fedd59c6d35acef4828c7e5951c0ce3e8cedfc8ed9ac45d45f6eff564c2e41c0ccb95fbe1c668f63844b7069520c SHA512 6620ac8101f60c0b456ce339fa5e371f40be0b391e2e9728f34f3625f9907e516de61dac2f91bc76e6fd28a9bd1224efc3ba827cfaa606d857730c1af4195a0f
DIST patch-2.7.6.tar.xz 783756 BLAKE2B e3dd2d155a94c39cb60eafc26677e84de14c3a6d5814dff69de091ded52f21862490970254297795f2c42a0c3203f7e88a8f65bb66968f8dfd6e066bf53f2dfb SHA512 fcca87bdb67a88685a8a25597f9e015f5e60197b9a269fa350ae35a7991ed8da553939b4bbc7f7d3cfd863c67142af403b04165633acbce4339056a905e87fbd
EBUILD patch-2.7.5.ebuild 911 BLAKE2B 3eda3342754fb82470d8abbd3a9b9e3ee24b6e8ed62f8d0629fa3b6c3e248a4b522aa1a0074011108d8a74ddf4a94d00aa8d8423efd1b7755b4895438fbe3180 SHA512 f15e1b045b40506b1390a98bcf71834e153bc99d03fac764fea092ada307ac9f36444919052ff4c3a13ba3d5cb9b2afb089f0694f95a19f2636cef43cf149698
-EBUILD patch-2.7.6-r1.ebuild 1003 BLAKE2B f29138ee5f82202f22bf453633010a2fe938f762195db98f01a01c06ed8def8afa9bfefb294122b054fb11cb5b1397a79e480065dc72260cc8fca05d169cb015 SHA512 b1cd0fa5d9fe330a09a407616059817e173cba5f6b2bf351057094b30683d9b8ec8efb6d40a8e36d01f581587dc165ee799cf9a14068abbde8508e8fb8846588
+EBUILD patch-2.7.6-r1.ebuild 1000 BLAKE2B 86f39091489c0a3b8177cfb874689dde58c3cf70160caa0c0fb194310a7a950b87e189fda7a87fcea799f18e78602c51302cd59bbba1b6763c04911525cca9f9 SHA512 8e15819158f56612020cb21cf3450622a1f3188f6b367f9ff40a4f26f95ba45dfc8b64d23b6d9e73feb7f45196d9b6dc7e1f127215508946d4e6ea303a2fc962
MISC metadata.xml 253 BLAKE2B 295e9d6d93aaa12af413972e1590c67087801cc09c9aa6b59d4606c0f4106d1dacf2baa9858559083b4c6d91beeef218d0729e8593a33788958da6d2897e8ce2 SHA512 54a9069aeb4165d2dff3d473c8001bc51613aac9dff3f7f5e9971a9891a737a31511ffa11cbd523febe581ac1d9de2bdf2f40410f0c4239138f2ccca3ef15555
diff --git a/sys-devel/patch/patch-2.7.6-r1.ebuild b/sys-devel/patch/patch-2.7.6-r1.ebuild
index 9a51511c71e7..06a8e9bede2f 100644
--- a/sys-devel/patch/patch-2.7.6-r1.ebuild
+++ b/sys-devel/patch/patch-2.7.6-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/patch/${P}.tar.xz"
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="static test xattr"
RDEPEND="xattr? ( sys-apps/attr )"