clang_debian_version
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Tue, 24 Apr 2018 21:24:44 +0000 (22:24 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Tue, 24 Apr 2018 21:24:44 +0000 (22:24 +0100)
===================================================================

Gbp-Pq: Name 19-clang_debian_version.patch

clang/lib/Basic/Version.cpp

index 2663913a876b62fb863374f52f30dd6df3657379..ca89dfc89d6c39a36a0f8a1e2c185a3d0f27a0ae 100644 (file)
@@ -15,6 +15,7 @@
 #include "clang/Basic/LLVM.h"
 #include "clang/Config/config.h"
 #include "llvm/Support/raw_ostream.h"
+#include "clang/Debian/debian_path.h"
 #include <cstdlib>
 #include <cstring>
 
@@ -125,7 +126,7 @@ std::string getClangToolFullVersion(StringRef ToolName) {
 #ifdef CLANG_VENDOR
   OS << CLANG_VENDOR;
 #endif
-  OS << ToolName << " version " CLANG_VERSION_STRING " "
+  OS << ToolName << " version " CLANG_VERSION_STRING "-" DEB_PATCHSETVERSION " "
      << getClangFullRepositoryVersion();
 
   // If vendor supplied, include the base LLVM version as well.