Bug 243036 - math/clrng: fix build on powerpc64 elfv2
Summary: math/clrng: fix build on powerpc64 elfv2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Johannes M Dieterich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-02 12:57 UTC by Piotr Kubaj
Modified: 2020-01-04 20:15 UTC (History)
1 user (show)

See Also:
jmd: maintainer-feedback+


Attachments
patch (1.11 KB, patch)
2020-01-02 12:57 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (jmd)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2020-01-02 12:57:56 UTC
Created attachment 210389 [details]
patch

clang doesn't have ppu_intrinsics.h.

Upstream PR: https://github.com/clMathLibraries/clRNG/pull/19
Comment 1 Johannes M Dieterich freebsd_committer 2020-01-04 18:44:54 UTC
Looks good to me, thanks for filing upstream PR.
Comment 2 commit-hook freebsd_committer 2020-01-04 20:15:06 UTC
A commit references this bug:

Author: pkubaj
Date: Sat Jan  4 20:14:11 UTC 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)

Changes:
  head/math/clrng/files/
  head/math/clrng/files/patch-src_cl_include_private_Random123_features_gccfeatures.h