clang_debian_version
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 31 Oct 2020 13:13:25 +0000 (13:13 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 31 Oct 2020 13:13:25 +0000 (13:13 +0000)
===================================================================

Gbp-Pq: Name 19-clang_debian_version.patch

clang/lib/Basic/Version.cpp

index c69d13b2f689b5fba890ecd812161b90a07e3009..e1b9ccf2e4de741cfeaa30f3b0818c80acaa5c5b 100644 (file)
@@ -14,6 +14,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>
 
@@ -124,7 +125,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();
 
   return OS.str();