summaryrefslogtreecommitdiff
path: root/debian/patches/0003-Debian-version-info-and-bugreport.patch
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-02 17:06:08 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-02 17:06:08 +0300
commit18583eaa2c6fa769ce80605422fa10a60d353af7 (patch)
tree4b6730afc2006e86ae8b91c8c4cf52b313b5c188 /debian/patches/0003-Debian-version-info-and-bugreport.patch
downloadllvm-toolchain-8-debian.tar.gz
Import llvm-toolchain-8 (1:8.0.1-4)debian/8.0.1-4debian
Diffstat (limited to 'debian/patches/0003-Debian-version-info-and-bugreport.patch')
-rw-r--r--debian/patches/0003-Debian-version-info-and-bugreport.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/0003-Debian-version-info-and-bugreport.patch b/debian/patches/0003-Debian-version-info-and-bugreport.patch
new file mode 100644
index 0000000..41feae8
--- /dev/null
+++ b/debian/patches/0003-Debian-version-info-and-bugreport.patch
@@ -0,0 +1,19 @@
+---
+ lib/Support/CommandLine.cpp | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+Index: llvm-toolchain-snapshot_8~svn342269/lib/Support/CommandLine.cpp
+===================================================================
+--- llvm-toolchain-snapshot_8~svn342269.orig/lib/Support/CommandLine.cpp
++++ llvm-toolchain-snapshot_8~svn342269/lib/Support/CommandLine.cpp
+@@ -2127,6 +2127,10 @@ public:
+ OS << " " << LLVM_VERSION_INFO;
+ #endif
+ OS << "\n ";
++#ifdef LLVM_DEBIAN_INFO
++ OS << LLVM_DEBIAN_INFO;
++#endif
++ OS << "\n ";
+ #ifndef __OPTIMIZE__
+ OS << "DEBUG build";
+ #else