pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/nethack-lib Recognize options (-x) in the shell ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9c653da95626
branches:  trunk
changeset: 534607:9c653da95626
user:      pooka <pooka%pkgsrc.org@localhost>
date:      Sat Oct 27 18:07:54 2007 +0000

description:
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:

 games/nethack-lib/distinfo         |  4 ++--
 games/nethack-lib/patches/patch-ad |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 068733366cb2 -r 9c653da95626 games/nethack-lib/distinfo
--- a/games/nethack-lib/distinfo        Sat Oct 27 17:12:25 2007 +0000
+++ b/games/nethack-lib/distinfo        Sat Oct 27 18:07:54 2007 +0000
@@ -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 @@
 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 -r 068733366cb2 -r 9c653da95626 games/nethack-lib/patches/patch-ad
--- a/games/nethack-lib/patches/patch-ad        Sat Oct 27 17:12:25 2007 +0000
+++ b/games/nethack-lib/patches/patch-ad        Sat Oct 27 18:07:54 2007 +0000
@@ -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 @@
  #     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



Home | Main Index | Thread Index | Old Index