1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

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)
This commit is contained in:
Tobias Kortkamp 2018-09-10 15:23:20 +00:00
parent 7017780305
commit ed162325bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479431

View File

@ -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}