diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-11 13:58:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-11 13:58:32 +0000 |
commit | efc68bcf37dc1e2ecc9d899eac4369a0956515af (patch) | |
tree | 4fcb2556eea86d0042874a5b74e2fd42c21f751d /games-misc | |
parent | pull from alpha gnu mirror first (diff) | |
download | gentoo-2-efc68bcf37dc1e2ecc9d899eac4369a0956515af.tar.gz gentoo-2-efc68bcf37dc1e2ecc9d899eac4369a0956515af.tar.bz2 gentoo-2-efc68bcf37dc1e2ecc9d899eac4369a0956515af.zip |
make sure we can find the word files #135071 by Torsten Veller
(Portage version: 2.1)
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/typespeed/files/typespeed-0.5.0-statedir-fix.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/games-misc/typespeed/files/typespeed-0.5.0-statedir-fix.patch b/games-misc/typespeed/files/typespeed-0.5.0-statedir-fix.patch index 0decea6fc0e8..ccd85b2e8c29 100644 --- a/games-misc/typespeed/files/typespeed-0.5.0-statedir-fix.patch +++ b/games-misc/typespeed/files/typespeed-0.5.0-statedir-fix.patch @@ -45,6 +45,7 @@ struct dirent **namelist; +chdir("GENTOO_HIGHSCORE_PATH"); - if ((n = scandir(".", &namelist, iswordlist, alphasort)) < 0) { +- if ((n = scandir(".", &namelist, iswordlist, alphasort)) < 0) { ++ if ((n = scandir("GENTOO_WORDLIST_PATH", &namelist, iswordlist, alphasort)) < 0) { fputs("scandir failed.\n", stderr); exit(1); |