Revert "Add patch for Ubuntu kinetic"

already upstream

This reverts commit 68ef3745a7.
This commit is contained in:
Sylvestre Ledru 2022-05-31 08:34:12 +02:00
parent c380af2fe1
commit a375237f3e
2 changed files with 0 additions and 39 deletions

View File

@ -150,4 +150,3 @@ python3-scan-build.py
issue-54242.diff issue-54242.diff
revert-update-doc.diff revert-update-doc.diff
unwind-force-pthread-dl.diff unwind-force-pthread-dl.diff
ubuntu-kinetic.patch

View File

@ -1,38 +0,0 @@
Description: Update the list of Ubuntu release names
Author: Steve Langasek <steve.langasek@ubuntu.com>
Last-Update: 2022-05-03
Forwarded: no
Index: llvm-toolchain-14-14.0.0/clang/include/clang/Driver/Distro.h
===================================================================
--- llvm-toolchain-14-14.0.0.orig/clang/include/clang/Driver/Distro.h
+++ llvm-toolchain-14-14.0.0/clang/include/clang/Driver/Distro.h
@@ -74,6 +74,7 @@
UbuntuHirsute,
UbuntuImpish,
UbuntuJammy,
+ UbuntuKinetic,
UnknownDistro
};
@@ -125,7 +126,7 @@
}
bool IsUbuntu() const {
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuJammy;
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuKinetic;
}
bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
Index: llvm-toolchain-14-14.0.0/clang/lib/Driver/Distro.cpp
===================================================================
--- llvm-toolchain-14-14.0.0.orig/clang/lib/Driver/Distro.cpp
+++ llvm-toolchain-14-14.0.0/clang/lib/Driver/Distro.cpp
@@ -91,6 +91,7 @@
.Case("hirsute", Distro::UbuntuHirsute)
.Case("impish", Distro::UbuntuImpish)
.Case("jammy", Distro::UbuntuJammy)
+ .Case("kinetic", Distro::UbuntuKinetic)
.Default(Distro::UnknownDistro);
return Version;
}