Bug 233407

Summary: multimedia/smpeg: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (acm)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer freebsd_triage 2018-11-22 18:28:41 UTC
Created attachment 199453 [details]
patch

Base GCC doesn't support -Wno-error-narrowing flag. Add it only when the compiler used is Clang.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-11-27 16:15:21 UTC
A commit references this bug:

Author: linimon
Date: Tue Nov 27 16:14:39 UTC 2018
New revision: 486017
URL: https://svnweb.freebsd.org/changeset/ports/486017

Log:
  Base gcc doesn't support -Wno-error-narrowing flag.  Add it only when
  the compiler used is Clang.

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

Changes:
  head/multimedia/smpeg/Makefile