svn commit: r478784 - head/graphics/graphopt

Tobias Kortkamp tobik at FreeBSD.org
Sun Sep 2 11:10:07 UTC 2018


Author: tobik
Date: Sun Sep  2 11:10:06 2018
New Revision: 478784
URL: https://svnweb.freebsd.org/changeset/ports/478784

Log:
  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

Modified:
  head/graphics/graphopt/Makefile

Modified: head/graphics/graphopt/Makefile
==============================================================================
--- head/graphics/graphopt/Makefile	Sun Sep  2 11:06:37 2018	(r478783)
+++ head/graphics/graphopt/Makefile	Sun Sep  2 11:10:06 2018	(r478784)
@@ -13,6 +13,8 @@ COMMENT=	Graph layout optimizer
 
 LICENSE=	GPLv2+
 
+USES=		gnome
+USE_CXXSTD=	c++98
 USE_GNOME=	gtk12
 GNU_CONFIGURE=	yes
 


More information about the svn-ports-head mailing list