svn commit: r478095 - head/games/glob2/files
Tobias Kortkamp
tobik at FreeBSD.org
Sun Aug 26 04:18:51 UTC 2018
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)
+ {
More information about the svn-ports-all
mailing list