Fix the fix-scan-view-path.diff path

This commit is contained in:
Sylvestre Ledru 2017-11-25 14:19:51 +00:00
parent 7be7970375
commit f0f422d6fe
3 changed files with 3 additions and 2 deletions

1
debian/changelog vendored
View File

@ -16,6 +16,7 @@ llvm-toolchain-snapshot (1:6.0~svn315736-2) unstable; urgency=medium
* Remove the hardcoded declarations of llvm version in debian/rules
* add /usr/lib/cuda to the CUDA toolkit search paths
Thanks to Andreas Beckmann for the patch (Closes: #882505) (LP: #1706326)
* Fix the fix-scan-view-path.diff path
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 16 Oct 2017 10:24:33 +0200

View File

@ -6,7 +6,7 @@ Index: llvm-toolchain-3.9-3.9/clang/tools/scan-view/bin/scan-view
kMaxPortsToTry = 100
###
+BASE_DIR = '/usr/share/clang/scan-view-3.9'
+BASE_DIR = '/usr/share/clang/scan-view-6.0'
def url_is_up(url):

View File

@ -4,7 +4,7 @@ TARGET_VERSION=6.0
ORIG_VERSION_2=6_0
TARGET_VERSION_2=6_0
LIST=`ls debian/control debian/orig-tar.sh debian/rules debian/patches/clang-analyzer-force-version.diff debian/patches/clang-format-version.diff debian/patches/python-clangpath.diff debian/patches/scan-build-clang-path.diff debian/patches/lldb-libname.diff debian/patches/fix-scan-view-path.diff debian/patches/lldb-addversion-suffix-to-llvm-server-exec.patch debian/patches/clang-tidy-run-bin.diff debian/patches/clang-apply-replacements.diff`
LIST=`ls debian/control debian/orig-tar.sh debian/rules debian/patches/clang-analyzer-force-version.diff debian/patches/clang-format-version.diff debian/patches/python-clangpath.diff debian/patches/scan-build-clang-path.diff debian/patches/lldb-libname.diff debian/patches/fix-scan-view-path.diff debian/patches/lldb-addversion-suffix-to-llvm-server-exec.patch debian/patches/clang-tidy-run-bin.diff debian/patches/clang-apply-replacements.diff debian/patches/fix-scan-view-path.diff`
for F in $LIST; do
sed -i -e "s|$ORIG_VERSION_2|$TARGET_VERSION_2|g" $F
sed -i -e "s|$ORIG_VERSION|$TARGET_VERSION|g" $F