svn commit: r522053 - head/math/clrng/files

Piotr Kubaj pkubaj at FreeBSD.org
Sat Jan 4 20:14:11 UTC 2020


Author: pkubaj
Date: Sat Jan  4 20:14:11 2020
New Revision: 522053
URL: https://svnweb.freebsd.org/changeset/ports/522053

Log:
  math/clrng: fix build on powerpc64 elfv2
  
  clang doesn't have ppu_intrinsics.h.
  
  PR:		243036
  Approved by:	jmd (maintainer)

Added:
  head/math/clrng/files/
  head/math/clrng/files/patch-src_cl_include_private_Random123_features_gccfeatures.h   (contents, props changed)

Added: head/math/clrng/files/patch-src_cl_include_private_Random123_features_gccfeatures.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/clrng/files/patch-src_cl_include_private_Random123_features_gccfeatures.h	Sat Jan  4 20:14:11 2020	(r522053)
@@ -0,0 +1,11 @@
+--- src/cl/include/private/Random123/features/gccfeatures.h.orig	2020-01-02 12:50:28 UTC
++++ src/cl/include/private/Random123/features/gccfeatures.h
+@@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O
+  Please let the authors know of any successes (or failures). */
+ #endif
+ 
+-#ifdef __powerpc__
++#if defined(__powerpc__) && !defined(__clang__)
+ #include <ppu_intrinsics.h>
+ #endif
+ 


More information about the svn-ports-all mailing list