svn commit: r545556 - branches/2020Q3/devel/ocl-icd/files

Niclas Zeising zeising at FreeBSD.org
Thu Aug 20 19:28:22 UTC 2020


Author: zeising
Date: Thu Aug 20 19:28:21 2020
New Revision: 545556
URL: https://svnweb.freebsd.org/changeset/ports/545556

Log:
  MFH: r545468
  
  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.
  
  Approved by:	ports-secteam (joenum)

Added:
  branches/2020Q3/devel/ocl-icd/files/patch-icd__generator.rb
     - copied unchanged from r545468, head/devel/ocl-icd/files/patch-icd__generator.rb
Modified:
Directory Properties:
  branches/2020Q3/   (props changed)

Copied: branches/2020Q3/devel/ocl-icd/files/patch-icd__generator.rb (from r545468, head/devel/ocl-icd/files/patch-icd__generator.rb)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2020Q3/devel/ocl-icd/files/patch-icd__generator.rb	Thu Aug 20 19:28:21 2020	(r545556, copy of r545468, head/devel/ocl-icd/files/patch-icd__generator.rb)
@@ -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-all mailing list