git: d21e2bc67e07 - main - games/gigalomania: fix build
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Apr 23 15:05:25 UTC 2021
The branch main has been updated by amdmi3:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d21e2bc67e07a2e37516864f43e40527a395e637
commit d21e2bc67e07a2e37516864f43e40527a395e637
Author: Dmitry Marakasov <amdmi3 at FreeBSD.org>
AuthorDate: 2021-04-23 10:45:26 +0000
Commit: Dmitry Marakasov <amdmi3 at FreeBSD.org>
CommitDate: 2021-04-23 15:03:05 +0000
games/gigalomania: fix build
---
games/gigalomania/files/patch-game.cpp | 11 +++++++++++
1 file changed, 11 insertions(+)
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;
+ }
More information about the dev-commits-ports-all
mailing list