mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-27 22:42:17 +00:00
Revert "Add patch for Ubuntu kinetic"
already upstream
This reverts commit 68ef3745a7
.
This commit is contained in:
parent
c380af2fe1
commit
a375237f3e
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -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
|
|
||||||
|
38
debian/patches/ubuntu-kinetic.patch
vendored
38
debian/patches/ubuntu-kinetic.patch
vendored
@ -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;
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user