sys-devel/clang: Reshuffle patches
authorMichał Górny <mgorny@gentoo.org>
Sun, 22 Jul 2018 07:19:05 +0000 (09:19 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 22 Jul 2018 08:22:36 +0000 (10:22 +0200)
sys-devel/clang/clang-4.0.1.ebuild
sys-devel/clang/clang-5.0.2.ebuild
sys-devel/clang/clang-6.0.1.ebuild
sys-devel/clang/files/5.0.2/0001-Driver-Use-arch-type-to-find-compiler-rt-libraries-o.patch [moved from sys-devel/clang/files/5.0.1/0001-Driver-Use-arch-type-to-find-compiler-rt-libraries-o.patch with 100% similarity]
sys-devel/clang/files/5.0.2/0002-test-Fix-clang-test-for-FreeBSD-and-NetBSD.patch [moved from sys-devel/clang/files/5.0.1/0002-test-Fix-clang-test-for-FreeBSD-and-NetBSD.patch with 100% similarity]
sys-devel/clang/files/5.0.2/extra/0001-Assume-the-shared-library-path-variable-is-LD_LIBRAR.patch [moved from sys-devel/clang/files/5.0.1/extra/0001-Assume-the-shared-library-path-variable-is-LD_LIBRAR.patch with 100% similarity]
sys-devel/clang/files/6.0.1/darwin_prefix-include-paths.patch [moved from sys-devel/clang/files/5.0.1/darwin_prefix-include-paths.patch with 100% similarity]

index 672f7fc6097b6ec9702305a9ebad7ed32946a29d..469a613db91ae1d694bfac2c0eef51bb9be22e95 100644 (file)
@@ -89,7 +89,7 @@ src_unpack() {
 
 src_prepare() {
        # fix finding compiler-rt libs
-       eapply "${FILESDIR}"/5.0.1/0001-Driver-Use-arch-type-to-find-compiler-rt-libraries-o.patch
+       eapply "${FILESDIR}"/5.0.2/0001-Driver-Use-arch-type-to-find-compiler-rt-libraries-o.patch
 
        # fix stand-alone doc build
        eapply "${FILESDIR}"/4.0.1/0007-cmake-Support-stand-alone-Sphinx-doxygen-doc-build.patch
index 85f7d6b4404ea4731346d2872c472cc1071618b3..6e07de89a3b3e5d9d87af5ef584725f498ef5dfd 100644 (file)
@@ -107,15 +107,15 @@ src_unpack() {
 
 src_prepare() {
        # fix finding compiler-rt libs
-       eapply "${FILESDIR}"/5.0.1/0001-Driver-Use-arch-type-to-find-compiler-rt-libraries-o.patch
+       eapply "${FILESDIR}"/5.0.2/0001-Driver-Use-arch-type-to-find-compiler-rt-libraries-o.patch
        # fix setting LD_LIBRARY_PATH for tests on *BSD
-       eapply "${FILESDIR}"/5.0.1/0002-test-Fix-clang-test-for-FreeBSD-and-NetBSD.patch
+       eapply "${FILESDIR}"/5.0.2/0002-test-Fix-clang-test-for-FreeBSD-and-NetBSD.patch
        # add Prefix include paths for Darwin
-       eapply "${FILESDIR}"/5.0.1/darwin_prefix-include-paths.patch
+       eapply "${FILESDIR}"/6.0.1/darwin_prefix-include-paths.patch
 
        cd tools/extra || die
        # fix setting LD_LIBRARY_PATH for tests on *BSD (extra part)
-       eapply "${FILESDIR}"/5.0.1/extra/0001-Assume-the-shared-library-path-variable-is-LD_LIBRAR.patch
+       eapply "${FILESDIR}"/5.0.2/extra/0001-Assume-the-shared-library-path-variable-is-LD_LIBRAR.patch
        cd ../.. || die
 
        cmake-utils_src_prepare
index d42ae48d2ea2e75ac9ceeb2d5992437a5772d733..6cd2169e898acbd8e103c85847fa35bb1089ab49 100644 (file)
@@ -70,7 +70,7 @@ CMAKE_BUILD_TYPE=RelWithDebInfo
 
 PATCHES=(
        # add Prefix include paths for Darwin
-       "${FILESDIR}"/5.0.1/darwin_prefix-include-paths.patch
+       "${FILESDIR}"/6.0.1/darwin_prefix-include-paths.patch
 
        # fix test failure with default-compiler-rt
        # https://bugs.gentoo.org/650316