summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/freecol/files/freecol-0.8.3-home.patch')
-rw-r--r--games-strategy/freecol/files/freecol-0.8.3-home.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-strategy/freecol/files/freecol-0.8.3-home.patch b/games-strategy/freecol/files/freecol-0.8.3-home.patch
new file mode 100644
index 000000000000..c2af74e48f3b
--- /dev/null
+++ b/games-strategy/freecol/files/freecol-0.8.3-home.patch
@@ -0,0 +1,11 @@
+--- src/net/sf/freecol/common/logging/DefaultHandler.java
++++ src/net/sf/freecol/common/logging/DefaultHandler.java
+@@ -22,7 +22,7 @@
+
+ public static final String REVISION = "$Revision: 1.1 $";
+
+- private static final String fileName = new String("FreeCol.log");
++ private static final String fileName = new String(System.getProperty("user.home") + "/.freecol/FreeCol.log");
+
+ private FileWriter fileWriter;
+