head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.8 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.6 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.4 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.2 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.5.0.2 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.4.0.46 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.44 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.42 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.40 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.38 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.36 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.34 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.32 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.30 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.28 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.26 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.24 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.22 pkgsrc-2008Q1:1.4.0.20 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.18 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.16 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.14 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.12 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.10 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.1.0.6 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.6 date 2011.06.01.11.20.29; author wiz; state dead; branches; next 1.5; 1.5 date 2011.04.03.01.33.51; author markd; state Exp; branches; next 1.4; 1.4 date 2005.11.14.10.43.14; author markd; state Exp; branches; next 1.3; 1.3 date 2003.09.02.00.30.55; author pooka; state Exp; branches; next 1.2; 1.2 date 2003.03.01.21.12.51; author pooka; state Exp; branches; next 1.1; 1.1 date 2002.03.22.17.26.27; author pooka; state Exp; branches; next ; desc @@ 1.6 log @DESTDIRify nethack. Merge patches and distinfo. Some other improvements. From Rhialto in PR 45010. @ text @$NetBSD: patch-af,v 1.5 2011/04/03 01:33:51 markd Exp $ --- include/unixconf.h.orig 2003-12-08 12:39:13.000000000 +1300 +++ 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 @@@@ -168,6 +169,9 @@@@ #ifdef MAIL # if defined(BSD) || defined(ULTRIX) +# ifdef __NetBSD__ +#define DEF_MAILREADER "/usr/bin/mail" +# else # ifdef AMS #define AMS_MAILBOX "/Mailbox" # else @@@@ -177,6 +181,7 @@@@ #define DEF_MAILREADER "/usr/ucb/Mail" # endif # endif +#endif #else # if (defined(SYSV) || defined(DGUX) || defined(HPUX)) && !defined(LINUX) # if defined(M_XENIX) @@@@ -284,7 +289,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.5 log @Fix build. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.4 2005/11/14 10:43:14 markd Exp $ @ 1.4 log @Don't #define memcmp and memcpy in terms of bcmp, bcopy on "BSD"s. BSDs have had these standard functions for years and this fixes build on recent NetBSD's at least. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.3 2003/09/02 00:30:55 pooka Exp $ d5 1 a5 1 @@@@ -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 @@@@ -168,6 +168,9 @@@@ d49 1 a49 1 @@@@ -177,6 +180,7 @@@@ d57 1 a57 1 @@@@ -284,7 +288,7 @@@@ @ 1.3 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 @d1 1 a1 1 $NetBSD$ 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 d56 9 @ 1.2 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 @d1 1 a1 1 $NetBSD: patch-af,v 1.3 2002/03/22 17:26:25 pooka Exp $ 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.1 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$ @