aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames/files/patch-hack_hack.unix.c
blob: ec4e5eab205dfe795f197c14c7e9e58222169604 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
$FreeBSD: /tmp/pcvs/ports/games/bsdgames/files/Attic/patch-hack_hack.unix.c,v 1.1 2007-03-23 23:02:33 nox Exp $

--- hack/hack.unix.c.orig	Thu Nov 20 10:17:36 2003
+++ hack/hack.unix.c	Thu Nov 20 10:18:09 2003
@@ -86,7 +86,7 @@
 /* old version - for people short of space */
 char *np;
 
-	name = "/usr/games/hide/hack";
+	name = "%%PREFIX%%/bin/hack";
 	if(stat(name, &hbuf))
 		error("Cannot get status of %s.",
 			(np = rindex(name, '/')) ? np+1 : name);