pathnames.h in quiz(6) contains hard-coded paths, resulting in the following error: quiz: /usr/local/local/local/share/games/quiz.db/index: No such file or directory Fix: Apply the following patch: #define _PATH_PAGER "/usr/bin/more" -#define _PATH_QUIZIDX "/usr/local/local/share/games/quiz.db/index" +#define _PATH_QUIZIDX "%%PREFIX%%/share/games/quiz.db/index"--vvuDVG4v5XMtVjMfTySyQ8Lwfn5sgm4ikLU7qAVaNJ9Fs3m7 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- pathnames.h.orig Mon Jan 12 01:19:53 2004 +++ pathnames.h Mon Jan 12 01:27:27 2004 @@ -34,4 +34,4 @@ */
Oops, sorry. The Makefile needs to be modified as well to get it to patch pathnames.h, but I'm not sure how to go about doing this. I'm not *that* smart. :)
Also, the diff should be quiz/pathnames.h.orig and quiz/pathnames.h. No more late-night patch attempts for me.
State Changed From-To: open->closed I fixed it in more robust way. Thanks for reporting!