Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2021 21:50:06 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r561874 - branches/2021Q1/games/pinball
Message-ID:  <202101172150.10HLo6ZV045201@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun Jan 17 21:50:05 2021
New Revision: 561874
URL: https://svnweb.freebsd.org/changeset/ports/561874

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

Modified:
  branches/2021Q1/games/pinball/Makefile
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/games/pinball/Makefile
==============================================================================
--- branches/2021Q1/games/pinball/Makefile	Sun Jan 17 21:48:57 2021	(r561873)
+++ branches/2021Q1/games/pinball/Makefile	Sun Jan 17 21:50:05 2021	(r561874)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101172150.10HLo6ZV045201>