diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-28 15:35:22 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-28 15:36:51 +0200 |
commit | c529e08b39870357e8f10ddd9fb48b4aea2543bd (patch) | |
tree | da282ddd664c1a2da9ea125da7b73566127b6fcb /testing/emscripten-fastcomp/fix-build-with-musl-libc.patch | |
parent | cc5e775db8b5793ee4f2e1e5372bec6b8e27d58a (diff) | |
download | aports-c529e08b39870357e8f10ddd9fb48b4aea2543bd.tar.bz2 aports-c529e08b39870357e8f10ddd9fb48b4aea2543bd.tar.xz |
testing/emscripten-fastcomp: update abuild according to llvm4
Diffstat (limited to 'testing/emscripten-fastcomp/fix-build-with-musl-libc.patch')
-rw-r--r-- | testing/emscripten-fastcomp/fix-build-with-musl-libc.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/testing/emscripten-fastcomp/fix-build-with-musl-libc.patch b/testing/emscripten-fastcomp/fix-build-with-musl-libc.patch deleted file mode 100644 index 223b7306db..0000000000 --- a/testing/emscripten-fastcomp/fix-build-with-musl-libc.patch +++ /dev/null @@ -1,26 +0,0 @@ -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Thu, 18 Feb 2016 10:33:04 +0100 -Subject: [PATCH] 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. - ---- 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 |