From 3cd22c5584a700a2036b948ef96ae41bbd233bb6 Mon Sep 17 00:00:00 2001 From: dim Date: Sat, 30 May 2015 15:36:23 +0000 Subject: Drop llvm/clang patches which are no longer necessary. --- .../llvm/patches/patch-02-clang-vendor-suffix.diff | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 contrib/llvm/patches/patch-02-clang-vendor-suffix.diff (limited to 'contrib/llvm/patches/patch-02-clang-vendor-suffix.diff') diff --git a/contrib/llvm/patches/patch-02-clang-vendor-suffix.diff b/contrib/llvm/patches/patch-02-clang-vendor-suffix.diff deleted file mode 100644 index f94b9f3..0000000 --- a/contrib/llvm/patches/patch-02-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 -@@ -128,8 +128,10 @@ std::string getClangToolFullVersion(StringRef Tool - OS << ToolName << " 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 " << BACKEND_PACKAGE_STRING << ")"; - #endif - -- cgit v1.1