llvm-toolchain/debian/patches/19-clang_debian_version.patch
2013-06-19 09:48:21 +00:00

23 lines
869 B
Diff

Index: llvm-toolchain-snapshot_3.4~svn184290/clang/lib/Basic/Version.cpp
===================================================================
--- llvm-toolchain-snapshot_3.4~svn184290.orig/clang/lib/Basic/Version.cpp 2013-06-19 11:13:54.910779487 +0200
+++ llvm-toolchain-snapshot_3.4~svn184290/clang/lib/Basic/Version.cpp 2013-06-19 11:13:54.906779469 +0200
@@ -15,6 +15,7 @@
#include "clang/Basic/LLVM.h"
#include "llvm/Config/config.h"
#include "llvm/Support/raw_ostream.h"
+#include "clang/Debian/debian_path.h"
#include <cstdlib>
#include <cstring>
@@ -121,7 +122,8 @@
#ifdef CLANG_VENDOR
OS << CLANG_VENDOR;
#endif
- OS << "clang version " CLANG_VERSION_STRING " "
+ OS << "clang version " CLANG_VERSION_STRING "-" DEB_PATCHSETVERSION " "
+
<< getClangFullRepositoryVersion();
// If vendor supplied, include the base LLVM version as well.