svn commit: r478619 - head/emulators/xbraitenberg

Tobias Kortkamp tobik at FreeBSD.org
Fri Aug 31 22:44:48 UTC 2018


Author: tobik
Date: Fri Aug 31 22:44:47 2018
New Revision: 478619
URL: https://svnweb.freebsd.org/changeset/ports/478619

Log:
  emulators/xbraitenberg: Fix build with Clang 6
  
  In file included from actuator.cc:5:
  In file included from ./vehicle.hh:5:
  ./vector.hh:10:21: error: 'operator new' cannot be declared static in global scope
  static inline void *operator new(size_t, void *v) { return v; }
                      ^
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/xbraitenberg-0.9_2.log

Modified:
  head/emulators/xbraitenberg/Makefile

Modified: head/emulators/xbraitenberg/Makefile
==============================================================================
--- head/emulators/xbraitenberg/Makefile	Fri Aug 31 22:43:43 2018	(r478618)
+++ head/emulators/xbraitenberg/Makefile	Fri Aug 31 22:44:47 2018	(r478619)
@@ -10,6 +10,7 @@ MASTER_SITES=	http://www.lcdf.org/~eddietwo/xbraitenbe
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Braitenberg vehicle simulator with pseudo-physics
 
+USE_CXXSTD=	c++98
 USE_XORG=	x11 ice sm xext
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	ac_cv_fpermissive=no


More information about the svn-ports-head mailing list