summaryrefslogtreecommitdiff
path: root/games/glob2
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
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')
-rw-r--r--games/glob2/files/patch-src_EditorMainMenu.cpp11
-rw-r--r--games/glob2/files/patch-src_LANMenuScreen.cpp11
-rw-r--r--games/glob2/files/patch-src_YOGClientLobbyScreen.cpp11
3 files changed, 33 insertions, 0 deletions
diff --git a/games/glob2/files/patch-src_EditorMainMenu.cpp b/games/glob2/files/patch-src_EditorMainMenu.cpp
new file mode 100644
index 000000000000..da8b9a3ba5a0
--- /dev/null
+++ b/games/glob2/files/patch-src_EditorMainMenu.cpp
@@ -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)
+ {
diff --git a/games/glob2/files/patch-src_LANMenuScreen.cpp b/games/glob2/files/patch-src_LANMenuScreen.cpp
new file mode 100644
index 000000000000..95e4513fe79b
--- /dev/null
+++ b/games/glob2/files/patch-src_LANMenuScreen.cpp
@@ -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)
+ {
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)
+ {