aboutsummaryrefslogtreecommitdiff
path: root/games/freebsd-games/files/patch-hack::hack.unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/freebsd-games/files/patch-hack::hack.unix.c')
-rw-r--r--games/freebsd-games/files/patch-hack::hack.unix.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/freebsd-games/files/patch-hack::hack.unix.c b/games/freebsd-games/files/patch-hack::hack.unix.c
new file mode 100644
index 000000000000..8143edad035c
--- /dev/null
+++ b/games/freebsd-games/files/patch-hack::hack.unix.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- 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);