summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/patches/patch-r209107-clang-vendor-suffix.diff
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-11-24 18:43:37 +0000
committerdim <dim@FreeBSD.org>2014-11-24 18:43:37 +0000
commit82ca21468e7fe6a5112961ba86434579bed3f204 (patch)
treec2772f1f62ff857fee7802d46eb79f45d45d6d54 /contrib/llvm/patches/patch-r209107-clang-vendor-suffix.diff
parent6148c19c738a92f344008aa3f88f4e008bada0ee (diff)
downloadFreeBSD-src-82ca21468e7fe6a5112961ba86434579bed3f204.zip
FreeBSD-src-82ca21468e7fe6a5112961ba86434579bed3f204.tar.gz
Cleanup patch set, and update README.TXT. Add three new patches.
Diffstat (limited to 'contrib/llvm/patches/patch-r209107-clang-vendor-suffix.diff')
-rw-r--r--contrib/llvm/patches/patch-r209107-clang-vendor-suffix.diff22
1 files changed, 0 insertions, 22 deletions
diff --git a/contrib/llvm/patches/patch-r209107-clang-vendor-suffix.diff b/contrib/llvm/patches/patch-r209107-clang-vendor-suffix.diff
deleted file mode 100644
index 1a26566..0000000
--- a/contrib/llvm/patches/patch-r209107-clang-vendor-suffix.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-This patch adds a FreeBSD-specific suffix to clang's version string. This is
-usually of the form "(yyyyddmm)", representing the date when the compiler was
-last updated.
-
-Introduced here: http://svnweb.freebsd.org/changeset/base/209107
-
-Index: tools/clang/lib/Basic/Version.cpp
-===================================================================
---- tools/clang/lib/Basic/Version.cpp
-+++ tools/clang/lib/Basic/Version.cpp
-@@ -124,8 +124,10 @@ std::string getClangFullVersion() {
- OS << "clang version " CLANG_VERSION_STRING " "
- << getClangFullRepositoryVersion();
-
-+#ifdef CLANG_VENDOR_SUFFIX
-+ OS << CLANG_VENDOR_SUFFIX;
-+#elif defined(CLANG_VENDOR)
- // If vendor supplied, include the base LLVM version as well.
--#ifdef CLANG_VENDOR
- OS << " (based on LLVM " << PACKAGE_VERSION << ")";
- #endif
-
OpenPOWER on IntegriCloud