summaryrefslogtreecommitdiff
path: root/games/nethack-qt/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'games/nethack-qt/patches/patch-ad')
-rw-r--r--games/nethack-qt/patches/patch-ad29
1 files changed, 19 insertions, 10 deletions
diff --git a/games/nethack-qt/patches/patch-ad b/games/nethack-qt/patches/patch-ad
index 8bc0ce66e58..bf1c66e736a 100644
--- a/games/nethack-qt/patches/patch-ad
+++ b/games/nethack-qt/patches/patch-ad
@@ -1,13 +1,22 @@
-$NetBSD: patch-ad,v 1.2 2000/08/10 17:50:14 pooka Exp $
+$NetBSD: patch-ad,v 1.3 2002/03/22 17:26:26 pooka Exp $
---- win/Qt/qt_win.cpp.orig Sat Jul 22 03:59:19 2000
-+++ win/Qt/qt_win.cpp Thu Aug 10 19:59:49 2000
-@@ -3448,7 +3448,7 @@
+--- 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
- NetHackQtGlyphs::NetHackQtGlyphs()
- {
-- const char* tile_file = "x11tiles";
-+ const char* tile_file = "tiles.xpm";
+-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
- int tw = TILEWBASE;
- int th = TILEHBASE;
+ # see if we can find the full path name of PAGER, so help files work properly