Bug 235512

Summary: math/rexx-regmath: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed FIXED    
Severity: Affects Only Me CC: bob, linimon
Priority: --- Flags: bob: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch tobik: maintainer-approval+

Description Piotr Kubaj 2019-02-05 07:13:08 UTC
Created attachment 201741 [details]
patch

Base GCC doesn't support -Wno-incompatible-pointer-types, which breaks building on GCC architectures. Add -Wno-incompatible-pointer-types only when using Clang.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 bob 2019-02-05 08:44:02 UTC
Approved by maintainer. Can this be added directly, or should I submit a separate PR?
Comment 2 Piotr Kubaj 2019-02-05 10:35:25 UTC
This needs to be picked up by some commiter.
Comment 3 bob 2019-02-05 11:30:32 UTC
Comment on attachment 201741 [details]
patch

Patch approved by maintainer.
Comment 4 commit-hook freebsd_committer 2019-02-06 00:08:25 UTC
A commit references this bug:

Author: linimon
Date: Wed Feb  6 00:08:09 UTC 2019
New revision: 492278
URL: https://svnweb.freebsd.org/changeset/ports/492278

Log:
  Base GCC doesn't support -Wno-incompatible-pointer-types, which breaks
  building on GCC-based architectures.  Add -Wno-incompatible-pointer-types
  only when using Clang.

  PR:		235512
  Submitted by:	Piotr Kubaj
  Approved by:	maintainer

Changes:
  head/math/rexx-regmath/Makefile
  head/math/rexx-regmath/files/patch-Makefile.bsd