View | Details | Raw Unified | Return to bug 250562 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/ocl-icd/Makefile (-5 / +7 lines)
Lines 2-28 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	ocl-icd
4
PORTNAME=	ocl-icd
5
PORTVERSION=	2.2.12
5
DISTVERSIONPREFIX=	v
6
PORTVERSION=	2.2.13
6
CATEGORIES=	devel
7
CATEGORIES=	devel
7
MASTER_SITES=	https://forge.imag.fr/frs/download.php/${REVID}/
8
8
9
MAINTAINER=	ohartmann@walstatt.org
9
MAINTAINER=	ohartmann@walstatt.org
10
COMMENT=	OpenCL Installable Client Driver
10
COMMENT=	OpenCL Installable Client Driver
11
11
12
LICENSE=	BSD2CLAUSE
12
LICENSE=	BSD2CLAUSE
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
14
14
BUILD_DEPENDS=	opencl>=2.1:devel/opencl
15
BUILD_DEPENDS=	opencl>=3.0:devel/opencl
15
16
16
CONFLICTS=	freeocl-[0-9]* opencl-icd-[0-9]*
17
CONFLICTS=	freeocl-[0-9]* opencl-icd-[0-9]*
17
18
18
USES=		gmake libtool localbase:ldflags pathfix
19
USES=		autoreconf gmake libtool localbase:ldflags pathfix
19
20
20
USE_GITHUB=	yes
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	OCL-dev
21
USE_RUBY=	yes
23
USE_RUBY=	yes
22
RUBY_NO_RUN_DEPENDS=	yes
24
RUBY_NO_RUN_DEPENDS=	yes
23
USE_LDCONFIG=	yes
25
USE_LDCONFIG=	yes
24
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
25
REVID=		836
27
CPPFLAGS+=	-DCL_TARGET_OPENCL_VERSION=300
26
28
27
INSTALL_TARGET=	install-strip
29
INSTALL_TARGET=	install-strip
28
30
(-)b/devel/ocl-icd/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1520760392
1
TIMESTAMP = 1601398331
2
SHA256 (ocl-icd-ocl-icd-2.2.12_GH0.tar.gz) = 7665f368354e3d2b7787ba4a23c6f061db1181195ba1914dd1cdcd462eca4df4
2
SHA256 (OCL-dev-ocl-icd-v2.2.13_GH0.tar.gz) = f85d59f3e8327f15637b91e4ae8df0829e94daeff68c647b2927b8376b1f8d92
3
SIZE (ocl-icd-ocl-icd-2.2.12_GH0.tar.gz) = 456646
3
SIZE (OCL-dev-ocl-icd-v2.2.13_GH0.tar.gz) = 98350
(-)a/devel/ocl-icd/files/patch-icd__generator.rb (-11 lines)
Removed Link Here
1
--- icd_generator.rb.orig	2020-08-19 22:03:46 UTC
2
+++ icd_generator.rb
3
@@ -189,7 +189,7 @@ EOF
4
     }
5
     libdummy_icd_structures += "};\n\n"
6
     libdummy_icd_structures += "#pragma GCC visibility push(hidden)\n\n"
7
-    libdummy_icd_structures += "struct _cl_icd_dispatch master_dispatch; \n\n"
8
+    libdummy_icd_structures += "extern struct _cl_icd_dispatch master_dispatch; \n\n"
9
     $use_name_in_test.each { |k, f|
10
       libdummy_icd_structures += "typeof(#{f}) INT#{f};\n"
11
     }
(-)a/devel/ocl-icd/files/patch-ocl__icd__loader.c (-11 lines)
Removed Link Here
1
--- ocl_icd_loader.c.orig	2017-01-19 13:55:12 UTC
2
+++ ocl_icd_loader.c
3
@@ -53,7 +53,7 @@ int debug_ocl_icd_mask=0;
4
 
5
 typedef __typeof__(clGetPlatformInfo) *clGetPlatformInfo_fn;
6
 
7
-inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) {
8
+static inline void dump_vendor_icd(const char* info, const struct vendor_icd *v) {
9
   debug(D_DUMP, "%s %p={ num=%i, handle=%p, f=%p}\n", info,
10
 	v, v->num_platforms, v->dl_handle, v->ext_fn_ptr);
11
 }

Return to bug 250562