aboutsummaryrefslogtreecommitdiffstats
path: root/community/chromium/swiftshader.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-06-10 03:36:52 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-10 03:36:52 +0000
commit173bc29632918336693bfcb27b4cb407a33cf40b (patch)
treeefca386abaa018c7237972ba470f288fbd0d1111 /community/chromium/swiftshader.patch
parent0e4483164329141a22cc1e8bf56c9a2cfa2a81e8 (diff)
downloadaports-173bc29632918336693bfcb27b4cb407a33cf40b.tar.bz2
aports-173bc29632918336693bfcb27b4cb407a33cf40b.tar.xz
community/chromium: build fix
Diffstat (limited to 'community/chromium/swiftshader.patch')
-rw-r--r--community/chromium/swiftshader.patch24
1 files changed, 8 insertions, 16 deletions
diff --git a/community/chromium/swiftshader.patch b/community/chromium/swiftshader.patch
index bb133d1cc2..75f161593f 100644
--- a/community/chromium/swiftshader.patch
+++ b/community/chromium/swiftshader.patch
@@ -1,7 +1,5 @@
-diff --git a/third_party/swiftshader/src/Common/Socket.cpp b/third_party/swiftshader/src/Common/Socket.cpp
-index a19f574..3e6655d 100644
---- a/third_party/swiftshader/src/Common/Socket.cpp
-+++ third_party/swiftshader/src/Common/Socket.cpp
+--- ./third_party/swiftshader/src/Common/Socket.cpp
++++ ./third_party/swiftshader/src/Common/Socket.cpp
@@ -17,6 +17,7 @@
#if defined(_WIN32)
#include <ws2tcpip.h>
@@ -10,10 +8,8 @@ index a19f574..3e6655d 100644
#include <unistd.h>
#include <netdb.h>
#include <netinet/in.h>
-diff --git a/third_party/swiftshader/third_party/LLVM/include-linux/llvm/Config/config.h b/third_party/swiftshader/third_party/LLVM/include-linux/llvm/Config/config.h
-index 509bc26..6522713 100644
---- a/third_party/swiftshader/third_party/LLVM/include-linux/llvm/Config/config.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
++++ ./third_party/swiftshader/third_party/LLVM/include-linux/llvm/Config/config.h
@@ -125,7 +125,7 @@
#define HAVE_ERROR_T 1
@@ -36,10 +32,8 @@ index 509bc26..6522713 100644
/* Define to 1 if you have the <malloc/malloc.h> header file. */
/* #undef HAVE_MALLOC_MALLOC_H */
-diff --git a/third_party/swiftshader/third_party/LLVM/lib/Support/DynamicLibrary.cpp b/third_party/swiftshader/third_party/LLVM/lib/Support/DynamicLibrary.cpp
-index bd68083..f703e13 100644
---- a/third_party/swiftshader/third_party/LLVM/lib/Support/DynamicLibrary.cpp
-+++ third_party/swiftshader/third_party/LLVM/lib/Support/DynamicLibrary.cpp
+--- ./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
@@ -49,10 +43,8 @@ index bd68083..f703e13 100644
{
EXPLICIT_SYMBOL(stderr);
EXPLICIT_SYMBOL(stdout);
-diff --git a/third_party/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/Config/config.h b/third_party/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/Config/config.h
-index e14edbd..8d7e41e 100644
---- a/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
+--- ./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 @@
#define ENABLE_CRASH_OVERRIDES 1