summaryrefslogtreecommitdiff
path: root/games/freebooters/files/patch-tools.cc
diff options
context:
space:
mode:
Diffstat (limited to 'games/freebooters/files/patch-tools.cc')
-rw-r--r--games/freebooters/files/patch-tools.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/freebooters/files/patch-tools.cc b/games/freebooters/files/patch-tools.cc
new file mode 100644
index 000000000000..0dfad2b0baa2
--- /dev/null
+++ b/games/freebooters/files/patch-tools.cc
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- tools.cc.orig Thu Sep 30 00:32:43 2004
++++ tools.cc Thu Sep 30 00:45:46 2004
+@@ -46,7 +46,7 @@
+ path_to_data_dir = "";
+ return;
+ #else
+- readdata config("/etc/freebooters.conf");
++ readdata config("%%PREFIX%%/etc/freebooters.conf");
+
+ if (config.get_str("datadir") == "")
+ path_to_data_dir = "";