1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

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
This commit is contained in:
Tobias Kortkamp 2018-08-31 22:44:47 +00:00
parent dd3f17abfc
commit 88fe41ccc4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=478619

View File

@ -10,6 +10,7 @@ MASTER_SITES= http://www.lcdf.org/~eddietwo/xbraitenberg/
MAINTAINER= ports@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