From a2e95647d4d4ae0fa94b4cd27e4989b3138093ae Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 12 Jun 2016 16:28:48 +0000 Subject: [PATCH] [ Alexis La Goutte ] * Fix an issue with scan-view (Closes: #825101) --- debian/patches/scan-view-fix-path.diff | 11 +++++++++++ debian/patches/series | 1 + 2 files changed, 12 insertions(+) create mode 100644 debian/patches/scan-view-fix-path.diff 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