diff --git a/debian/patches/scan-view-fix-path.diff b/debian/patches/scan-view-fix-path.diff new file mode 100644 index 00000000..0db8033d --- /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" diff --git a/debian/patches/series b/debian/patches/series index c8ab2b4d..0029d226 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -30,3 +30,4 @@ silent-test-transforms.diff install-scan-build-py.diff #scan-build-py-default.diff +scan-view-fix-path.diff