head 1.11; access; symbols 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.44 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.42 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.40 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.38 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.36 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.34 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.32 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.30 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.28 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.26 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.24 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.22 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.20 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.18 pkgsrc-2008Q1:1.9.0.16 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.14 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.12 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.10 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.9.0.8 pkgsrc-2007Q1-base:1.9 pkgsrc-2006Q4:1.9.0.6 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.9.0.4 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.9.0.2 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.8.0.4 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.8.0.2 pkgsrc-2005Q4-base:1.8 pkgsrc-2005Q3:1.7.0.14 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.12 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.10 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.8 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.6 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.4 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.2 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.6.0.2 pkgsrc-2003Q4-base:1.6 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.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 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 2017.12.25.22.22.11; author he; state dead; branches; next 1.10; commitid cIr0yX4YaXbN5kkA; 1.10 date 2011.06.01.11.20.29; author wiz; state Exp; branches; next 1.9; 1.9 date 2006.06.19.17.07.45; author minskim; state Exp; branches; next 1.8; 1.8 date 2005.12.19.17.47.04; author joerg; state Exp; branches; next 1.7; 1.7 date 2004.03.05.15.21.01; author pooka; state Exp; branches; next 1.6; 1.6 date 2003.09.02.00.30.54; author pooka; state Exp; branches; next 1.5; 1.5 date 2003.06.25.14.14.30; author pooka; state Exp; branches; next 1.4; 1.4 date 2003.03.01.21.12.50; author pooka; state Exp; branches; next 1.3; 1.3 date 2000.08.10.17.50.06; author pooka; state Exp; branches 1.3.6.1; 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.3.6.1 date 2003.03.05.14.10.54; author agc; state Exp; branches; next ; desc @@ 1.11 log @Don't try to provide own declarations for vsprintf, vfprintf and vprintf, as this causes build failure and a run-in with __builtin___vsprintf_chk() on NetBSD 8.0. Instead just include and . Rename the patch file for include/system.h in the process. Bump PKGREVISION. @ text @$NetBSD: patch-ac,v 1.10 2011/06/01 11:20:29 wiz Exp $ Fix for NetBSD. --- include/system.h.orig 2003-12-07 15:39:13.000000000 -0800 +++ include/system.h @@@@ -79,10 +79,10 @@@@ typedef long off_t; # 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(__APPLE__)) || defined(RANDOM) E void FDECL(srandom, (unsigned int)); # else -# if !defined(bsdi) && !defined(__FreeBSD__) +# if !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__APPLE__) E int FDECL(srandom, (unsigned int)); # endif # endif @@@@ -132,7 +132,7 @@@@ E void FDECL(perror, (const char *)); 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 @@@@ E size_t FDECL(strlen, (const char *)); # ifdef HPUX E unsigned int FDECL(strlen, (char *)); # else -# if !(defined(ULTRIX_PROTO) && defined(__GNUC__)) +# if !(defined(ULTRIX_PROTO) && defined(__GNUC__)) && !defined(__NetBSD__) E int FDECL(strlen, (const char *)); # endif # endif /* HPUX */ @@@@ -521,7 +521,7 @@@@ E struct tm *FDECL(localtime, (const tim # 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.10 log @DESTDIRify nethack. Merge patches and distinfo. Some other improvements. From Rhialto in PR 45010. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.9 2006/06/19 17:07:45 minskim Exp $ @ 1.9 log @Do not declare conflicting srandom() on Darwin. @ text @d1 3 a3 1 $NetBSD$ @ 1.8 log @Fix DragonFly. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.7 2004/03/05 15:21:01 pooka Exp $ d3 2 a4 2 --- include/system.h.orig 2003-12-08 01:39:13.000000000 +0200 +++ include/system.h 2004-03-05 15:44:53.000000000 +0200 d10 1 a10 1 +# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)) || defined(RANDOM) d14 1 a14 1 +# if !defined(bsdi) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__) @ 1.7 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$ d5 1 a5 1 @@@@ -79,10 +79,10 @@@@ 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__) d18 1 a18 1 @@@@ -132,7 +132,7 @@@@ d27 1 a27 1 @@@@ -421,7 +421,7 @@@@ d36 1 a36 1 @@@@ -521,7 +521,7 @@@@ @ 1.6 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.5 log @make this work on FreeBSD @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2003/03/01 21:12:50 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(__NetBSD__) && !defined(__FreeBSD__) || 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.4 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.3 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/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.3.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.3 2000/08/10 17:50:06 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 @@@@ @ 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 @d3 2 a4 2 --- include/system.h.orig Sat Dec 11 07:20:51 1999 +++ include/system.h Thu Dec 23 22:12:04 1999 d10 1 a10 1 +# if (!defined(SUNOS4) && !defined(__NetBSD__)) || defined(RANDOM) d13 2 a14 2 -# ifndef bsdi +# if !defined(bsdi) && !defined(__NetBSD__) d23 1 a23 1 +# if (defined(BSD) || defined(ULTRIX)) && !defined(__NetBSD__) @ 1.1 log @nethack-lib pkg: data files for Nethack @ text @d2 10 a11 3 --- include/system.h.rorig Sun Aug 9 05:31:34 1998 +++ include/system.h Sun Aug 9 05:31:40 1998 @@@@ -82,3 +82,3 @@@@ d16 5 a20 1 @@@@ -132,3 +132,3 @@@@ d25 5 a29 1 @@@@ -398,3 +398,3 @@@@ d34 5 a38 1 @@@@ -509,2 +509,3 @@@@ d41 4 a44 2 # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) @@@@ -514,2 +515,3 @@@@ d48 2 @