From owner-svn-ports-all@freebsd.org  Sat Jan  4 20:14:11 2020
Return-Path: <owner-svn-ports-all@freebsd.org>
Delivered-To: svn-ports-all@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id C43521F4F41;
 Sat,  4 Jan 2020 20:14:11 +0000 (UTC)
 (envelope-from pkubaj@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 47qtJz3X8Qz4Z4M;
 Sat,  4 Jan 2020 20:14:11 +0000 (UTC)
 (envelope-from pkubaj@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 745A71A4AD;
 Sat,  4 Jan 2020 20:14:11 +0000 (UTC)
 (envelope-from pkubaj@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 004KEBji062413;
 Sat, 4 Jan 2020 20:14:11 GMT (envelope-from pkubaj@FreeBSD.org)
Received: (from pkubaj@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id 004KEBwJ062412;
 Sat, 4 Jan 2020 20:14:11 GMT (envelope-from pkubaj@FreeBSD.org)
Message-Id: <202001042014.004KEBwJ062412@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to
 pkubaj@FreeBSD.org using -f
From: Piotr Kubaj <pkubaj@FreeBSD.org>
Date: Sat, 4 Jan 2020 20:14:11 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r522053 - head/math/clrng/files
X-SVN-Group: ports-head
X-SVN-Commit-Author: pkubaj
X-SVN-Commit-Paths: head/math/clrng/files
X-SVN-Commit-Revision: 522053
X-SVN-Commit-Repository: ports
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-all@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Jan 2020 20:14:11 -0000

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
+