summaryrefslogtreecommitdiff
path: root/lang/intel-compute-runtime/files/patch-includes
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-02-21 14:22:50 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-02-21 14:22:50 +0000
commite5b1750b6b9800a0ddcb2210332312ed3675caac (patch)
treedff921edb7e8b0cff3776df2ee1a20a282b09e0c /lang/intel-compute-runtime/files/patch-includes
parentwww/gitea: Update to 1.10.4 (diff)
lang/intel-compute-runtime: update to 20.07.15711
Changes: https://github.com/intel/compute-runtime/compare/20.06.15619...20.07.15711 Reported by: GitHub (watch releases)
Notes
Notes: svn path=/head/; revision=526627
Diffstat (limited to 'lang/intel-compute-runtime/files/patch-includes')
-rw-r--r--lang/intel-compute-runtime/files/patch-includes20
1 files changed, 19 insertions, 1 deletions
diff --git a/lang/intel-compute-runtime/files/patch-includes b/lang/intel-compute-runtime/files/patch-includes
index da46c97d99cd..eeb1a6217c38 100644
--- a/lang/intel-compute-runtime/files/patch-includes
+++ b/lang/intel-compute-runtime/files/patch-includes
@@ -1,4 +1,8 @@
-Add missing includes in various places.
+Adjust includes in various places.
+
+core/os_interface/linux/drm_neo.cpp:21:10: fatal error: 'linux/limits.h' file not found
+#include <linux/limits.h>
+ ^~~~~~~~~~~~~~~~
runtime/tbx/tbx_sockets_imp.cpp:74:51: error: use of undeclared identifier 'IPPROTO_TCP'
m_socket = ::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
@@ -11,6 +15,20 @@ runtime/tbx/tbx_sockets_imp.cpp:107:9: error: unknown type name 'sockaddr_in'; d
struct sockaddr {
^
+--- core/os_interface/linux/drm_neo.cpp.orig 2020-02-14 10:58:18 UTC
++++ core/os_interface/linux/drm_neo.cpp
+@@ -15,10 +15,10 @@
+ #include "core/os_interface/linux/sys_calls.h"
+ #include "core/utilities/directory.h"
+
++#include <climits>
+ #include <cstdio>
+ #include <cstring>
+ #include <fstream>
+-#include <linux/limits.h>
+
+ namespace NEO {
+
--- runtime/tbx/tbx_sockets_imp.cpp.orig 2019-11-22 15:41:47 UTC
+++ runtime/tbx/tbx_sockets_imp.cpp
@@ -18,6 +18,7 @@ typedef int socklen_t;