summaryrefslogtreecommitdiff
path: root/games/glob2/files/patch-src_YOGClientLobbyScreen.cpp
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-08-26 04:18:49 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-08-26 04:18:49 +0000
commitba9b02f16867f32c5340388a9451085f6a31acaf (patch)
treef8c707cdbca6c3278c2435ff16e3d76a0ec4b651 /games/glob2/files/patch-src_YOGClientLobbyScreen.cpp
parentgraphics/gpu-firmware-kmod: Update to later snapshot that includes different ... (diff)
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
Notes
Notes: svn path=/head/; revision=478095
Diffstat (limited to 'games/glob2/files/patch-src_YOGClientLobbyScreen.cpp')
-rw-r--r--games/glob2/files/patch-src_YOGClientLobbyScreen.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/glob2/files/patch-src_YOGClientLobbyScreen.cpp b/games/glob2/files/patch-src_YOGClientLobbyScreen.cpp
new file mode 100644
index 000000000000..9d03f470e21f
--- /dev/null
+++ b/games/glob2/files/patch-src_YOGClientLobbyScreen.cpp
@@ -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)
+ {