summaryrefslogtreecommitdiff
path: root/games/freera/files/patch-src-freera.cpp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-02-05 13:47:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-02-05 13:47:18 +0000
commitdc7a0827520fc21a6836851c4c65c112bfb6f6bd (patch)
tree3ac65ce37669fe1a158f3155d3fd24c47091dce7 /games/freera/files/patch-src-freera.cpp
parent- Update to 1.1.0.5 (diff)
* Update to 080203
PR: 120272 Submitted by: Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
Diffstat (limited to '')
-rw-r--r--games/freera/files/patch-src-freera.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/freera/files/patch-src-freera.cpp b/games/freera/files/patch-src-freera.cpp
new file mode 100644
index 000000000000..3ce38d29bb3f
--- /dev/null
+++ b/games/freera/files/patch-src-freera.cpp
@@ -0,0 +1,13 @@
+--- src/freera.cpp.orig 2007-04-20 00:35:26.000000000 +0400
++++ src/freera.cpp 2008-02-05 02:42:33.000000000 +0300
+@@ -58,8 +58,8 @@
+ }
+
+ const string& binpath = determineBinaryLocation(argv[0]);
+- string lf(binpath);
+- lf += "/freera.log";
++ string lf(getenv("HOME"));
++ lf += "/.freera.log";
+
+ VFS_PreInit(binpath.c_str());
+ // Log level is so that only errors are shown on stdout by default