diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-10-05 20:36:13 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-10-05 20:48:32 +0200 |
commit | 5c39e60eb1090bb54f673f7ab03eb8edaecf32e3 (patch) | |
tree | b3330da92e6b5d58497519325977124b12164200 /sys-libs/libcxx/files | |
parent | net-dns/dnssec-root: bump dev-perl/XML-XPath requirement (diff) | |
download | gentoo-5c39e60eb1090bb54f673f7ab03eb8edaecf32e3.tar.gz gentoo-5c39e60eb1090bb54f673f7ab03eb8edaecf32e3.tar.bz2 gentoo-5c39e60eb1090bb54f673f7ab03eb8edaecf32e3.zip |
sys-libs/libcxx: Backport libsupc++ build fix to 7.0.0
Closes: https://bugs.gentoo.org/667174
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/libcxx/files')
-rw-r--r-- | sys-libs/libcxx/files/libcxx-7.0.0-libsupcxx-install.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-libs/libcxx/files/libcxx-7.0.0-libsupcxx-install.patch b/sys-libs/libcxx/files/libcxx-7.0.0-libsupcxx-install.patch new file mode 100644 index 000000000000..35b04e253e61 --- /dev/null +++ b/sys-libs/libcxx/files/libcxx-7.0.0-libsupcxx-install.patch @@ -0,0 +1,32 @@ +From 84f960980e5bbaf136bc130cb385379b8f610335 Mon Sep 17 00:00:00 2001 +From: Petr Hosek <phosek@chromium.org> +Date: Thu, 4 Oct 2018 05:38:53 +0000 +Subject: [PATCH] [CMake] Use just basename when copying C++ ABI headers + +This avoids duplicate directories when the filename includes path. + +Fixes PR39145 + +Differential Revision: https://reviews.llvm.org/D52762 + +git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@343753 91177308-0d34-0410-b5e6-96231b3b80d8 +--- + cmake/Modules/HandleLibCXXABI.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/Modules/HandleLibCXXABI.cmake b/cmake/Modules/HandleLibCXXABI.cmake +index ef3b4f5dd..1c19d7e01 100644 +--- a/cmake/Modules/HandleLibCXXABI.cmake ++++ b/cmake/Modules/HandleLibCXXABI.cmake +@@ -41,7 +41,7 @@ macro(setup_abi_lib abidefines abilib abifiles abidirs) + get_filename_component(ifile ${fpath} NAME) + set(src ${incpath}/${fpath}) + +- set(dst ${LIBCXX_BINARY_INCLUDE_DIR}/${dstdir}/${fpath}) ++ set(dst ${LIBCXX_BINARY_INCLUDE_DIR}/${dstdir}/${ifile}) + add_custom_command(OUTPUT ${dst} + DEPENDS ${src} + COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src} ${dst} +-- +2.19.0 + |