freebsd-ports/games/freebsd-games/files/patch-hack_hack.unix.c
Juergen Lock 805f53212b Convert freebsd-games to use termios.h instead of sgtty.h
PR:		ports/110731
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
Approved by:	miwi (mentor)
2007-03-23 23:02:33 +00:00

13 lines
464 B
C

$FreeBSD: /tmp/pcvs/ports/games/freebsd-games/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);