summaryrefslogtreecommitdiffhomepage
path: root/patches/llvm_host/llvm-0002-Fix-build-with-musl-libc.patch
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2023-02-16 14:19:56 +0100
committerØrjan Malde <red@foxi.me>2023-02-16 14:19:56 +0100
commitd84cb660ff367f68465fe18fab5cd2151d73eaa5 (patch)
tree855f1e967a6bfb498e88565959b5e8bb2ae90bfc /patches/llvm_host/llvm-0002-Fix-build-with-musl-libc.patch
parentf6761e9430f9908d8183210f91ed80b9b85815dc (diff)
downloadmidipix_build-d84cb660ff367f68465fe18fab5cd2151d73eaa5.tar.bz2
midipix_build-d84cb660ff367f68465fe18fab5cd2151d73eaa5.tar.xz
groups/010.host_deps.group: drop {llvm,clang}_host
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches/llvm_host/llvm-0002-Fix-build-with-musl-libc.patch')
-rw-r--r--patches/llvm_host/llvm-0002-Fix-build-with-musl-libc.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/patches/llvm_host/llvm-0002-Fix-build-with-musl-libc.patch b/patches/llvm_host/llvm-0002-Fix-build-with-musl-libc.patch
deleted file mode 100644
index 1a690808..00000000
--- a/patches/llvm_host/llvm-0002-Fix-build-with-musl-libc.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 5c571082fdaf61f6df19d9b7137dc26d71334058 Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Thu, 18 Feb 2016 10:33:04 +0100
-Subject: [PATCH 2/3] Fix build with musl libc
-
-On musl libc the fopen64 and fopen are the same thing, but for
-compatibility they have a `#define fopen64 fopen`. Same applies for
-fseek64, fstat64, fstatvfs64, ftello64, lstat64, stat64 and tmpfile64.
----
- include/llvm/Analysis/TargetLibraryInfo.h | 9 +++++++++
- 1 file changed, 9 insertions(+)
-
-diff --git a/include/llvm/Analysis/TargetLibraryInfo.h b/include/llvm/Analysis/TargetLibraryInfo.h
-index 7becdf0..7f14427 100644
---- a/include/llvm/Analysis/TargetLibraryInfo.h
-+++ b/include/llvm/Analysis/TargetLibraryInfo.h
-@@ -18,6 +18,15 @@
- #include "llvm/IR/Module.h"
- #include "llvm/Pass.h"
-
-+#undef fopen64
-+#undef fseeko64
-+#undef fstat64
-+#undef fstatvfs64
-+#undef ftello64
-+#undef lstat64
-+#undef stat64
-+#undef tmpfile64
-+
- namespace llvm {
- /// VecDesc - Describes a possible vectorization of a function.
- /// Function 'VectorFnName' is equivalent to 'ScalarFnName' vectorized
---
-2.7.3
-