summaryrefslogtreecommitdiff
path: root/debian/patches/scan-view-fix-path.diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-12-29 13:40:27 +0300
committerIgor Pashev <pashev.igor@gmail.com>2016-12-29 13:40:27 +0300
commitdf36a469d77312f6dc0dccf08252542c16cf3308 (patch)
treec7089deec82cde1a5ac416aff1daadb097225ba3 /debian/patches/scan-view-fix-path.diff
downloadllvm-toolchain-3.8-df36a469d77312f6dc0dccf08252542c16cf3308.tar.gz
llvm-toolchain-3.8 (1:3.8.1-16)debian/3.8.1-16
Diffstat (limited to 'debian/patches/scan-view-fix-path.diff')
-rw-r--r--debian/patches/scan-view-fix-path.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/scan-view-fix-path.diff b/debian/patches/scan-view-fix-path.diff
new file mode 100644
index 0000000..0db8033
--- /dev/null
+++ b/debian/patches/scan-view-fix-path.diff
@@ -0,0 +1,11 @@
+--- llvm-toolchain-snapshot_3.8~svn253186.orig/clang/tools/scan-view/bin/scan-view.old 2016-05-23 15:27:03.278422015 +0200
++++ llvm-toolchain-snapshot_3.8~svn253186/clang/tools/scan-view/bin/scan-view 2016-05-23 15:34:30.517953399 +0200
+@@ -61,7 +61,7 @@
+
+ def run(port, options, root):
+ # Prefer to look relative to the installed binary
+- share = os.path.dirname(__file__) + "/../share/scan-view"
++ share = os.path.dirname(__file__) + "/../share/"
+ if not os.path.isdir(share):
+ # Otherwise look relative to the source
+ share = os.path.dirname(__file__) + "/../../scan-view/share"