From ef8fc8008868f4420bc0ac0175f20d54a53a6c7d Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 10 Nov 2022 12:23:06 +0100 Subject: [PATCH] remove non applied patch --- .../remove-trailing-space-version.diff | 34 ------------------- 1 file changed, 34 deletions(-) delete mode 100644 debian/patches/remove-trailing-space-version.diff diff --git a/debian/patches/remove-trailing-space-version.diff b/debian/patches/remove-trailing-space-version.diff deleted file mode 100644 index fadcf7f7..00000000 --- a/debian/patches/remove-trailing-space-version.diff +++ /dev/null @@ -1,34 +0,0 @@ -Index: llvm-toolchain-10_10.0.1~+rc1/clang/lib/Basic/Version.cpp -=================================================================== ---- llvm-toolchain-10_10.0.1~+rc1.orig/clang/lib/Basic/Version.cpp -+++ llvm-toolchain-10_10.0.1~+rc1/clang/lib/Basic/Version.cpp -@@ -125,8 +125,12 @@ std::string getClangToolFullVersion(Stri - #ifdef CLANG_VENDOR - OS << CLANG_VENDOR; - #endif -- OS << ToolName << " version " CLANG_VERSION_STRING "-" DEB_PATCHSETVERSION " " -- << getClangFullRepositoryVersion(); -+ OS << ToolName << " version " CLANG_VERSION_STRING "-" DEB_PATCHSETVERSION; -+ -+ std::string repo = getClangFullRepositoryVersion(); -+ if (!repo.empty()) { -+ OS << " " << repo; -+ } - - return OS.str(); - } -@@ -139,7 +143,13 @@ std::string getClangFullCPPVersion() { - #ifdef CLANG_VENDOR - OS << CLANG_VENDOR; - #endif -- OS << "Clang " CLANG_VERSION_STRING " " << getClangFullRepositoryVersion(); -+ OS << "Clang " CLANG_VERSION_STRING; -+ -+ std::string repo = getClangFullRepositoryVersion(); -+ if (!repo.empty()) { -+ OS << " " << repo; -+ } -+ - return OS.str(); - } -