Bug 231594

Summary: sysutils/sleuthkit: fix build with powerpc64
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Antoine Brodin <antoine>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (antoine)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-09-22 16:56:43 UTC
Created attachment 197355 [details]
patch

This patch removes -Wno-unused-command-line-argument compiler flag from sources.
It's not supported by base GCC and using it causes build failures.

If this approach is not acceptable, we could switch to using newer compiler (GCC from ports via USES=compiler:c++11-lang), but removing -Wno-unused-command-line-argument causes less overhead when building this ports on powerpc64.

Tested on powerpc64 and amd64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-09-22 18:50:24 UTC
A commit references this bug:

Author: antoine
Date: Sat Sep 22 18:50:03 UTC 2018
New revision: 480428
URL: https://svnweb.freebsd.org/changeset/ports/480428

Log:
  Require a modern compiler, this should fix build on powerpc64

  PR:		231594

Changes:
  head/sysutils/sleuthkit/Makefile