diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-12-13 05:34:59 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-12-13 05:34:59 +0000 |
commit | 5fba554d35319484403c2517e7d9aff4e83e3f37 (patch) | |
tree | 95a509dbfdf5f2172dc87332e422286863222c16 /lang/intel-compute-runtime/files/patch-unix | |
parent | Update finance/libofx to 0.9.15 (diff) |
lang/compute-runtime: prefix package like other distributions
Compute runtime unlike Beignet maybe used by other CPU vendors for
a common runtime used by GPGPU.
Notes
Notes:
svn path=/head/; revision=519964
Diffstat (limited to 'lang/intel-compute-runtime/files/patch-unix')
-rw-r--r-- | lang/intel-compute-runtime/files/patch-unix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lang/intel-compute-runtime/files/patch-unix b/lang/intel-compute-runtime/files/patch-unix new file mode 100644 index 000000000000..16767d7bf70f --- /dev/null +++ b/lang/intel-compute-runtime/files/patch-unix @@ -0,0 +1,26 @@ +Relax Linux checks for the code works on any non-Windows platform + +core/elf/writer.cpp:54:9: error: + use of undeclared identifier 'memcpy_s' + memcpy_s(data, queueFront.dataSize, queueFront.data.c_str(), queueFront.dataSize); + ^ +core/elf/writer.cpp:59:13: error: + use of undeclared identifier 'memcpy_s' + memcpy_s(curString, queueFront.name.size(), queueFront.name.c_str(), queueFront.name.size()); + ^ +core/elf/writer.cpp:76:5: error: + use of undeclared identifier 'memcpy_s' + memcpy_s(curSectionHeader, sizeof(SElf64SectionHeader), + ^ + +--- core/helpers/string.h.orig 2019-11-22 15:41:47 UTC ++++ core/helpers/string.h +@@ -10,7 +10,7 @@ + #include <memory> + #include <type_traits> + +-#if defined(__linux__) ++#if !defined(_WIN32) + + #include <cstring> + #include <errno.h> |