From e149c496454914bce72847118cf7fe0d78e85143 Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Tue, 14 Aug 2007 17:58:58 +0000 Subject: Version bump, bug #188855 (Portage version: 2.1.3.5) --- games-strategy/freecol/files/digest-freecol-0.7.1 | 3 +++ .../freecol/files/freecol-0.7.1-home.patch | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 games-strategy/freecol/files/digest-freecol-0.7.1 create mode 100644 games-strategy/freecol/files/freecol-0.7.1-home.patch (limited to 'games-strategy/freecol/files') diff --git a/games-strategy/freecol/files/digest-freecol-0.7.1 b/games-strategy/freecol/files/digest-freecol-0.7.1 new file mode 100644 index 000000000000..0d045f3042f5 --- /dev/null +++ b/games-strategy/freecol/files/digest-freecol-0.7.1 @@ -0,0 +1,3 @@ +MD5 b94930669e3e3a9f84a294e0ff4c5543 freecol-0.7.1-src.tar.gz 19765230 +RMD160 5c187f796835a9a53853b23ef0b75bddb3c40a80 freecol-0.7.1-src.tar.gz 19765230 +SHA256 1c1cce5a2f91d47d89639e175d10cdcaa040ca916e3b64214c0ebeb935c0c153 freecol-0.7.1-src.tar.gz 19765230 diff --git a/games-strategy/freecol/files/freecol-0.7.1-home.patch b/games-strategy/freecol/files/freecol-0.7.1-home.patch new file mode 100644 index 000000000000..f52e943e0c6b --- /dev/null +++ b/games-strategy/freecol/files/freecol-0.7.1-home.patch @@ -0,0 +1,22 @@ +--- 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; + +--- src/net/sf/freecol/FreeCol.java ++++ src/net/sf/freecol/FreeCol.java +@@ -314,7 +314,7 @@ + private static void createAndSetDirectories() { + // TODO: The location of the save directory should be determined by the installer.; + +- File mainUserDirectory = new File(System.getProperty("user.home"), "freecol"); ++ File mainUserDirectory = new File(System.getProperty("user.home"), ".freecol"); + if (mainUserDirectory.exists() && mainUserDirectory.isFile()) { + logger.warning("Could not create .freecol under " + + System.getProperty("user.home") + " because there " -- cgit v1.2.3-65-gdbad