From 1f7e69e458831ac9192568ce779bb8cde80d30c9 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 8 Feb 2022 21:40:25 +0100 Subject: [PATCH] Fix a typo in an header (closes: #1005195) --- debian/changelog | 6 ++++++ debian/patches/fix-typo.diff | 22 ++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 29 insertions(+) create mode 100644 debian/patches/fix-typo.diff diff --git a/debian/changelog b/debian/changelog index 25e5ba51..89535f77 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +llvm-toolchain-13 (1:13.0.1-3) UNRELEASED; urgency=medium + + * Fix a typo in an header (closes: #1005195) + + -- Sylvestre Ledru Tue, 08 Feb 2022 21:39:18 +0100 + llvm-toolchain-13 (1:13.0.1-2) unstable; urgency=medium * mlir: use the cmake option to avoid installing object files diff --git a/debian/patches/fix-typo.diff b/debian/patches/fix-typo.diff new file mode 100644 index 00000000..42ba97da --- /dev/null +++ b/debian/patches/fix-typo.diff @@ -0,0 +1,22 @@ +Index: llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h +=================================================================== +--- llvm-toolchain-13-13.0.1.orig/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h ++++ llvm-toolchain-13-13.0.1/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h +@@ -79,7 +79,7 @@ protected: + #ifndef NDEBUG + ~RefCountedBase() { + assert(RefCount == 0 && +- "Destruction occured when there are still references to this."); ++ "Destruction occurred when there are still references to this."); + } + #else + // Default the destructor in release builds, A trivial destructor may enable +@@ -110,7 +110,7 @@ protected: + #ifndef NDEBUG + ~ThreadSafeRefCountedBase() { + assert(RefCount == 0 && +- "Destruction occured when there are still references to this."); ++ "Destruction occurred when there are still references to this."); + } + #else + // Default the destructor in release builds, A trivial destructor may enable diff --git a/debian/patches/series b/debian/patches/series index 8085eebd..083272b5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -152,3 +152,4 @@ compilerrt-builtins-arch-fix-armhf.diff compilerrt-build-scudo-standalone-option.diff use-gold-for-compiler-rt-when-set.diff wasm-ld-path.diff +fix-typo.diff