svn commit: r478662 - head/games/palomino

Tobias Kortkamp tobik at FreeBSD.org
Sat Sep 1 09:40:03 UTC 2018


Author: tobik
Date: Sat Sep  1 09:40:02 2018
New Revision: 478662
URL: https://svnweb.freebsd.org/changeset/ports/478662

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

Modified:
  head/games/palomino/Makefile

Modified: head/games/palomino/Makefile
==============================================================================
--- head/games/palomino/Makefile	Sat Sep  1 09:38:14 2018	(r478661)
+++ head/games/palomino/Makefile	Sat Sep  1 09:40:02 2018	(r478662)
@@ -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


More information about the svn-ports-all mailing list