head 1.5; access; symbols pkgsrc-2019Q4:1.4.0.58 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.54 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.52 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.50 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.48 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.46 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.44 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.42 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.40 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.38 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.34 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.32 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.30 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.28 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.26 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.24 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.22 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.20 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.18 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.16 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.14 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.12 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.10 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.8 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.6 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.4 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.2 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.3.0.52 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.50 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.48 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.46 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.44 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.42 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.40 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.38 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.36 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.34 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.32 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.30 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.28 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.26 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.24 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.22 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.20 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.18 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.16 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.14 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.12 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.10 pkgsrc-2008Q1:1.3.0.8 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.6 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.4 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.2 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.2.0.2 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.1.0.6 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.4 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.2 pkgsrc-2006Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2020.01.10.11.11.36; author nia; state dead; branches; next 1.4; commitid 6aMDLQXvZ25up8SB; 1.4 date 2013.06.12.01.57.24; author dholland; state Exp; branches; next 1.3; commitid IeZZCHIakjeIAgTw; 1.3 date 2007.04.16.16.06.32; author joerg; state Exp; branches; next 1.2; 1.2 date 2007.03.24.20.10.09; author adam; state dead; branches 1.2.2.1; next 1.1; 1.1 date 2006.05.21.17.09.53; author joerg; state Exp; branches; next ; 1.2.2.1 date 2007.05.15.22.19.51; author salo; state Exp; branches; next ; desc @@ 1.5 log @emulators: Remove zsnes. 32-bit x86 only due to use of 32-bit assembly code, but fails to build on i386 due to problems with atomics. No upstream release for 12 years and numerous accuracy problems and security problems with untrusted ROMs unfixed - use emulators/snes9x. @ text @$NetBSD: patch-af,v 1.4 2013/06/12 01:57:24 dholland Exp $ - use standard headers - the type of main() does not involve size_t --- tools/depbuild.cpp.orig 2006-12-27 11:04:05.000000000 +0000 +++ tools/depbuild.cpp @@@@ -24,6 +24,8 @@@@ This program generates dependencies for #include #include #include +#include +#include using namespace std; #include "fileutil.h" @@@@ -183,7 +185,7 @@@@ void dependency_calculate(const char *fi } } -int main(size_t argc, const char *const *const argv) +int main(int argc, const char *const *const argv) { if (argc < 5) { @@@@ -209,7 +211,7 @@@@ int main(size_t argc, const char *const else { struct stat unused; - for (size_t i = 5; i < argc; i++) + for (int i = 5; i < argc; i++) { dependency_calculate(argv[i], unused); } @ 1.4 log @Patch blindly based on the last 2013q1 netbsd-6 build report: add and fix signature of main(). (this package is i386-only) @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.3 2007/04/16 16:06:32 joerg Exp $ @ 1.3 log @Fix build on DragonrFly. @ text @d1 1 a1 1 $NetBSD$ d3 4 a6 1 --- tools/depbuild.cpp.orig 2007-04-16 15:40:03.000000000 +0000 d8 1 a8 1 @@@@ -24,6 +24,7 @@@@ This program generates dependencies for d12 1 d17 18 @ 1.2 log @Changes 1.51: ---------- - Rejoice for finally having 224 lines and them being shown properly in all cases. - IRQ and timing fixes (fixes Chrono Trigger issues, Super Mario World, and others). - Fixed bug with certain commandline parameters permanently overwriting config file settings. - Fixed bug with loading new ZMVs of a different version. - Loading ZMV with ROM mismatch prints a message. - Movie menu now has tabs and only shows proper options when available. - Slight improvement to the Custom Res functionality. - Keep4_3Ratio option now only shows when necessary. - PNG files now use extended height in extended height mode. - Pausing, rewinding, and fast fowarding are disabled during movie dumping. - You can now force a movie dump length shorter or longer than the actual ZMV length. - Fixed Bilinear Filtering on startup. - More... @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2006/05/21 17:09:53 joerg Exp $ d3 8 a10 7 --- linux/zfilew.c.orig 2005-01-14 14:11:19.000000000 +0100 +++ linux/zfilew.c @@@@ -471,14 +471,17 @@@@ void obtaindir() { char *homedir = 0; DIR *tmp; + int getenvSuccess = 0; d12 1 a12 13 if ((homedir = (char *)getenv("HOME")) == 0) { homedir = (char *)malloc(ZCFG_DIR_LEN); getcwd(homedir, ZCFG_DIR_LEN); + getenvSuccess = 1; } strcpy(zcfgdir, homedir); - free(homedir); + if (getenvSuccess == 1) + free(homedir); strcat(zcfgdir, ZCFG_DIR); tmp = opendir(zcfgdir); if (tmp == NULL) @ 1.2.2.1 log @Pullup ticket 2075 - requested by joerg various DragonFly portability and modular X.org fixes Revisions pulled up: - pkgsrc/math/xfractint/Makefile 1.5 - pkgsrc/math/xfractint/distinfo 1.5 - pkgsrc/math/xfractint/patches/patch-ab 1.3 - pkgsrc/emulators/zsnes/distinfo 1.13 - pkgsrc/emulators/zsnes/patches/patch-aa 1.7 - pkgsrc/emulators/zsnes/patches/patch-af 1.3 - pkgsrc/games/xconq/Makefile 1.34 - pkgsrc/games/xconq/distinfo 1.10 - pkgsrc/games/xconq/patches/patch-ac 1.7 - pkgsrc/shells/zsh/Makefile.common 1.38 - pkgsrc/editors/ssam/distinfo 1.5 - pkgsrc/editors/ssam/patches/patch-ac 1.1 - pkgsrc/graphics/radiance/distinfo 1.9 - pkgsrc/graphics/radiance/patches/patch-au 1.1 - pkgsrc/graphics/radiance/patches/patch-av 1.1 - pkgsrc/graphics/radiance/patches/patch-aw 1.1 - pkgsrc/editors/xemacs/Makefile.common 1.19 - pkgsrc/editors/xemacs/files/dragonfly.h 1.2 Module Name: pkgsrc Committed By: joerg Date: Mon Apr 16 14:48:31 UTC 2007 Modified Files: pkgsrc/math/xfractint: Makefile distinfo Added Files: pkgsrc/math/xfractint/patches: patch-ab Log Message: Fix linkage. Bump revision. --- Module Name: pkgsrc Committed By: joerg Date: Mon Apr 16 16:06:32 UTC 2007 Modified Files: pkgsrc/emulators/zsnes: distinfo pkgsrc/emulators/zsnes/patches: patch-aa Added Files: pkgsrc/emulators/zsnes/patches: patch-af Log Message: Fix build on DragonrFly. --- Module Name: pkgsrc Committed By: joerg Date: Mon Apr 16 18:47:20 UTC 2007 Modified Files: pkgsrc/games/xconq: Makefile distinfo pkgsrc/games/xconq/patches: patch-ac Log Message: Fix linkage with modular Xorg. Bump revision. --- Module Name: pkgsrc Committed By: joerg Date: Mon Apr 16 19:01:28 UTC 2007 Modified Files: pkgsrc/shells/zsh: Makefile.common Log Message: Always build with tcsetpgrp support on DragonFly, makig zsh not depend on a control terminal during build. --- Module Name: pkgsrc Committed By: joerg Date: Wed Apr 18 18:18:24 UTC 2007 Modified Files: pkgsrc/editors/ssam: distinfo Added Files: pkgsrc/editors/ssam/patches: patch-ac Log Message: Rename setcontext to avoid conflicts with libc. --- Module Name: pkgsrc Committed By: joerg Date: Wed Apr 18 18:47:21 UTC 2007 Modified Files: pkgsrc/graphics/radiance: distinfo Added Files: pkgsrc/graphics/radiance/patches: patch-au patch-av patch-aw Log Message: Avoid conflict with libc symbol setcontext. --- Module Name: pkgsrc Committed By: joerg Date: Fri Apr 20 15:05:22 UTC 2007 Modified Files: pkgsrc/editors/xemacs: Makefile.common pkgsrc/editors/xemacs/files: dragonfly.h Log Message: Fix build on DragonFly 1.8+ @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.3 2007/04/16 16:06:32 joerg Exp $ d3 7 a9 8 --- tools/depbuild.cpp.orig 2007-04-16 15:40:03.000000000 +0000 +++ tools/depbuild.cpp @@@@ -24,6 +24,7 @@@@ This program generates dependencies for #include #include #include +#include using namespace std; d11 13 a23 1 #include "fileutil.h" @ 1.1 log @Fix stupid gentenv-linuxism: don't assume it is malloced. From Rumko in #dragonflybsd. Bump revision. @ text @d1 1 a1 1 $NetBSD$ @