Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2021 15:05:25 GMT
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d21e2bc67e07 - main - games/gigalomania: fix build
Message-ID:  <202104231505.13NF5PH4019908@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d21e2bc67e07a2e37516864f43e40527a395e637

commit d21e2bc67e07a2e37516864f43e40527a395e637
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2021-04-23 10:45:26 +0000
Commit:     Dmitry Marakasov <amdmi3@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;
+ 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104231505.13NF5PH4019908>