On Thu Feb 17 18:06:37 2005 UTC, ru submitted a change (1.27) to fortune.c that implements a change to read a new on-disk format of the .dat files. (http://www.freebsd.org/cgi/cvsweb.cgi/src/games/fortune/fortune/fortune.c) This change renders old .dat files incompatible with version of fortune compiled after 2005-02-17. Therefore, the supplied bible.dat file that is supplied with the port no longer works. Fix: The interim fix is to re-compile the .dat file thusly: # strfile -C bible The long term fix is to change the Makefile so it generates the .dat file when the port is built. Note to self: As the distfile is also used in the GNU/Linux realm, I can still supply the pre-compiled .dat file as it works on x86 arch. Elegent fix would be to have RPM thingies work like the port, build the .dat upon installation. How-To-Repeat: % fortune /usr/local/share/games/fortune/bible
Class Changed From-To: change-request->maintainer-update Fix category (submitter is maintainer)
State Changed From-To: open->feedback Do you have patch for this problem?
patch attached; also use SUB_FILES instead of manually sed'ing -- IOnut // helping doctors stay away ;-)
On Sat, 3 Dec 2005 05:21:12 +0200 Ion-Mihai Tetcu <itetcu@people.tecnik93.com> wrote: > patch attached; also use SUB_FILES instead of manually sed'ing Forgot to tell strfile about comments ``-C''; use attached patch instead. -- IOnut - Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect"
State Changed From-To: feedback->closed Committed, thanks!