Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2020 20:14:11 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522053 - head/math/clrng/files
Message-ID:  <202001042014.004KEBwJ062412@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001042014.004KEBwJ062412>