pkgsrc/games/craft/patches/patch-ab
tron 51284d5551 Copy defaults file from correct location when starting "craft" on systems
where "xpkwedge" is installed. Fixes PR pkg/14861 by Robert Elz.
2001-12-19 10:51:19 +00:00

15 lines
506 B
Text

$NetBSD: patch-ab,v 1.3 2001/12/19 10:51:19 tron Exp $
--- win.hc.orig Wed Mar 19 07:21:21 1997
+++ win.hc Thu Sep 24 11:48:49 1998
@@ -118,8 +118,8 @@
. perform_init
{win_handler_init = true;
- if (! f_exists (".windefaults.params"))
- system ("cp /home/hua/craft/.windefaults.params .");
+ if (! f_exists (".windefaults.params"))
+ system ("cp " CRAFT_DIR ".windefaults.params .windefaults.params");
win_defaults = new paramreader (".windefaults");
}.