summaryrefslogtreecommitdiff
path: root/games/glob2/files/patch-src_LANMenuScreen.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_LANMenuScreen.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_LANMenuScreen.cpp')
-rw-r--r--games/glob2/files/patch-src_LANMenuScreen.cpp11
1 files changed, 11 insertions, 0 deletions
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)
+ {