Summary: | graphics/gegl: fix build with clang when using Altivec | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | gnome, lantw44 | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(gnome) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: pkubaj Date: Wed Aug 28 19:15:20 UTC 2019 New revision: 510090 URL: https://svnweb.freebsd.org/changeset/ports/510090 Log: graphics/gegl: fix build with clang when using Altivec Clang doesn't like including altivec.h manually: /usr/lib/clang/8.0.1/include/altivec.h:69:19: error: unknown type name 'vector' static inline vector bool char __ATTRS_o_ai PR: 239757 Approved by: linimon (mentor), gnome (maintainer timeout) Differential Revision: https://reviews.freebsd.org/D21404 Changes: head/graphics/gegl/Makefile (In reply to Piotr Kubaj from comment #0) Does it imply that devel/opencl port needs the same modification as well? opencl port also includes a copy of cl_platform.h file, but I can't test it because I don't know how to reproduce the error. |
Created attachment 206415 [details] patch Clang doesn't like including altivec.h manually: /usr/lib/clang/8.0.1/include/altivec.h:69:19: error: unknown type name 'vector' static __inline__ vector bool char __ATTRS_o_ai ^