summaryrefslogtreecommitdiff
path: root/system/clang/clang-0001-Add-Alpine-Linux-distro.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-15 20:01:45 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-15 20:01:45 +0000
commit8642108eae6cbb08930c10a883407a7ec2b2be1f (patch)
treed07f274152fd85a060cb72bf31ac70951804a79d /system/clang/clang-0001-Add-Alpine-Linux-distro.patch
parentde7967e51d8a8b525054bca4dd72dae1b32a48dd (diff)
downloadpackages-8642108eae6cbb08930c10a883407a7ec2b2be1f.tar.gz
packages-8642108eae6cbb08930c10a883407a7ec2b2be1f.tar.bz2
packages-8642108eae6cbb08930c10a883407a7ec2b2be1f.tar.xz
packages-8642108eae6cbb08930c10a883407a7ec2b2be1f.zip
Bump LLVM and Clang to 6.0.1, move to user/
Diffstat (limited to 'system/clang/clang-0001-Add-Alpine-Linux-distro.patch')
-rw-r--r--system/clang/clang-0001-Add-Alpine-Linux-distro.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/system/clang/clang-0001-Add-Alpine-Linux-distro.patch b/system/clang/clang-0001-Add-Alpine-Linux-distro.patch
deleted file mode 100644
index f69baf5b8..000000000
--- a/system/clang/clang-0001-Add-Alpine-Linux-distro.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From: Natanael Copa <ncopa@alpinelinux.org>
-From: Jakub Jirutka <jakub@jirutka.cz>
-Date: Sun, 16 Apr 2017 16:49:00 +0100
-Subject: [PATCH] Add Alpine Linux distro
-
---- a/include/clang/Driver/Distro.h
-+++ b/include/clang/Driver/Distro.h
-@@ -26,6 +26,7 @@
- // NB: Releases of a particular Linux distro should be kept together
- // in this enum, because some tests are done by integer comparison against
- // the first and last known member in the family, e.g. IsRedHat().
-+ AlpineLinux,
- ArchLinux,
- DebianLenny,
- DebianSqueeze,
-@@ -97,6 +98,10 @@
- /// @name Convenience Predicates
- /// @{
-
-+ bool IsAlpineLinux() const {
-+ return DistroVal == AlpineLinux;
-+ }
-+
- bool IsRedhat() const {
- return DistroVal == Fedora || (DistroVal >= RHEL5 && DistroVal <= RHEL7);
- }
---- a/lib/Driver/Distro.cpp
-+++ b/lib/Driver/Distro.cpp
-@@ -128,6 +128,9 @@
- if (VFS.exists("/etc/arch-release"))
- return Distro::ArchLinux;
-
-+ if (VFS.exists("/etc/alpine-release"))
-+ return Distro::AlpineLinux;
-+
- return Distro::UnknownDistro;
- }