aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-12-07 06:30:41 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-12-07 06:30:41 +0800
commitefb1248ae1568b029c4b896af06f3b9faddc3575 (patch)
tree21b0e2e47e5c75135492782f299bc311f008e118 /games
parent677adc601baf7739e4d25198cf947522b548a267 (diff)
downloadfreebsd-ports-gnome-efb1248ae1568b029c4b896af06f3b9faddc3575.tar.gz
freebsd-ports-gnome-efb1248ae1568b029c4b896af06f3b9faddc3575.tar.zst
freebsd-ports-gnome-efb1248ae1568b029c4b896af06f3b9faddc3575.zip
- Fix build with modern compilers (gcc 4.7+)
Submitted by: gerald (via private email)
Diffstat (limited to 'games')
-rw-r--r--games/allacrost/files/patch-src-common-global-global.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/allacrost/files/patch-src-common-global-global.h b/games/allacrost/files/patch-src-common-global-global.h
new file mode 100644
index 000000000000..dabf293ff96d
--- /dev/null
+++ b/games/allacrost/files/patch-src-common-global-global.h
@@ -0,0 +1,13 @@
+--- src/common/global/global.h.orig 2013-11-16 13:33:38.000000000 +0100
++++ src/common/global/global.h 2013-11-16 13:34:08.000000000 +0100
+@@ -684,8 +684,8 @@
+ file.WriteLine("\t", false);
+ else
+ file.WriteLine(", ", false);
+- file.WriteLine("[" + NumberToString(inv[i]->GetID()) + "] = "
+- + NumberToString(inv[i]->GetCount()), false);
++ file.WriteLine("[" + hoa_utils::NumberToString(inv[i]->GetID()) + "] = "
++ + hoa_utils::NumberToString(inv[i]->GetCount()), false);
+ }
+ file.InsertNewLine();
+ file.WriteLine("}");