summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/tome/files/tome-2.3.5-gentoo-paths.patch')
-rw-r--r--games-roguelike/tome/files/tome-2.3.5-gentoo-paths.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/games-roguelike/tome/files/tome-2.3.5-gentoo-paths.patch b/games-roguelike/tome/files/tome-2.3.5-gentoo-paths.patch
new file mode 100644
index 000000000000..b3ef7fd98e67
--- /dev/null
+++ b/games-roguelike/tome/files/tome-2.3.5-gentoo-paths.patch
@@ -0,0 +1,31 @@
+diff -rU 1 a/files.c b/files.c
+--- a/files.c 2004-01-14 11:17:02.423263360 -0500
++++ b/files.c 2004-01-14 11:17:50.074019344 -0500
+@@ -5670,3 +5670,3 @@
+ /* Build the filename */
+- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw");
++ sprintf(buf, "GENTOO_DIR/tome-scores.raw");
+
+@@ -5748,3 +5748,3 @@
+ /* Build the filename */
+- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw");
++ sprintf(buf, "GENTOO_DIR/tome-scores.raw");
+
+@@ -5846,3 +5846,3 @@
+ /* Build the filename */
+- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw");
++ sprintf(buf, "GENTOO_DIR/tome-scores.raw");
+
+@@ -6296,3 +6296,3 @@
+ /* Build the filename */
+- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw");
++ sprintf(buf, "GENTOO_DIR/tome-scores.raw");
+
+diff -rU 1 a/init2.c b/init2.c
+--- a/init2.c 2004-01-14 11:17:02.473255760 -0500
++++ b/init2.c 2004-01-14 11:17:58.286770816 -0500
+@@ -6686,3 +6686,3 @@
+ /* Build the filename */
+- path_build(buf, 1024, ANGBAND_DIR_APEX, "scores.raw");
++ sprintf(buf, "GENTOO_DIR/tome-scores.raw");
+