Subject: bin/18312: phantasia should set grail location at runtime not buildtime
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 09/17/2002 16:18:08
>Synopsis: phantasia should set grail location at runtime not buildtime
>Arrival-Date: Mon Sep 16 23:19:00 PDT 2002
>Originator: Luke Mewburn
>Release: NetBSD 1.6
In games/phantasia, the initial location of the "holy grail"
is set at build time (c.f, setup.c lines 114-115).
This causes minor a issue when building a distribution and
comparing with previous builds or with other builds in the
same MACHINE_ARCH, because ./var/games/phantasia/void differs
in each build.
Build a release.
Build another one (to a separate location).
Compare the contents of games.tgz and notice that
Remove assignment from setup.c so that the grail is not
active, and add a check to the main code to check for an
active grail on startup, and if it's not found, create one.
(Implementation is left as an exercise for the reader, in case
someone has more Infinite Spare Time than I do. Otherwise,
I'll look at this in the future).