Date: Thu, 1 Dec 2005 18:52:22 GMT From: Doug Poland <doug@polands.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/89811: fortune's .dat format change breaks precompiled bible.dat for port fortune-mod-bible Message-ID: <200512011852.jB1IqMjf095980@www.freebsd.org> Resent-Message-ID: <200512011900.jB1J0FWp060712@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 89811 >Category: ports >Synopsis: fortune's .dat format change breaks precompiled bible.dat for port fortune-mod-bible >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 01 19:00:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Doug Poland >Release: 6.0 >Organization: >Environment: FreeBSD ammon.polands.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Fri Nov 11 19:47:54 CST 2005 djp@ammon.polands.org:/usr/obj/usr/src/sys/SMP i386 >Description: 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. >How-To-Repeat: % fortune /usr/local/share/games/fortune/bible >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. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512011852.jB1IqMjf095980>