head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.8 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.6 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.4 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.2 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.6.0.48 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.46 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.44 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.42 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.6.0.40 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.38 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.36 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.34 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.32 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.6.0.30 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.28 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.26 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.24 pkgsrc-2008Q2-base:1.6 cwrapper:1.6.0.22 pkgsrc-2008Q1:1.6.0.20 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.18 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.16 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.14 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.12 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.10 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.8 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.6 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.4 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.6.0.2 pkgsrc-2005Q4-base:1.6 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.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.7 date 2011.06.01.11.20.30; author wiz; state dead; branches; next 1.6; 1.6 date 2005.12.19.19.42.08; author joerg; 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.56; author pooka; state Exp; branches; next 1.3; 1.3 date 2003.06.25.14.22.12; author pooka; state Exp; branches; next 1.2; 1.2 date 2003.03.01.21.12.52; author pooka; state Exp; branches; next 1.1; 1.1 date 2002.03.22.17.26.28; author pooka; state Exp; branches 1.1.6.1; next ; 1.1.6.1 date 2003.03.05.14.10.59; author agc; state Exp; branches; next ; desc @@ 1.7 log @DESTDIRify nethack. Merge patches and distinfo. Some other improvements. From Rhialto in PR 45010. @ text @$NetBSD: patch-ac,v 1.6 2005/12/19 19:42:08 joerg Exp $ --- include/system.h.orig 2003-12-08 01:39:13.000000000 +0200 +++ include/system.h 2004-03-05 15:44:53.000000000 +0200 @@@@ -79,10 +79,10 @@@@ # if !defined(__SC__) && !defined(LINUX) E long NDECL(random); # endif -# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) || defined(RANDOM) +# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)) || defined(RANDOM) E void FDECL(srandom, (unsigned int)); # else -# if !defined(bsdi) && !defined(__FreeBSD__) +# if !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) E int FDECL(srandom, (unsigned int)); # endif # endif @@@@ -132,7 +132,7 @@@@ E void FDECL(qsort, (genericptr_t,size_t,size_t, int(*)(const genericptr,const genericptr))); #else -# if defined(BSD) || defined(ULTRIX) +# if defined(BSD) || defined(ULTRIX) && !defined(__NetBSD__) E int qsort(); # else # if !defined(LATTICE) && !defined(AZTEC_50) @@@@ -421,7 +421,7 @@@@ # ifdef HPUX E unsigned int FDECL(strlen, (char *)); # else -# if !(defined(ULTRIX_PROTO) && defined(__GNUC__)) +# if !(defined(ULTRIX_PROTO) && defined(__GNUC__)) && !defined(__NetBSD__) && !defined(__DragonFly__) E int FDECL(strlen, (const char *)); # endif # endif /* HPUX */ @@@@ -521,7 +521,7 @@@@ # endif # endif -# if defined(ULTRIX) || (defined(BSD) && defined(POSIX_TYPES)) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) +# if defined(ULTRIX) || (defined(BSD) && defined(POSIX_TYPES)) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) || defined(__NetBSD__) E time_t FDECL(time, (time_t *)); # else E long FDECL(time, (time_t *)); @ 1.6 log @DragonFly support. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2004/03/05 15:21:01 pooka Exp $ @ 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 @d1 1 a1 1 $NetBSD$ d10 1 a10 1 +# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__)) || defined(RANDOM) d14 1 a14 1 +# if !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__) d32 1 a32 1 +# if !(defined(ULTRIX_PROTO) && defined(__GNUC__)) && !defined(__NetBSD__) @ 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/system.h.orig 2003-08-30 03:07:23.000000000 +0300 +++ include/system.h 2003-09-02 02:49:23.000000000 +0300 d36 1 a36 1 @@@@ -521,11 +521,13 @@@@ d40 2 a41 2 +#ifndef __NetBSD__ # if defined(ULTRIX) || (defined(BSD) && defined(POSIX_TYPES)) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) a44 5 # endif /* ULTRIX */ +#endif #ifdef VMS /* used in makedefs.c, but missing from gcc-vms's */ @ 1.3 log @improve chances these will work on FreeBSD @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2003/03/01 21:12:52 pooka Exp $ d3 2 a4 2 --- include/system.h.orig 2003-02-23 16:43:22.000000000 +0200 +++ include/system.h 2003-03-01 16:34:46.000000000 +0200 d9 2 a10 2 -# if !defined(SUNOS4) || defined(RANDOM) +# if !defined(SUNOS4) && !defined(__FreeBSD__) && !defined(__NetBSD__) || defined(RANDOM) d14 1 a14 1 +# if !defined(bsdi) && !defined(__FreeBSD__) && !defined(__NetBSD__) d41 1 a41 1 # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE)) @ 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$ d10 1 a10 1 +# if !defined(SUNOS4) && !defined(__NetBSD__) || defined(RANDOM) @ 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: patch-ac,v 1.3 2000/08/10 17:50:06 pooka Exp $ d3 3 a5 3 --- include/system.h.orig Thu Jan 6 21:20:08 2000 +++ include/system.h Thu Aug 10 18:16:03 2000 @@@@ -77,10 +77,10 @@@@ d18 1 a18 1 @@@@ -130,7 +130,7 @@@@ d27 1 a27 1 @@@@ -413,7 +413,7 @@@@ d36 1 a36 1 @@@@ -513,11 +513,13 @@@@ @ 1.1.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-ac,v 1.1 2002/03/22 17:26:28 pooka Exp $ d3 3 a5 3 --- include/system.h.orig 2003-02-23 16:43:22.000000000 +0200 +++ include/system.h 2003-03-01 16:34:46.000000000 +0200 @@@@ -79,10 +79,10 @@@@ d18 1 a18 1 @@@@ -132,7 +132,7 @@@@ d27 1 a27 1 @@@@ -421,7 +421,7 @@@@ d36 1 a36 1 @@@@ -521,11 +521,13 @@@@ @