summaryrefslogtreecommitdiff
path: root/games/nethack-lib
diff options
context:
space:
mode:
authorpooka <pooka@pkgsrc.org>2007-10-27 18:07:54 +0000
committerpooka <pooka@pkgsrc.org>2007-10-27 18:07:54 +0000
commitb6d24a7db4a49b1ae2881a6c73937cf173d43764 (patch)
treefddb133d4ba29490232a0da8960f017fdca85007 /games/nethack-lib
parent1719e495f8e36e5bfdb3dc15f2c21b943f3cd3e3 (diff)
downloadpkgsrc-b6d24a7db4a49b1ae2881a6c73937cf173d43764.tar.gz
Recognize options (-x) in the shell script used to start nethack.
Makes e.g. "nethack -s user" work correctly. fixes pkg/37186 by Emil Skoeldberg
Diffstat (limited to 'games/nethack-lib')
-rw-r--r--games/nethack-lib/distinfo4
-rw-r--r--games/nethack-lib/patches/patch-ad4
2 files changed, 4 insertions, 4 deletions
diff --git a/games/nethack-lib/distinfo b/games/nethack-lib/distinfo
index d8a8578ce3b..cdb33fca762 100644
--- a/games/nethack-lib/distinfo
+++ b/games/nethack-lib/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2006/10/09 02:06:58 ben Exp $
+$NetBSD: distinfo,v 1.14 2007/10/27 18:07:54 pooka Exp $
SHA1 (nethack-343-src.tgz) = c26537093c38152bc0fbcec20468d975b35f59fd
RMD160 (nethack-343-src.tgz) = 42f600d24715a0b7e631b357c135761410b3ca95
@@ -6,7 +6,7 @@ Size (nethack-343-src.tgz) = 3497458 bytes
SHA1 (patch-aa) = ed5c55651acf81c459867c99026e13a6c5ed34a0
SHA1 (patch-ab) = 73a1ac287ded70f371bb38c82cdbcd36182ce3a5
SHA1 (patch-ac) = e447b4c60ef7db7cfcd35a9be8b8d2f86fc0c27b
-SHA1 (patch-ad) = 16ec579732beba4b2cb4ab3ea06d20d4f6b191a4
+SHA1 (patch-ad) = bee0bd8263bac8cffa0bed84e199d0d2c2a80e9a
SHA1 (patch-ae) = a72da6e6bd1af3a8eaed97ecc1fdd1ed4198a5db
SHA1 (patch-af) = e4723716f326df242279953b6091e528eb7e0007
SHA1 (patch-ag) = 6aeae6bde079b9c9081f6e32523687010c9bc674
diff --git a/games/nethack-lib/patches/patch-ad b/games/nethack-lib/patches/patch-ad
index baccd379ce3..0822be83ce6 100644
--- a/games/nethack-lib/patches/patch-ad
+++ b/games/nethack-lib/patches/patch-ad
@@ -1,4 +1,4 @@
-$NetBSD: patch-ad,v 1.5 2003/09/02 00:30:55 pooka Exp $
+$NetBSD: patch-ad,v 1.6 2007/10/27 18:07:54 pooka Exp $
--- sys/unix/nethack.sh.orig 2003-08-30 03:08:04.000000000 +0300
+++ sys/unix/nethack.sh 2003-09-02 02:52:31.000000000 +0300
@@ -7,7 +7,7 @@ $NetBSD: patch-ad,v 1.5 2003/09/02 00:30:55 pooka Exp $
# SCCS Id: @(#)nethack.sh 3.4 1990/02/26
-HACKDIR=/usr/games/lib/nethackdir
-+if [ "$1" = "" ]; then
++if [ -z "$1" -o -z "${1%%-*}" ]; then
+ TTY=tty
+else
+ TTY=$1