Bug 233407 - multimedia/smpeg: fix build with GCC-based architectures
Summary: multimedia/smpeg: fix build with GCC-based architectures
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: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-22 18:28 UTC by Piotr Kubaj
Modified: 2018-11-27 16:15 UTC (History)
2 users (show)

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


Attachments
patch (631 bytes, patch)
2018-11-22 18:28 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 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 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