diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-11-22 21:05:56 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-11-22 21:11:44 +0100 |
commit | 22a7695920dd985cbb8bf2e429723804e3fdce73 (patch) | |
tree | 609881cb95960e24125d0d615651c9c9295b36e7 /sys-devel/llvm/files | |
parent | dev-lisp/clozurecl: fix bug with the ~e format (diff) | |
download | gentoo-22a7695920dd985cbb8bf2e429723804e3fdce73.tar.gz gentoo-22a7695920dd985cbb8bf2e429723804e3fdce73.tar.bz2 gentoo-22a7695920dd985cbb8bf2e429723804e3fdce73.zip |
sys-devel/llvm: Update the patch and ebuild partially scan-* changes
Upstream has added installation rules for scan-build and scan-view,
and make them FHS-aware. This is mostly neat, except that scan-view
expects Python modules in /usr/share. The patch and ebuild is partially
updated to accomodate this. It will require at least cleaning up
/usr/share still.
Diffstat (limited to 'sys-devel/llvm/files')
-rw-r--r-- | sys-devel/llvm/files/clang-3.8-gentoo-install.patch | 14 | ||||
-rw-r--r-- | sys-devel/llvm/files/cmake/clang-0001-Install-clang-runtime-into-usr-lib-without-suffix-3.8.patch | 4 |
2 files changed, 15 insertions, 3 deletions
diff --git a/sys-devel/llvm/files/clang-3.8-gentoo-install.patch b/sys-devel/llvm/files/clang-3.8-gentoo-install.patch new file mode 100644 index 000000000000..25c4fcafd03f --- /dev/null +++ b/sys-devel/llvm/files/clang-3.8-gentoo-install.patch @@ -0,0 +1,14 @@ +--- + tools/clang/tools/scan-view/scan-view | 2 +- + +diff --git a/tools/clang/tools/scan-view/bin/scan-view b/tools/clang/tools/scan-view/bin/scan-view +index fb27da6..1f8ddb8 100755 +--- a/tools/clang/tools/scan-view/bin/scan-view ++++ b/tools/clang/tools/scan-view/bin/scan-view +@@ -66,2 +66,2 @@ def start_browser(port, options): +- import ScanView ++ from clang import ScanView + try: +-- +1.8.4.4 + diff --git a/sys-devel/llvm/files/cmake/clang-0001-Install-clang-runtime-into-usr-lib-without-suffix-3.8.patch b/sys-devel/llvm/files/cmake/clang-0001-Install-clang-runtime-into-usr-lib-without-suffix-3.8.patch index cf2ca5947016..931eb56e5a96 100644 --- a/sys-devel/llvm/files/cmake/clang-0001-Install-clang-runtime-into-usr-lib-without-suffix-3.8.patch +++ b/sys-devel/llvm/files/cmake/clang-0001-Install-clang-runtime-into-usr-lib-without-suffix-3.8.patch @@ -29,9 +29,7 @@ diff --git a/lib/Headers/CMakeLists.txt b/lib/Headers/CMakeLists.txt index 7de5fbe..49f439b 100644 --- a/tools/clang/lib/Headers/CMakeLists.txt +++ b/tools/clang/lib/Headers/CMakeLists.txt -@@ -98,4 +98,4 @@ set_target_properties(clang-headers PROPERTIES FOLDER "Misc") - install( - FILES ${files} ${CMAKE_CURRENT_BINARY_DIR}/arm_neon.h +@@ -100,4 +100,4 @@ set_target_properties(clang-headers PROPERTIES FOLDER "Misc") PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ - DESTINATION lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION}/include) + DESTINATION lib/clang/${CLANG_VERSION}/include) |