Index: head/devel/opencl/Makefile =================================================================== --- head/devel/opencl/Makefile (revision 541099) +++ head/devel/opencl/Makefile (revision 541100) @@ -1,44 +1,44 @@ # Created by: Oliver Hartmann # $FreeBSD$ PORTNAME= opencl PORTVERSION= 2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= ohartman@zedat.fu-berlin.de COMMENT= Open Computing Language (OpenCL) specifications V2.2 (header files) LICENSE= unknown LICENSE_NAME= BSD-esque license agreement LICENSE_TEXT= License is included in each of the header files of this port LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept CONFLICTS= opencl-1.[0-2] USE_GITHUB= yes GH_ACCOUNT= KhronosGroup GH_PROJECT= OpenCL-Headers OpenCL-CLHPP:clhpp GH_TAGNAME= ${HEADER_TAG} ${CLHPP_TAG}:clhpp # the header releases don't have tags yet, so use git commit for now HEADER_TAG= f039db6 CLHPP_TAG= 8b6a312 USES= python:build NO_ARCH= yes WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/opencl${PORTVERSION:S/.//}/CL do-build: @cd ${WRKSRC_clhpp} && ${PYTHON_CMD} gen_cl_hpp.py do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/CL ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/CL ${INSTALL_DATA} ${WRKSRC_clhpp}/cl.hpp \ ${STAGEDIR}${PREFIX}/include/CL/cl.hpp ${INSTALL_DATA} ${WRKSRC_clhpp}/input_cl2.hpp \ ${STAGEDIR}${PREFIX}/include/CL/cl2.hpp .include Index: head/devel/opencl/files/patch-cl__platform.h =================================================================== --- head/devel/opencl/files/patch-cl__platform.h (nonexistent) +++ head/devel/opencl/files/patch-cl__platform.h (revision 541100) @@ -0,0 +1,13 @@ +--- cl_platform.h.orig 2020-06-18 22:38:47 UTC ++++ cl_platform.h +@@ -429,7 +429,9 @@ typedef unsigned int cl_GLenum; + + /* Define basic vector types */ + #if defined( __VEC__ ) +- #include /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */ ++# if !defined(__clang__) ++ #include /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */ ++# endif + typedef vector unsigned char __cl_uchar16; + typedef vector signed char __cl_char16; + typedef vector unsigned short __cl_ushort8; Property changes on: head/devel/opencl/files/patch-cl__platform.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property