Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Sep 2018 11:10:07 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478784 - head/graphics/graphopt
Message-ID:  <201809021110.w82BA7nQ021744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809021110.w82BA7nQ021744>