The build fails with Clang 6 and soon the port will be marked as BROKEN on 12.0 and 11.2 if we do not act. The problem is that Clang 6 has switched to C++14 by default over C++98 (see [1]) causing all sorts of regressions. Often this can easily be fixed by applying a small amount of trivial patches. We can apply them to the ports tree but if possible (and assuming upstream development has not ceased), they should be upstreamed to reduce future maintainance work. [1] http://releases.llvm.org/6.0.0/tools/clang/docs/ReleaseNotes.html#c-language-changes-in-clang
Created attachment 196615 [details] emulators__kcemu.diff
Created attachment 196616 [details] emulators__kcemu.diff v2 Sorry, original patch was bad and causes build failures on 10.4 and 11.1. Let's do it another way.
A commit references this bug: Author: tobik Date: Mon Sep 10 15:23:21 UTC 2018 New revision: 479431 URL: https://svnweb.freebsd.org/changeset/ports/479431 Log: emulators/kcemu: Fix build with Clang 6 n file included from plotter.cc:26: ../../../include/kc/plotter.h:31:23: error: in-class initializer for static data member of type 'const double' requires 'constexpr' specifier [-Wstatic-float-init] static const double WIDTH_MM = 210.0; ^ ~~~~~ http://beefy12.nyi.freebsd.org/data/head-amd64-default/p479076_s338486/logs/errors/kcemu-0.5.1_15.log PR: 230960 Approved by: hardy.schumacher@gmx.de (maintainer timeout, 2 weeks) Changes: head/emulators/kcemu/Makefile