Require at least clang-3.9.1 (bug #601654 by Markus Hauschild)
authorPawel Hajdan, Jr <phajdan.jr@gentoo.org>
Wed, 28 Dec 2016 17:10:48 +0000 (17:10 +0000)
committerPawel Hajdan, Jr <phajdan.jr@gentoo.org>
Wed, 28 Dec 2016 17:19:07 +0000 (18:19 +0100)
www-client/chromium/chromium-55.0.2883.75.ebuild
www-client/chromium/chromium-56.0.2924.21.ebuild
www-client/chromium/chromium-57.0.2950.4.ebuild

index 84a3875de64dd768111eddea7f2a533377e4c8e9..05ef986b5b1357c2e395c5542476a86d69d5c9a8 100644 (file)
@@ -172,6 +172,10 @@ PATCHES=(
 
 pkg_pretend() {
        if [[ ${MERGE_TYPE} != binary ]]; then
+               if tc-is-clang && ! version_is_at_least "3.9.1" "$(clang-fullversion)"; then
+                       # bugs: #601654
+                       die "At least clang 3.9.1 is required"
+               fi
                if tc-is-gcc && ! version_is_at_least 4.8 "$(gcc-version)"; then
                        die 'At least gcc 4.8 is required, see bugs: #535730, #525374, #518668.'
                fi
index 515da38965d3e5c6b414cfb6e8672f35a4b693fb..edaa7764aafd25283e2344ffc457e677d81ebc18 100644 (file)
@@ -168,6 +168,10 @@ PATCHES=(
 pre_build_checks() {
        if [[ ${MERGE_TYPE} != binary ]]; then
                local -x CPP="$(tc-getCXX) -E"
+               if tc-is-clang && ! version_is_at_least "3.9.1" "$(clang-fullversion)"; then
+                       # bugs: #601654
+                       die "At least clang 3.9.1 is required"
+               fi
                if tc-is-gcc && ! version_is_at_least 5 "$(gcc-major-version)"; then
                        # bugs: #535730, #525374, #518668, #600288
                        die "At least gcc 5 is required"
index 3819b74324bc5f96fe3a493350fcb2cb1389a97a..1da0e2c5115a818c8daa353a7ac6f0ab553456d1 100644 (file)
@@ -170,6 +170,10 @@ PATCHES=(
 pre_build_checks() {
        if [[ ${MERGE_TYPE} != binary ]]; then
                local -x CPP="$(tc-getCXX) -E"
+               if tc-is-clang && ! version_is_at_least "3.9.1" "$(clang-fullversion)"; then
+                       # bugs: #601654
+                       die "At least clang 3.9.1 is required"
+               fi
                if tc-is-gcc && ! version_is_at_least 5 "$(gcc-major-version)"; then
                        # bugs: #535730, #525374, #518668, #600288
                        die "At least gcc 5 is required"