svn commit: r561873 - head/games/pinball

Piotr Kubaj pkubaj at FreeBSD.org
Sun Jan 17 21:48:57 UTC 2021


Author: pkubaj
Date: Sun Jan 17 21:48:57 2021
New Revision: 561873
URL: https://svnweb.freebsd.org/changeset/ports/561873

Log:
  games/pinball: fix build on GCC architectures
  
  Pinball.cpp:733: error: expected `(' before '{' token
  Pinball.cpp: At global scope:
  Pinball.cpp:733: error: mixing declarations and function-definitions is forbidden
  Pinball.cpp:733: error: a function-definition is not allowed here before '{' token
  Pinball.cpp:733: error: expected unqualified-id before ',' token
  Pinball.cpp:733: error: a function-definition is not allowed here before '{' token
  Pinball.cpp:733: error: expected unqualified-id before ',' token
  Pinball.cpp:733: error: a function-definition is not allowed here before '{' token
  Pinball.cpp:734: error: expected unqualified-id before '{' token
  
  MFH:		2021O1

Modified:
  head/games/pinball/Makefile

Modified: head/games/pinball/Makefile
==============================================================================
--- head/games/pinball/Makefile	Sun Jan 17 21:34:05 2021	(r561872)
+++ head/games/pinball/Makefile	Sun Jan 17 21:48:57 2021	(r561873)
@@ -16,8 +16,8 @@ LIB_DEPENDS=	libltdl.so:devel/libltdl
 USE_GITHUB=	yes
 GH_ACCOUNT=	adoptware
 
-USES=		autoreconf gl gmake localbase:ldflags libtool:keepla	\
-		pkgconfig sdl xorg # .la needed for plugin loading
+USES=		autoreconf compiler:c++11-lang gl gmake localbase:ldflags \
+		libtool:keepla pkgconfig sdl xorg # .la needed for plugin loading
 USE_XORG=	ice sm
 USE_GL=		gl glu
 USE_SDL=	image mixer sdl


More information about the svn-ports-head mailing list