From 25af6d2de863930f30b69ecf403d3f47c0f6690e Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 30 Aug 2022 16:10:59 +0200 Subject: [PATCH] Fix a typo to silent lintian (Closes: #1018770) --- debian/changelog | 6 ++++++ debian/patches/fix-typo-1018770.diff | 20 ++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 27 insertions(+) create mode 100644 debian/patches/fix-typo-1018770.diff diff --git a/debian/changelog b/debian/changelog index e3633f3e..bb6868da 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +llvm-toolchain-14 (1:14.0.6-3) UNRELEASED; urgency=medium + + * Fix a typo to silent lintian (Closes: #1018770) + + -- Sylvestre Ledru Tue, 30 Aug 2022 16:10:33 +0200 + llvm-toolchain-14 (1:14.0.6-2) unstable; urgency=medium [ Sam McCall ] diff --git a/debian/patches/fix-typo-1018770.diff b/debian/patches/fix-typo-1018770.diff new file mode 100644 index 00000000..8530a49e --- /dev/null +++ b/debian/patches/fix-typo-1018770.diff @@ -0,0 +1,20 @@ +Index: llvm-toolchain-14-14.0.6/llvm/include/llvm/Target/TargetMachine.h +=================================================================== +--- llvm-toolchain-14-14.0.6.orig/llvm/include/llvm/Target/TargetMachine.h ++++ llvm-toolchain-14-14.0.6/llvm/include/llvm/Target/TargetMachine.h +@@ -439,13 +439,13 @@ public: + raw_pwrite_stream &, raw_pwrite_stream *, + CodeGenFileType, CGPassBuilderOption, + PassInstrumentationCallbacks *) { +- return make_error("buildCodeGenPipeline is not overriden", ++ return make_error("buildCodeGenPipeline is not overridden", + inconvertibleErrorCode()); + } + + virtual std::pair getPassNameFromLegacyName(StringRef) { + llvm_unreachable( +- "getPassNameFromLegacyName parseMIRPipeline is not overriden"); ++ "getPassNameFromLegacyName parseMIRPipeline is not overridden"); + } + + /// Add passes to the specified pass manager to get machine code emitted with diff --git a/debian/patches/series b/debian/patches/series index a8251ea9..fda038f5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -151,3 +151,4 @@ python3-scan-build.py revert-update-doc.diff fix-typo.diff ubuntu-kinetic.patch +fix-typo-1018770.diff