aboutsummaryrefslogtreecommitdiff
path: root/games/freebsd-games/files
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-11-20 19:10:51 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-11-20 19:10:51 +0000
commitfd744d95ea77d719ae7bce4e222108f134341976 (patch)
treef911d53568d7836ea5540260d8d545e7bab6e6d2 /games/freebsd-games/files
parent890dc18da80212416c833bc86dc4264ae0ccd70a (diff)
downloadports-fd744d95ea77d719ae7bce4e222108f134341976.tar.gz
ports-fd744d95ea77d719ae7bce4e222108f134341976.zip
Notes
Diffstat (limited to 'games/freebsd-games/files')
-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);