head 1.8; access; symbols pkgsrc-2019Q3:1.7.0.70 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.68 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.66 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.64 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.62 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.60 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.58 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.56 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.54 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.50 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.48 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.46 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.44 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.42 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.40 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.38 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.36 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.34 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.32 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.30 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.28 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.26 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.24 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.22 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.20 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.18 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.16 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.14 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.12 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.10 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.8 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.6 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.4 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.2 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.6.0.40 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.38 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.36 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.34 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.32 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.30 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.28 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.26 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.24 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.22 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.20 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.18 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.16 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.14 pkgsrc-2008Q1:1.6.0.12 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.10 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.8 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.6 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.4 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.2 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.5.0.22 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.20 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.18 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.16 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.14 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.12 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.10 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.8 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.6 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.4 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.2 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.1; locks; strict; comment @# @; 1.8 date 2019.10.24.11.51.23; author pho; state dead; branches; next 1.7; commitid oPzx28JwVsMd97IB; 1.7 date 2011.06.01.11.20.29; author wiz; state Exp; branches; next 1.6; 1.6 date 2006.10.09.02.06.58; author ben; state Exp; branches; next 1.5; 1.5 date 2004.03.05.15.21.01; author pooka; state Exp; branches; next 1.4; 1.4 date 2003.09.02.00.30.55; author pooka; state Exp; branches; next 1.3; 1.3 date 2002.03.22.17.26.25; author pooka; state Exp; branches; next 1.2; 1.2 date 2000.08.10.17.50.07; author pooka; state Exp; branches; next 1.1; 1.1 date 99.12.24.22.30.01; author pooka; state Exp; branches; next ; desc @@ 1.8 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-af,v 1.7 2011/06/01 11:20:29 wiz Exp $ Make configurable. Fix for BSD. --- include/unixconf.h.orig 2003-12-07 23:39:13.000000000 +0000 +++ include/unixconf.h @@@@ -19,20 +19,21 @@@@ */ /* define exactly one of the following four choices */ -/* #define BSD 1 */ /* define for 4.n/Free/Open/Net BSD */ +#define __NETHACK_OS__ 1 +/* #define BSD */ /* define for 4.n/Free/Open/Net BSD */ /* also for relatives like SunOS 4.x, DG/UX, and */ /* older versions of Linux */ /* #define ULTRIX */ /* define for Ultrix v3.0 or higher (but not lower) */ /* Use BSD for < v3.0 */ /* "ULTRIX" not to be confused with "ultrix" */ -#define SYSV /* define for System V, Solaris 2.x, newer versions */ +/* #define SYSV */ /* define for System V, Solaris 2.x, newer versions */ /* of Linux */ /* #define HPUX */ /* Hewlett-Packard's Unix, version 6.5 or higher */ /* use SYSV for < v6.5 */ /* define any of the following that are appropriate */ -#define SVR4 /* use in addition to SYSV for System V Release 4 */ +/* #define SVR4 */ /* use in addition to SYSV for System V Release 4 */ /* including Solaris 2+ */ #define NETWORK /* if running on a networked system */ /* e.g. Suns sharing a playground through NFS */ @@@@ -47,7 +48,7 @@@@ * job control (note that AIX is SYSV otherwise) * Also define this for AIX 3.2 */ -#define TERMINFO /* uses terminfo rather than termcap */ +/* #define TERMINFO /* uses terminfo rather than termcap */ /* Should be defined for most SYSV, SVR4 (including * Solaris 2+), HPUX, and Linux systems. In * particular, it should NOT be defined for the UNIXPC @@@@ -103,6 +104,7 @@@@ * system, define VAR_PLAYGROUND to be where the variable parts are kept. */ /* #define VAR_PLAYGROUND "/var/lib/games/nethack" */ +#define VAR_PLAYGROUND "/var/games/nethack340" /* @@@@ -171,7 +173,7 @@@@ # ifdef AMS #define AMS_MAILBOX "/Mailbox" # else -# if defined(__FreeBSD__) || defined(__OpenBSD__) +# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) #define DEF_MAILREADER "/usr/bin/mail" # else #define DEF_MAILREADER "/usr/ucb/Mail" @@@@ -284,7 +286,7 @@@@ #endif #if defined(BSD) || defined(ULTRIX) -# if !defined(DGUX) && !defined(SUNOS4) +# if !defined(DGUX) && !defined(SUNOS4) && !defined(BSD) #define memcpy(d, s, n) bcopy(s, d, n) #define memcmp(s1, s2, n) bcmp(s2, s1, n) # endif @ 1.7 log @DESTDIRify nethack. Merge patches and distinfo. Some other improvements. From Rhialto in PR 45010. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.6 2006/10/09 02:06:58 ben Exp $ @ 1.6 log @Fix build on Linux. Use ncurses instead of termlib. Defined SYSV instead of BSD. This addresses PR#29424 @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 1 --- include/unixconf.h.orig 2003-12-07 18:39:13.000000000 -0500 d42 9 a50 1 @@@@ -171,7 +172,7 @@@@ d59 9 @ 1.5 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 @d3 3 a5 3 --- include/unixconf.h.orig 2003-12-08 01:39:13.000000000 +0200 +++ include/unixconf.h 2004-03-05 15:47:53.000000000 +0200 @@@@ -19,20 +19,20 @@@@ d10 2 a11 1 +#define BSD 1 /* define for 4.n/Free/Open/Net BSD */ d30 1 a30 1 @@@@ -47,7 +47,7 @@@@ d39 1 a39 1 @@@@ -171,7 +171,7 @@@@ @ 1.4 log @Update to NetHack 3.4.2 This is a bugfix release which fixes over 100 bugs including but not limited to: * Fixed a fatal bug that triggered a panic when your secondary weapon was cursed during bones file creation * Fixed a fatal bug that caused a crash when applying figurine, candle, or bell that gets used up for a complete list, see doc/fixes34.2 Old savegames and bones levels from nethack 3.4.1 (and 3.4.0) should still work, but as usual, caution is advised. @ text @d3 2 a4 2 --- include/unixconf.h.orig 2003-08-30 03:07:24.000000000 +0300 +++ include/unixconf.h 2003-09-02 02:55:54.000000000 +0300 d38 1 a38 7 @@@@ -168,6 +168,9 @@@@ #ifdef MAIL # if defined(BSD) || defined(ULTRIX) +# ifdef __NetBSD__ +#define DEF_MAILREADER "/usr/bin/mail" +# else d42 4 a45 1 @@@@ -177,6 +180,7 @@@@ a46 6 # endif # endif +#endif #else # if (defined(SYSV) || defined(DGUX) || defined(HPUX)) && !defined(LINUX) # if defined(M_XENIX) @ 1.3 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 @d3 2 a4 2 --- include/unixconf.h.orig Thu Mar 21 01:42:56 2002 +++ include/unixconf.h Fri Mar 22 17:42:50 2002 d9 2 a10 2 -/* #define BSD 1 */ /* define for 4.n BSD */ +#define BSD 1 /* define for 4.n BSD */ d17 1 a17 1 +/* #define SYSV /* define for System V, Solaris 2.x, newer versions */ d25 1 a25 1 +/* #define SVR4 /* use in addition to SYSV for System V Release 4 */ d38 1 a38 1 @@@@ -168,11 +168,15 @@@@ d48 1 d50 3 a52 3 -# endif +# endif +# endif d55 1 a55 1 # if defined(M_XENIX) || defined(__FreeBSD__) @ 1.2 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 2 a4 2 --- include/unixconf.h.orig Mon Jul 17 04:03:51 2000 +++ include/unixconf.h Thu Aug 10 18:30:45 2000 d53 1 a53 1 # if defined(SYSV) || defined(DGUX) || defined(HPUX) @ 1.1 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 @d3 2 a4 2 --- include/unixconf.h.orig Sat Dec 11 07:20:51 1999 +++ include/unixconf.h Thu Dec 23 22:14:04 1999 d10 1 a10 1 +#define BSD 1 /* define for 4.n BSD */ d17 1 a17 1 +/* #define SYSV */ /* define for System V, Solaris 2.x, newer versions */ d25 1 a25 1 +/* #define SVR4 */ /* use in addition to SYSV for System V Release 4 */ d29 1 a29 2 @@@@ -45,7 +45,7 @@@@ /* #define AIX_31 */ /* In AIX 3.1 (IBM RS/6000) use BSD ioctl's to gain d32 1 d34 1 a34 1 +/* #define TERMINFO */ /* uses terminfo rather than termcap */ d38 1 a38 1 @@@@ -160,11 +160,15 @@@@ d54 1 a54 27 # ifdef M_XENIX @@@@ -185,7 +189,6 @@@@ #endif /* MAIL */ - #ifdef COMPRESS /* Some implementations of compress need a 'quiet' option. * If you've got one of these versions, put -q here. @@@@ -211,7 +214,7 @@@@ # endif #endif /* _AUX_SOURCE */ -#if defined(LINUX) || defined(bsdi) +#if defined(LINUX) || defined(bsdi) || defined(__NetBSD__) # ifndef POSIX_TYPES # define POSIX_TYPES # endif @@@@ -272,7 +275,7 @@@@ #endif #if defined(BSD) || defined(ULTRIX) -# if !defined(DGUX) && !defined(SUNOS4) +# if !defined(DGUX) && !defined(SUNOS4) && !defined(__NetBSD__) #define memcpy(d, s, n) bcopy(s, d, n) #define memcmp(s1, s2, n) bcmp(s2, s1, n) # endif @