svn commit: r545468 - head/devel/ocl-icd/files
Niclas Zeising
zeising at FreeBSD.org
Wed Aug 19 23:17:04 UTC 2020
Author: zeising
Date: Wed Aug 19 23:17:03 2020
New Revision: 545468
URL: https://svnweb.freebsd.org/changeset/ports/545468
Log:
devel/ocl-icd: FIx build with -fno-common
Fix the build of devel/ocl-icd with -fno-common, which is the default with
llvm 11.
MFH: 2020Q3
Added:
head/devel/ocl-icd/files/patch-icd__generator.rb (contents, props changed)
Added: head/devel/ocl-icd/files/patch-icd__generator.rb
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ocl-icd/files/patch-icd__generator.rb Wed Aug 19 23:17:03 2020 (r545468)
@@ -0,0 +1,11 @@
+--- icd_generator.rb.orig 2020-08-19 22:03:46 UTC
++++ icd_generator.rb
+@@ -189,7 +189,7 @@ EOF
+ }
+ libdummy_icd_structures += "};\n\n"
+ libdummy_icd_structures += "#pragma GCC visibility push(hidden)\n\n"
+- libdummy_icd_structures += "struct _cl_icd_dispatch master_dispatch; \n\n"
++ libdummy_icd_structures += "extern struct _cl_icd_dispatch master_dispatch; \n\n"
+ $use_name_in_test.each { |k, f|
+ libdummy_icd_structures += "typeof(#{f}) INT#{f};\n"
+ }
More information about the svn-ports-head
mailing list