aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2021-04-23 10:45:26 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2021-04-23 15:03:05 +0000
commitd21e2bc67e07a2e37516864f43e40527a395e637 (patch)
treef9e97537c70af778e16dcfb678a10ef7ddc1b78e
parentf406771d4c156bf2201b9a07e9ed4dc88e6c6405 (diff)
downloadports-d21e2bc67e07a2e37516864f43e40527a395e637.tar.gz
ports-d21e2bc67e07a2e37516864f43e40527a395e637.zip
games/gigalomania: fix build
-rw-r--r--games/gigalomania/files/patch-game.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/gigalomania/files/patch-game.cpp b/games/gigalomania/files/patch-game.cpp
new file mode 100644
index 000000000000..d95c38c7e20d
--- /dev/null
+++ b/games/gigalomania/files/patch-game.cpp
@@ -0,0 +1,11 @@
+--- game.cpp.orig 2015-09-21 19:36:26 UTC
++++ game.cpp
+@@ -105,7 +105,7 @@ Game::Game() {
+ n_sub_epochs = 4;
+ selected_island = 0;
+ for(int i=0;i<max_islands_per_epoch_c;i++) {
+- completed_island[i] = NULL;
++ completed_island[i] = false;
+ for(int j=0;j<n_epochs_c;j++) {
+ maps[j][i] = NULL;
+ }