summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-22 19:41:04 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-22 19:41:04 +0000
commitf1a2ff6ffe9ab742f6855b8de64d944bbae57112 (patch)
tree120fa085b1c30e94426f023cf5160f05bc2f6371 /games
parentFix build with gcc-3.4 (diff)
Fix build with gcc-3.4
Notes
Notes: svn path=/head/; revision=117051
Diffstat (limited to 'games')
-rw-r--r--games/bombermaze/files/patch-src_map.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/bombermaze/files/patch-src_map.cc b/games/bombermaze/files/patch-src_map.cc
new file mode 100644
index 000000000000..0e5e66185352
--- /dev/null
+++ b/games/bombermaze/files/patch-src_map.cc
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- src/map.cc.orig Sun Feb 25 08:50:07 2001
++++ src/map.cc Sun Aug 22 21:25:12 2004
+@@ -1587,7 +1587,7 @@
+ width = w;
+ height = h;
+
+- map = new (char *)[width];
++ map = new char * [width];
+
+ unsigned i;
+ for (i = 0; i < width; i++)
+@@ -1728,7 +1728,7 @@
+
+ void GameMap::allocate_map(MapSquare ***m)
+ {
+- *m = new (MapSquare *)[width];
++ *m = new MapSquare * [width];
+ int i;
+ for (i = 0; i < width; i++)
+ {