1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/games/freera/files/patch-src-freera.cpp
Martin Wilke dc7a082752 * Update to 080203
PR:		120272
Submitted by:	Dmitry Marakasov <amdmi3@amdmi3.ru> (maintainer)
2008-02-05 13:47:18 +00:00

14 lines
424 B
C++

--- 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