diff options
author | tobik <tobik@FreeBSD.org> | 2018-09-10 23:23:20 +0800 |
---|---|---|
committer | tobik <tobik@FreeBSD.org> | 2018-09-10 23:23:20 +0800 |
commit | 30415e9545ca8e5e49b6b7d64191461a087f851a (patch) | |
tree | 86f29462657642b955dc11bbcb135473fa7ea44f /emulators/kcemu | |
parent | 54f49f9ace202380ad5ac452e8016a436e67dfb1 (diff) | |
download | freebsd-ports-gnome-30415e9545ca8e5e49b6b7d64191461a087f851a.tar.gz freebsd-ports-gnome-30415e9545ca8e5e49b6b7d64191461a087f851a.tar.zst freebsd-ports-gnome-30415e9545ca8e5e49b6b7d64191461a087f851a.zip |
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)
Diffstat (limited to 'emulators/kcemu')
-rw-r--r-- | emulators/kcemu/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emulators/kcemu/Makefile b/emulators/kcemu/Makefile index a72d88af2e73..1871810cc4bc 100644 --- a/emulators/kcemu/Makefile +++ b/emulators/kcemu/Makefile @@ -26,6 +26,7 @@ GNU_CONFIGURE= yes USE_XORG= xmu USE_GNOME= gtk20 USES= gettext ncurses pkgconfig +USE_CXXSTD= gnu++98 LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/KCemu-${PORTVERSION} |