summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-10-08 20:54:22 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-10-08 20:54:22 +0000
commit3c9312b2240d982253de671a15b762bbcc8343ec (patch)
tree840016b5e3408e3164a1d843907825b7a7d9c016 /games-roguelike/tome/files
parentVersion bump (diff)
downloadhistorical-3c9312b2240d982253de671a15b762bbcc8343ec.tar.gz
historical-3c9312b2240d982253de671a15b762bbcc8343ec.tar.bz2
historical-3c9312b2240d982253de671a15b762bbcc8343ec.zip
Fix for gcc-4. Bug #145125
Package-Manager: portage-2.1.1
Diffstat (limited to 'games-roguelike/tome/files')
-rw-r--r--games-roguelike/tome/files/tome-2.3.3-gcc41.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/games-roguelike/tome/files/tome-2.3.3-gcc41.patch b/games-roguelike/tome/files/tome-2.3.3-gcc41.patch
new file mode 100644
index 000000000000..89ef0bb2e07d
--- /dev/null
+++ b/games-roguelike/tome/files/tome-2.3.3-gcc41.patch
@@ -0,0 +1,18 @@
+--- src/main-gtk.c.old 2006-10-08 22:36:50.000000000 +0200
++++ src/main-gtk.c 2006-10-08 22:37:24.000000000 +0200
+@@ -4478,13 +4478,13 @@
+ strnfmt(buf, 64, "/Terms/%s", angband_term_name[i]);
+
+ /* XXX XXX Store it in the menu definition */
+- (cptr)term_entry[i].path = string_make(buf);
++ term_entry[i].path = string_make(buf);
+
+ /* XXX XXX Build the real path name to the entry */
+ strnfmt(buf, 64, "/Options/Font/%s", angband_term_name[i]);
+
+ /* XXX XXX Store it in the menu definition */
+- (cptr)font_entry[i].path = string_make(buf);
++ font_entry[i].path = string_make(buf);
+ }
+ }
+