diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-09-01 09:40:02 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-09-01 09:40:02 +0000 |
commit | c63b33c4b4c1540c222ead94fb463879b35928e7 (patch) | |
tree | e41e137a501d6ebf9971a8e8648e1dada0966b0f /games/palomino | |
parent | 897bda609ce50452b03e78c9bf7113d05a2caa26 (diff) | |
download | ports-c63b33c4b4c1540c222ead94fb463879b35928e7.tar.gz ports-c63b33c4b4c1540c222ead94fb463879b35928e7.zip |
games/palomino: Fix build with Clang 6
src/collision/collision.cc:173:44: error: no matching function for call to 'make_pair'
EVENT_COLLISION.Broadcast( std::make_pair< shptr<Object>, shptr<Object> >( dyna.PTR(), collidable ) );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/utility:639:1: note: candidate function not viable: no known conversion from 'shptr<object::Object>' to 'base::shptr<object::Object> &&' for 2nd argument
make_pair(_T1&& __t1, _T2&& __t2)
^
... and more of these in too many files to patch
http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/palomino-20131231_6.log
Notes
Notes:
svn path=/head/; revision=478662
Diffstat (limited to 'games/palomino')
-rw-r--r-- | games/palomino/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/games/palomino/Makefile b/games/palomino/Makefile index beb071bd89d7..01f388c8b12d 100644 --- a/games/palomino/Makefile +++ b/games/palomino/Makefile @@ -21,6 +21,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE_GNU_GPL_2.txt LIB_DEPENDS= libosg.so:graphics/osg USES= alias cmake:noninja lua:51 tar:xz +USE_CXXSTD= gnu++98 USE_GL= gl glu MISC_VER= 20091027 |