1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

graphics/graphopt: Fix build with Clang 6

./physics.h:37:22: error: in-class initializer for static data member of type 'const float' requires 'constexpr' specifier [-Wstatic-float-init]
  static const float COULOMBS_CONSTANT = 8987500000.0;
                     ^                   ~~~~~~~~~~~~

http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/graphopt-0.4.1_8.log
This commit is contained in:
Tobias Kortkamp 2018-09-02 11:10:06 +00:00
parent d2c7813f70
commit f916caf51b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478784

View File

@ -13,6 +13,8 @@ COMMENT= Graph layout optimizer
LICENSE= GPLv2+
USES= gnome
USE_CXXSTD= c++98
USE_GNOME= gtk12
GNU_CONFIGURE= yes