Bug 219280

Summary: multimedia/avidemux: fails to build with lang/gcc6 or later
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Thomas Zander <riggs>
Status: Closed FIXED    
Severity: Affects Only Me CC: gerald, multimedia, riggs
Priority: --- Flags: riggs: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219283
Bug Depends on: 222246    
Bug Blocks: 219275    

Description Jan Beich freebsd_committer 2017-05-14 17:53:58 UTC
In file included from avidemux_core/ADM_coreUtils/src/prefs.cpp:51:0:
avidemux_core/ADM_coreUtils/src/prefs2_pref.h:60:1: error: narrowing conversion of '4294967295l' from 'long int' to 'float' inside { } [-Wnarrowing]
gmake[3]: *** [ADM_coreUtils/src/CMakeFiles/ADM_coreUtils6.dir/build.make:474: ADM_coreUtils/src/CMakeFiles/ADM_coreUtils6.dir/prefs.cpp.o] Error 1

build log: http://sprunge.us/jcYQ
Comment 1 commit-hook freebsd_committer 2017-05-21 11:58:52 UTC
A commit references this bug:

Author: riggs
Date: Sun May 21 11:57:47 UTC 2017
New revision: 441388
URL: https://svnweb.freebsd.org/changeset/ports/441388

  Fix build with gcc6

  - static_cast in prefs2__pref.h due to narrowing conversion
  - add whitespaces in ADM__ffmp43.h to fix string literal handling in C++11

  PR:		219280
  Reported by:	jbeich