head 1.11; access; symbols pkgsrc-2019Q3:1.10.0.70 pkgsrc-2019Q3-base:1.10 pkgsrc-2019Q2:1.10.0.68 pkgsrc-2019Q2-base:1.10 pkgsrc-2019Q1:1.10.0.66 pkgsrc-2019Q1-base:1.10 pkgsrc-2018Q4:1.10.0.64 pkgsrc-2018Q4-base:1.10 pkgsrc-2018Q3:1.10.0.62 pkgsrc-2018Q3-base:1.10 pkgsrc-2018Q2:1.10.0.60 pkgsrc-2018Q2-base:1.10 pkgsrc-2018Q1:1.10.0.58 pkgsrc-2018Q1-base:1.10 pkgsrc-2017Q4:1.10.0.56 pkgsrc-2017Q4-base:1.10 pkgsrc-2017Q3:1.10.0.54 pkgsrc-2017Q3-base:1.10 pkgsrc-2017Q2:1.10.0.50 pkgsrc-2017Q2-base:1.10 pkgsrc-2017Q1:1.10.0.48 pkgsrc-2017Q1-base:1.10 pkgsrc-2016Q4:1.10.0.46 pkgsrc-2016Q4-base:1.10 pkgsrc-2016Q3:1.10.0.44 pkgsrc-2016Q3-base:1.10 pkgsrc-2016Q2:1.10.0.42 pkgsrc-2016Q2-base:1.10 pkgsrc-2016Q1:1.10.0.40 pkgsrc-2016Q1-base:1.10 pkgsrc-2015Q4:1.10.0.38 pkgsrc-2015Q4-base:1.10 pkgsrc-2015Q3:1.10.0.36 pkgsrc-2015Q3-base:1.10 pkgsrc-2015Q2:1.10.0.34 pkgsrc-2015Q2-base:1.10 pkgsrc-2015Q1:1.10.0.32 pkgsrc-2015Q1-base:1.10 pkgsrc-2014Q4:1.10.0.30 pkgsrc-2014Q4-base:1.10 pkgsrc-2014Q3:1.10.0.28 pkgsrc-2014Q3-base:1.10 pkgsrc-2014Q2:1.10.0.26 pkgsrc-2014Q2-base:1.10 pkgsrc-2014Q1:1.10.0.24 pkgsrc-2014Q1-base:1.10 pkgsrc-2013Q4:1.10.0.22 pkgsrc-2013Q4-base:1.10 pkgsrc-2013Q3:1.10.0.20 pkgsrc-2013Q3-base:1.10 pkgsrc-2013Q2:1.10.0.18 pkgsrc-2013Q2-base:1.10 pkgsrc-2013Q1:1.10.0.16 pkgsrc-2013Q1-base:1.10 pkgsrc-2012Q4:1.10.0.14 pkgsrc-2012Q4-base:1.10 pkgsrc-2012Q3:1.10.0.12 pkgsrc-2012Q3-base:1.10 pkgsrc-2012Q2:1.10.0.10 pkgsrc-2012Q2-base:1.10 pkgsrc-2012Q1:1.10.0.8 pkgsrc-2012Q1-base:1.10 pkgsrc-2011Q4:1.10.0.6 pkgsrc-2011Q4-base:1.10 pkgsrc-2011Q3:1.10.0.4 pkgsrc-2011Q3-base:1.10 pkgsrc-2011Q2:1.10.0.2 pkgsrc-2011Q2-base:1.10 pkgsrc-2011Q1:1.9.0.62 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.60 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.58 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.56 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.54 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.52 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.50 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.48 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.46 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.44 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.42 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.40 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.38 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.36 pkgsrc-2008Q1:1.9.0.34 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.32 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.30 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.28 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.26 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.24 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.22 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.20 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.9.0.18 pkgsrc-2006Q1-base:1.9 pkgsrc-2005Q4:1.9.0.16 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.9.0.14 pkgsrc-2005Q3-base:1.9 pkgsrc-2005Q2:1.9.0.12 pkgsrc-2005Q2-base:1.9 pkgsrc-2005Q1:1.9.0.10 pkgsrc-2005Q1-base:1.9 pkgsrc-2004Q4:1.9.0.8 pkgsrc-2004Q4-base:1.9 pkgsrc-2004Q3:1.9.0.6 pkgsrc-2004Q3-base:1.9 pkgsrc-2004Q2:1.9.0.4 pkgsrc-2004Q2-base:1.9 pkgsrc-2004Q1:1.9.0.2 pkgsrc-2004Q1-base:1.9 pkgsrc-2003Q4:1.8.0.2 pkgsrc-2003Q4-base:1.8 netbsd-1-6-1:1.7.0.6 netbsd-1-6-1-base:1.7 netbsd-1-6:1.7.0.8 netbsd-1-6-RELEASE-base:1.7 pkgviews:1.7.0.4 pkgviews-base:1.7 buildlink2:1.7.0.2 buildlink2-base:1.7 netbsd-1-5-PATCH003:1.7 netbsd-1-5-PATCH001:1.5 netbsd-1-5-RELEASE:1.5 netbsd-1-4-PATCH003:1.5 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.1 netbsd-1-4-PATCH001:1.1 netbsd-1-4-RELEASE:1.1 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.11 date 2019.10.24.11.51.23; author pho; state dead; branches; next 1.10; commitid oPzx28JwVsMd97IB; 1.10 date 2011.06.01.11.20.29; author wiz; state Exp; branches; next 1.9; 1.9 date 2004.03.05.15.21.01; author pooka; state Exp; branches; next 1.8; 1.8 date 2003.03.01.21.12.50; author pooka; state Exp; branches; next 1.7; 1.7 date 2002.03.25.20.32.26; author pooka; state Exp; branches 1.7.6.1; next 1.6; 1.6 date 2002.03.22.17.26.25; author pooka; state Exp; branches; next 1.5; 1.5 date 2000.08.10.17.50.06; author pooka; state Exp; branches; next 1.4; 1.4 date 2000.07.17.14.31.13; author agc; state Exp; branches; next 1.3; 1.3 date 2000.07.16.12.40.55; author pooka; state Exp; branches; next 1.2; 1.2 date 99.12.24.22.30.00; author pooka; state Exp; branches; next 1.1; 1.1 date 98.08.27.12.58.51; author garbled; state Exp; branches; next ; 1.7.6.1 date 2003.03.05.14.10.52; author agc; state Exp; branches; next ; desc @@ 1.11 log @Update to NetHack 3.6.2 See release notes for the changes from 3.4.3: * http://nethack.org/v360/release.html * http://nethack.org/v361/release.html * http://nethack.org/v362/release.html IMPORTANT NOTICE: Old 3.4.x save files are *incompatible* with this version (which isn't my fault). Files are now saved in /var/games/nethack360. @ text @$NetBSD: patch-aa,v 1.10 2011/06/01 11:20:29 wiz Exp $ Make configurable. --- include/config.h.orig 2003-12-07 23:39:13.000000000 +0000 +++ include/config.h @@@@ -42,6 +42,16 @@@@ * Define all of those you want supported in your binary. * Some combinations make no sense. See the installation document. */ +#if defined(GTYPE_TTY) +# define DEFAULT_WINDOW_SYS "tty" +#elif defined(GTYPE_X11) +# define X11_GRAPHICS +# define DEFAULT_WINDOW_SYS "x11" +#elif defined(GTYPE_QT) +# define QT_GRAPHICS +# define DEFAULT_WINDOW_SYS "Qt" +#endif + #define TTY_GRAPHICS /* good old tty based graphics */ /* #define X11_GRAPHICS */ /* X11 interface */ /* #define QT_GRAPHICS */ /* Qt interface */ @@@@ -86,7 +96,7 @@@@ # define DEFAULT_WC_TILED_MAP /* Default to tiles if users doesn't say wc_ascii_map */ # define USER_SOUNDS /* Use sounds */ # ifndef __APPLE__ -# define USER_SOUNDS_REGEX +/*# define USER_SOUNDS_REGEX */ # endif # define USE_XPM /* Use XPM format for images (required) */ # define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.ppm) */ @@@@ -126,7 +136,7 @@@@ * would allow: * xpmtoppm x11tiles_big.xpm */ -/* # define USE_XPM */ /* Disable if you do not have the XPM library */ +# define USE_XPM /* Disable if you do not have the XPM library */ # ifdef USE_XPM # define GRAPHIC_TOMBSTONE /* Use graphical tombstone (rip.xpm) */ # endif @@@@ -169,11 +179,11 @@@@ #ifdef UNIX /* path and file name extension for compression program */ -#define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ -#define COMPRESS_EXTENSION ".Z" /* compress's extension */ +/* #define COMPRESS "/usr/bin/compress"*/ /* Lempel-Ziv compression */ +/* #define COMPRESS_EXTENSION ".Z"*/ /* compress's extension */ /* An example of one alternative you might want to use: */ -/* #define COMPRESS "/usr/local/bin/gzip" */ /* FSF gzip compression */ -/* #define COMPRESS_EXTENSION ".gz" */ /* normal gzip extension */ +#define COMPRESS "@@GZIP_PROGRAM@@" /* FSF gzip compression */ +#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ #endif #ifndef COMPRESS @@@@ -204,7 +214,7 @@@@ * otherwise it will be the current directory. */ # ifndef HACKDIR -# define HACKDIR "/usr/games/lib/nethackdir" +# define HACKDIR "@@PREFIX@@/share/nethackdir340" # endif /* @@@@ -300,7 +310,7 @@@@ typedef unsigned char uchar; * functions that have been macroized. */ -/* #define VISION_TABLES */ /* use vision tables generated at compile time */ +#define VISION_TABLES /* use vision tables generated at compile time */ #ifndef VISION_TABLES # ifndef NO_MACRO_CPATH # define MACRO_CPATH /* use clear_path macros instead of functions */ @ 1.10 log @DESTDIRify nethack. Merge patches and distinfo. Some other improvements. From Rhialto in PR 45010. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.9 2004/03/05 15:21:01 pooka Exp $ @ 1.9 log @Nethack 3.4.3 This is a bugfix-release. It should be compatible with bones files and savegames all the way back to 3.4.0 (but of course it's safer to ascend before upgrade). Assorted fixes (full list in doc/fixes34.3): * Correct several inconsistencies * Correct a potentially fatal bug caused by dropping loadstones * Handle level completely filled with monsters better * X11 player selection fixes, one of which could be fatal * Eliminated a gold-in-shop-container cheat @ text @d1 1 a1 1 $NetBSD$ d3 40 a42 3 --- include/config.h.old 2004-03-05 15:39:59.000000000 +0200 +++ include/config.h 2004-03-05 15:40:05.000000000 +0200 @@@@ -169,11 +169,11 @@@@ d58 1 a58 1 @@@@ -204,7 +204,7 @@@@ d63 1 a63 1 +# define HACKDIR "XXXPREFIXXXX/share/nethackdir340" d67 1 a67 1 @@@@ -300,7 +300,7 @@@@ @ 1.8 log @Hello NetHack 3.4.1 This is a bugfix release, no new features introduced. As a compensation for no new features, savegames and bones levels from NetHack 3.4.0 should work, and that's why I kept the datafile directory named nethackdir340. In theory you should be able to simply update the nethack pkgs and continue playing, but I'll not accept any death threats if it doesn't work, so please make sure you make the appropriate backups before trying. @ text @d3 3 a5 3 --- include/config.h.old 2003-02-23 16:43:19.000000000 +0200 +++ include/config.h 2003-03-01 15:35:57.000000000 +0200 @@@@ -167,11 +167,11 @@@@ d11 2 a12 2 +/* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ +/* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ d21 6 a26 7 @@@@ -205,7 +205,7 @@@@ # ifdef __APPLE__ # define HACKDIR "nethackdir" /* nethack directory */ # else -# define HACKDIR "/usr/games/lib/nethackdir" +# define HACKDIR "XXXPREFIXXXX/share/nethackdir340" # endif d29 2 a30 1 @@@@ -302,7 +302,7 @@@@ @ 1.7 log @Make the name of nethackdir contain version information (eg. now it's called nethackdir340). This is to ease the lives of people who wish to have multiple versions nethack installed at the same time. It is not fully automated, because doing pkgsrc magic will most likely screw things up one funny way or another. And we all know that the most important thing in this world is the nethack scorefile ... Manually bump version to 3.4.0nb1. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.6 2002/03/22 17:26:25 pooka Exp $ d3 3 a5 3 --- include/config.h.old Thu Mar 21 01:42:43 2002 +++ include/config.h Fri Mar 22 15:00:37 2002 @@@@ -163,11 +163,11 @@@@ d21 1 a21 1 @@@@ -201,7 +201,7 @@@@ d30 1 a30 1 @@@@ -298,7 +298,7 @@@@ @ 1.7.6.1 log @Pullup nethack version 3.4.1 to netbsd-1-6-1 pkgsrc branch. Requested by Antti Kantee. > Date: Sat, 1 Mar 2003 23:12:53 +0200 (EET) > > > Module Name: pkgsrc > Committed By: pooka > Date: Sat Mar 1 21:12:53 UTC 2003 > > Modified Files: > pkgsrc/games/nethack-lib: Makefile.common distinfo > pkgsrc/games/nethack-lib/patches: patch-aa patch-ab patch-ac patch-ae > pkgsrc/games/nethack-qt: Makefile distinfo > pkgsrc/games/nethack-qt/patches: patch-aa patch-ab patch-ac patch-ae > patch-af patch-ag patch-ah patch-ai > pkgsrc/games/nethack-tty: distinfo > pkgsrc/games/nethack-x11: Makefile distinfo > pkgsrc/games/nethack-x11/patches: patch-aa patch-ab patch-ac patch-af > patch-ag patch-ah > Removed Files: > pkgsrc/games/nethack-lib/patches: patch-ah > pkgsrc/games/nethack-qt/patches: patch-aj > pkgsrc/games/nethack-x11/patches: patch-ai > > Log Message: > Hello NetHack 3.4.1 > > This is a bugfix release, no new features introduced. > > As a compensation for no new features, savegames and bones levels > from NetHack 3.4.0 should work, and that's why I kept the datafile > directory named nethackdir340. In theory you should be able to > simply update the nethack pkgs and continue playing, but I'll not > accept any death threats if it doesn't work, so please make sure > you make the appropriate backups before trying. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2002/03/25 20:32:26 pooka Exp $ d3 3 a5 3 --- include/config.h.old 2003-02-23 16:43:19.000000000 +0200 +++ include/config.h 2003-03-01 15:35:57.000000000 +0200 @@@@ -167,11 +167,11 @@@@ d21 1 a21 1 @@@@ -205,7 +205,7 @@@@ d30 1 a30 1 @@@@ -302,7 +302,7 @@@@ @ 1.6 log @Upgrade nethack packages to NetHack 3.4.0 Highlights of the new release: * numerous bugfixes * stamina affects ability to throw heavy things * objects merge in containers * several small refinements to race/role separation * more feedback about skill advancement from #enhance command * "autodig" option * option for starting without a pet + many more, read doc/fixes34.0 Old savegames naturally don't work, so make sure you finish old ones before upgrading the package. Also fixes the rest of pkg/15717 by Bernd Ernesti. Solution was the same as what Thomas Klausner used to fix angband (ie. simply duplicate the patches) @ text @d1 1 a1 1 $NetBSD$ d26 1 a26 1 +# define HACKDIR "XXXPREFIXXXX/share/nethackdir" @ 1.5 log @Upgrade nethack to 3.3.1. Add Makefile.common to easy future upgrades. This release contains numerous fixes to bugs in 3.3.0 and users are advised to upgrade. Note that old savegames and bones files won't work anymore. @ text @d3 3 a5 3 --- include/config.h.orig Sat Jul 22 04:13:51 2000 +++ include/config.h Thu Aug 10 17:39:35 2000 @@@@ -151,11 +151,11 @@@@ d16 1 a16 1 +#define COMPRESS "@@GZIP_PROGRAM@@" /* FSF gzip compression */ d21 7 a27 6 @@@@ -186,7 +186,7 @@@@ * otherwise it will be the current directory. */ # ifndef HACKDIR -# define HACKDIR "/usr/games/lib/nethackdir" /* nethack directory */ +# define HACKDIR "XXXPREFIXXXX/share/nethackdir" /* nethack directory */ d30 1 a30 2 /* @@@@ -282,7 +282,7 @@@@ @ 1.4 log @Find out the installed location of the gzip binary in a different manner - use the first word of the ${GZIP_CMD} definition from bsd.pkg.mk, and substitute this value in the same manner that the PREFIX is set. This is useful on systems other than NetBSD, where gzip may not be installed in /usr/bin. Use a descriptive name for the input of the pre-processed file. Make sure that gcc is used when compiling on Solaris. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2000/07/16 12:40:55 pooka Exp $ d3 3 a5 3 --- include/config.h.orig Sat Dec 11 07:20:49 1999 +++ include/config.h Fri Dec 17 13:51:24 1999 @@@@ -133,11 +133,11 @@@@ d16 2 a17 2 +#define COMPRESS "@@GZIP_PROGRAM@@" /* FSF gzip compression */ +#define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ d21 1 a21 1 @@@@ -168,7 +168,7 @@@@ d30 1 a30 1 @@@@ -264,7 +264,7 @@@@ d35 1 a35 1 +#define VISION_TABLES /* use vision tables generated at compile time */ a38 9 @@@@ -302,7 +302,7 @@@@ #endif #define EXP_ON_BOTL /* Show experience on bottom line */ -/* #define SCORE_ON_BOTL */ /* added by Gary Erickson (erickson@@ucivax) */ +#define SCORE_ON_BOTL /* added by Gary Erickson (erickson@@ucivax) */ #include "global.h" /* Define everything else according to choices above */ @ 1.3 log @gzip is in /usr/bin, not /usr/local/bin @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 1999/12/24 22:30:00 pooka Exp $ d16 1 a16 1 +#define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */ @ 1.2 log @Update the Nethack package to 3.3.0. nethack-qt will be non-functional until we get qt2.0 or greater into pkgsrc. @ text @d1 1 a1 1 $NetBSD$ d16 1 a16 1 +#define COMPRESS "/usr/local/bin/gzip" /* FSF gzip compression */ @ 1.1 log @nethack-lib pkg: data files for Nethack @ text @d2 6 a7 3 --- include/config.h.orig Sat Aug 8 06:06:46 1998 +++ include/config.h Sat Aug 8 06:08:27 1998 @@@@ -298,8 +298,8 @@@@ d9 4 a12 5 -# define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ -# define COMPRESS_EXTENSION ".Z" /* compress's extension */ +/* # define COMPRESS "/usr/ucb/compress" /* Lempel-Ziv compression */ +/* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ d14 4 a17 4 -/* # define COMPRESS "/usr/local/bin/gzip" /* FSF gzip compression */ -/* # define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ +# define COMPRESS "/usr/bin/gzip" /* FSF gzip compression */ +# define COMPRESS_EXTENSION ".gz" /* normal gzip extension */ d19 5 a23 1 @@@@ -333,3 +333,3 @@@@ d26 1 a26 1 +# define HACKDIR "XXXLOCALBASEXXX/share/nethackdir" /* nethack directory */ a27 1 @@@@ -429,3 +429,3 @@@@ d29 7 a35 2 -/*#define VISION_TABLES /* use vision tables generated at compile time */ +#define VISION_TABLES /* use vision tables generated at compile time */ d37 5 a41 1 @@@@ -467,3 +467,3 @@@@ d43 4 a46 2 -/* #define SCORE_ON_BOTL /* added by Gary Erickson (erickson@@ucivax) */ +#define SCORE_ON_BOTL /* added by Gary Erickson (erickson@@ucivax) */ @