Bug 231594 - sysutils/sleuthkit: fix build with powerpc64
Summary: sysutils/sleuthkit: fix build with powerpc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-22 16:56 UTC by Piotr Kubaj
Modified: 2018-09-22 18:50 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (antoine)


Attachments
patch (16.93 KB, patch)
2018-09-22 16:56 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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