diff options
Diffstat (limited to 'community/chromium/swiftshader.patch')
-rw-r--r-- | community/chromium/swiftshader.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/community/chromium/swiftshader.patch b/community/chromium/swiftshader.patch index 75f161593f..5b2deb86fc 100644 --- a/community/chromium/swiftshader.patch +++ b/community/chromium/swiftshader.patch @@ -8,41 +8,6 @@ #include <unistd.h> #include <netdb.h> #include <netinet/in.h> ---- ./third_party/swiftshader/third_party/LLVM/include-linux/llvm/Config/config.h -+++ ./third_party/swiftshader/third_party/LLVM/include-linux/llvm/Config/config.h -@@ -125,7 +125,7 @@ - #define HAVE_ERROR_T 1 - - /* Define to 1 if you have the <execinfo.h> header file. */ --#define HAVE_EXECINFO_H 1 -+/* #undef HAVE_EXECINFO_H */ - - /* Define to 1 if you have the <fcntl.h> header file. */ - #define HAVE_FCNTL_H 1 -@@ -240,10 +240,10 @@ - /* #undef HAVE_MACH_O_DYLD_H */ - - /* Define if mallinfo() is available on this platform. */ --#define HAVE_MALLINFO 1 -+/* #undef HAVE_MALLINFO */ - - /* Define to 1 if you have the <malloc.h> header file. */ --#define HAVE_MALLOC_H 1 -+/* #undef HAVE_MALLOC_H */ - - /* Define to 1 if you have the <malloc/malloc.h> header file. */ - /* #undef HAVE_MALLOC_MALLOC_H */ ---- ./third_party/swiftshader/third_party/LLVM/lib/Support/DynamicLibrary.cpp -+++ ./third_party/swiftshader/third_party/LLVM/lib/Support/DynamicLibrary.cpp -@@ -160,7 +160,7 @@ void* DynamicLibrary::SearchForAddressOfSymbol(const char *symbolName) { - // On linux we have a weird situation. The stderr/out/in symbols are both - // macros and global variables because of standards requirements. So, we - // boldly use the EXPLICIT_SYMBOL macro without checking for a #define first. --#if defined(__linux__) && !defined(__ANDROID__) -+#if defined(__GLIBC__) - { - EXPLICIT_SYMBOL(stderr); - EXPLICIT_SYMBOL(stdout); --- ./third_party/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/Config/config.h +++ ./third_party/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/Config/config.h @@ -14,7 +14,7 @@ |