summaryrefslogtreecommitdiffstats
path: root/dev-libs/pocl/pocl-1.4.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-27 02:33:04 +0100
committerSuren A. Chilingaryan <csa@suren.me>2019-10-27 02:33:04 +0100
commit323afedd6e46d273457add43d92f166ffba5acbf (patch)
treed8e953f06b386b5c996d3508bbed9f21adcf66c7 /dev-libs/pocl/pocl-1.4.ebuild
parentb6d14cb5db40c2c8f80450b9ac2288d71b49ad68 (diff)
downloaddarklin4-master.tar.gz
darklin4-master.tar.bz2
darklin4-master.tar.xz
darklin4-master.zip
Fix building of some legacy ebuildsHEADmaster
Diffstat (limited to 'dev-libs/pocl/pocl-1.4.ebuild')
-rw-r--r--dev-libs/pocl/pocl-1.4.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-libs/pocl/pocl-1.4.ebuild b/dev-libs/pocl/pocl-1.4.ebuild
index 1257feb..e649060 100644
--- a/dev-libs/pocl/pocl-1.4.ebuild
+++ b/dev-libs/pocl/pocl-1.4.ebuild
@@ -25,6 +25,8 @@ PATCHES=("${FILESDIR}/vendor_opencl_libs_location.epatch"
)
+# pocl 1.4 only links with libOpenCL.so supporting 2.1 version of the standard (poclu library references
+# clCreateProgramWithIL which is not available in OpenCL 2.0). intel-ocl-sdk for instance
src_configure() {
sed -i'' -e 's#typedef ptrdiff_t intptr_t#//typedef ptrdiff_t intptr_t#' include/pocl_types.h