Bug#592301: clang package is missing clang++ and support files for scan-build
Anders Kaseorg
andersk at MIT.EDU
Mon Aug 9 05:00:33 UTC 2010
Package: clang
Version: 2.7-2
Tags: patch
Currently the clang++ symlink is not installed. Also, scan-build fails
with this error:
scan-build: Cannot find 'sorttable.js'.
See also
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/574719
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/584759
This patch corrects these problems.
diff -u clang-2.7/debian/debhelper.in/clang.install clang-2.7/debian/debhelper.in/clang.install
--- clang-2.7/debian/debhelper.in/clang.install
+++ clang-2.7/debian/debhelper.in/clang.install
@@ -2,4 +2,4 @@
debian/@TMP@/@PF@/bin/clang @PF@/bin/
-tools/clang/tools/scan-build/scan-build @PF@/bin/
-tools/clang/tools/scan-build/ccc-analyzer @PF@/bin/
+debian/@TMP@/@PF@/bin/clang++ @PF@/bin/
+tools/clang/tools/scan-build @PF@/share/clang/
debian/@TMP@/@PF@/share/man/man1/clang.1 usr/share/man/man1/
diff -u clang-2.7/debian/debhelper.in/clang.links clang-2.7/debian/debhelper.in/clang.links
--- clang-2.7/debian/debhelper.in/clang.links
+++ clang-2.7/debian/debhelper.in/clang.links
@@ -1,3 +1,3 @@
usr/share/man/man1/clang.1.gz usr/share/man/man1/llvm-clang.1.gz
- at PF@/bin/ccc-analyzer @PF@/bin/c++-analyzer
+ at PF@/share/clang/scan-build/scan-build @PF@/bin/scan-build
@PF@/bin/clang @PF@/bin/llvm-clang
More information about the Pkg-llvm-team
mailing list