diff options
Diffstat (limited to 'games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch')
-rw-r--r-- | games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch b/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch index b134072c04d8..7b640b31f13e 100644 --- a/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch +++ b/games-strategy/freecnc/files/0.2.1.31072003-gentoo-paths.patch @@ -35,7 +35,7 @@ - lf = new char[strlen(binpath)+strlen("audplay.log")+2]; - sprintf(lf, "%s/audplay.log", binpath); + lf = new char[strlen("GENTOO_LOGDIR")+strlen("audplay.log")+2]; -+ sprintf(lf, "GENTOO_LOGDIR/audplay.log", binpath); ++ sprintf(lf, "GENTOO_LOGDIR/audplay.log"); VFS_PreInit(binpath); logger = new Logger(lf,0); delete[] lf; |