Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 04:18:50 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478095 - head/games/glob2/files
Message-ID:  <201808260418.w7Q4Io0f070346@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Sun Aug 26 04:18:49 2018
New Revision: 478095
URL: https://svnweb.freebsd.org/changeset/ports/478095

Log:
  games/glob2: Fix build with Clang 6
  
  src/EditorMainMenu.cpp:93:20: error: no matching constructor for initialization of 'ChooseMapScreen'
                          ChooseMapScreen chooseMapScreen("maps", "map", false, "games", "game", false);
                                          ^               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/glob2-0.9.4.4_22.log

Added:
  head/games/glob2/files/patch-src_EditorMainMenu.cpp   (contents, props changed)
  head/games/glob2/files/patch-src_LANMenuScreen.cpp   (contents, props changed)
  head/games/glob2/files/patch-src_YOGClientLobbyScreen.cpp   (contents, props changed)

Added: head/games/glob2/files/patch-src_EditorMainMenu.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/glob2/files/patch-src_EditorMainMenu.cpp	Sun Aug 26 04:18:49 2018	(r478095)
@@ -0,0 +1,11 @@
+--- src/EditorMainMenu.cpp.orig	2018-08-26 04:04:18 UTC
++++ src/EditorMainMenu.cpp
+@@ -90,7 +90,7 @@ void EditorMainMenu::onAction(Widget *source, Action a
+ 		}
+ 		else if (par1==LOADMAP)
+ 		{
+-			ChooseMapScreen chooseMapScreen("maps", "map", false, "games", "game", false);
++			ChooseMapScreen chooseMapScreen("maps", "map", false, "games", "game", NULL);
+ 			int rc=chooseMapScreen.execute(globalContainer->gfx, 40);
+ 			if (rc==ChooseMapScreen::OK)
+ 			{

Added: head/games/glob2/files/patch-src_LANMenuScreen.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/glob2/files/patch-src_LANMenuScreen.cpp	Sun Aug 26 04:18:49 2018	(r478095)
@@ -0,0 +1,11 @@
+--- src/LANMenuScreen.cpp.orig	2018-08-26 04:11:03 UTC
++++ src/LANMenuScreen.cpp
+@@ -62,7 +62,7 @@ void LANMenuScreen::onAction(Widget *source, Action ac
+ 		}
+ 		else if(par1 == HOST)
+ 		{
+-			ChooseMapScreen cms("maps", "map", false, "games", "game", false);
++			ChooseMapScreen cms("maps", "map", false, "games", "game", NULL);
+ 			int rc = cms.execute(globalContainer->gfx, 40);
+ 			if(rc == ChooseMapScreen::OK)
+ 			{

Added: head/games/glob2/files/patch-src_YOGClientLobbyScreen.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/glob2/files/patch-src_YOGClientLobbyScreen.cpp	Sun Aug 26 04:18:49 2018	(r478095)
@@ -0,0 +1,11 @@
+--- src/YOGClientLobbyScreen.cpp.orig	2018-08-26 04:08:24 UTC
++++ src/YOGClientLobbyScreen.cpp
+@@ -326,7 +326,7 @@ void YOGClientLobbyScreen::playerListUpdated()
+ 
+ void YOGClientLobbyScreen::hostGame()
+ {
+-	ChooseMapScreen cms("maps", "map", false, "games", "game", false);
++	ChooseMapScreen cms("maps", "map", false, "games", "game", NULL);
+ 	int rc = cms.execute(globalContainer->gfx, 40);
+ 	if(rc == ChooseMapScreen::OK)
+ 	{



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