diff options
Diffstat (limited to 'games/nethack-x11/patches/patch-ad')
-rw-r--r-- | games/nethack-x11/patches/patch-ad | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/games/nethack-x11/patches/patch-ad b/games/nethack-x11/patches/patch-ad new file mode 100644 index 00000000000..5d3dd8fa1a9 --- /dev/null +++ b/games/nethack-x11/patches/patch-ad @@ -0,0 +1,22 @@ +$NetBSD: patch-ad,v 1.1 2002/03/22 17:26:28 pooka Exp $ + +--- sys/unix/nethack.sh.orig Thu Mar 21 01:43:54 2002 ++++ sys/unix/nethack.sh Fri Mar 22 17:39:00 2002 +@@ -1,9 +1,15 @@ + #!/bin/sh + # SCCS Id: @(#)nethack.sh 3.4 1990/02/26 + +-HACKDIR=/usr/games/lib/nethackdir ++if [ "$1" = "" ]; then ++ TTY=tty ++else ++ TTY=$1 ++fi ++ ++HACKDIR=XXXPREFIXXXX/share/nethackdir + export HACKDIR +-HACK=$HACKDIR/nethack ++HACK=XXXPREFIXXXX/bin/nethack-$TTY + MAXNROFPLAYERS=4 + + # see if we can find the full path name of PAGER, so help files work properly |