Bug 233592

Summary: net/megatools: 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: linimon, max
Priority: --- Flags: max: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-11-27 23:59:58 UTC
Created attachment 199621 [details]
patch

Megatools dev doesn't state what GCC version is minimum for building this megatools, but they imply at least 5.4 should be used:
https://github.com/megous/megatools/issues/381

Add USES=compiler:c11, since the port doesn't build with base GCC.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-11-29 11:08:29 UTC
A commit references this bug:

Author: linimon
Date: Thu Nov 29 11:07:58 UTC 2018
New revision: 486166
URL: https://svnweb.freebsd.org/changeset/ports/486166

Log:
  Megatools dev doesn't state what GCC version is the minimum required
  for building, but they imply at least 5.4 should be used:

  https://github.com/megous/megatools/issues/381

  Thus, add USES=compiler:c11, since the port doesn't build with base GCC.

  PR:		233592
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/net/megatools/Makefile