summaryrefslogtreecommitdiffstats
path: root/dev-libs/pocl/pocl-1.4.ebuild
diff options
context:
space:
mode:
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