head 1.7; access; symbols pkgsrc-2020Q2:1.6.0.78 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.58 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.80 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.76 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.74 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.72 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.70 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.68 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.66 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.64 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.62 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.60 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.56 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.54 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.52 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.50 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.48 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.46 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.44 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.42 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.40 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.38 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.36 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.34 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.32 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.30 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.28 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.26 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.24 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.22 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.20 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.18 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.16 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.14 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.12 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.10 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.8 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.6 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.6.0.4 pkgsrc-2010Q4-base:1.6 pkgsrc-2010Q3:1.6.0.2 pkgsrc-2010Q3-base:1.6 pkgsrc-2009Q4:1.5.0.16 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.14 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.12 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.10 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.8 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.6 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.4 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.2 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.4.0.4 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.2 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.3.0.12 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.10 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.8 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.6 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.4 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.2.0.6 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.1.1.1.0.6 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.4 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.2 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2020.08.13.05.59.52; author tsutsui; state dead; branches; next 1.6; commitid hFZ31I2ymQy1KRjC; 1.6 date 2010.08.14.06.32.34; author tsutsui; state Exp; branches; next 1.5; 1.5 date 2007.09.07.14.11.52; author tsutsui; state dead; branches; next 1.4; 1.4 date 2007.03.17.13.44.18; author tsutsui; state Exp; branches; next 1.3; 1.3 date 2005.07.27.07.29.26; author skrll; state Exp; branches; next 1.2; 1.2 date 2004.12.05.07.32.17; author skrll; state Exp; branches; next 1.1; 1.1 date 2004.01.23.08.21.59; author skrll; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.01.23.08.21.59; author skrll; state Exp; branches; next ; desc @@ 1.7 log @tme: appease pkglint and also rename old-style patch-xx files. @ text @$NetBSD: patch-ac,v 1.6 2010/08/14 06:32:34 tsutsui Exp $ --- libtme/misc.c.orig 2010-06-05 19:02:38.000000000 +0000 +++ libtme/misc.c @@@@ -430,7 +430,7 @@@@ tme_misc_cycles_per_ms(void) union tme_value64 tme_misc_cycles(void) { -#ifdef TME_HAVE_INT64_T */ +#ifdef TME_HAVE_INT64_T struct timeval now; tme_uint64_t cycles; union tme_value64 value; @ 1.6 log @Fix typoes which cause build failure on !x86 machines. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update tme to 0.6. Ok'ed by skrll@@. See fredette's annoucement for details: http://mail-index.netbsd.org/port-sparc/2007/09/07/0000.html >> The new version of tme, 0.6, fixes many bugs in the Sun 3 emulation, >> and can also emulate a SPARCstation 2. NetBSD 3.x seems to run pretty >> well on the different emulations. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.4 2007/03/17 13:44:18 tsutsui Exp $ d3 11 a13 20 --- libtme/module.c.orig 2005-01-26 21:59:24.000000000 +0900 +++ libtme/module.c 2006-07-29 14:41:36.000000000 +0900 @@@@ -214,7 +214,7 @@@@ char *modules_dir; char line_buffer[1024]; char **tokens; - unsigned int tokens_count; + int tokens_count; char *module_basename; char *module_pathname; lt_dlhandle handle; @@@@ -230,7 +230,7 @@@@ for (p1 = module_raw_name; (c = *p1) != '\0'; p1++) { - if (!isalnum(c)) { + if (!isalnum((unsigned char)c)) { *p1 = '_'; if (c == '/' && first_slash == NULL) { @ 1.4 log @Apply various fixes. Most of them are contributed by Arthur Townsend (see his ILVSUN3 page http://www.ilvsun3.com/ for more details), and some others are from skrll and me. patch-ab: (from skrll) fix an invalid pointer cast for -fstrict-aliasing patch-a[cijklmn]: PR pkg/34113 (by me) - specify -fno-strict-aliasing in Makefiles (for workaround) - add several casts to appease -Wpointer-sign - remove a static decl from a global function - add a cast and remove unused variable patch-ap: (from Arthur, tweaked by me) disable "cannot generate keysym" warnings on tmesh startup patch-aq: PR pkg/33969 (from Arthur) TME sun3 emulator incorrectly emulates cmp2 and chk2 M68K instructions patch-ar: PR pkg/34538 (from Arthur) TME sun3 emulator incorrectly calculates EA with immediate mode instructions with PC indirect 16-bit displacement addressing patch-aw: PR pkg/35010 (from Arthur) sun3 emulator asserts when using stdin/stdout for emulated serial console patch-ax: PR pkg/35009 (from Arthur) TME sun3 emulator asserts when running two emulators with ethernet patch-az: PR pkg/35305 (from Arthur, with some minor tweaks by me) TME sun3 emulator incorrectly emulates ethernet obie & i825x6 hardware patch-ba: PR pkg/35309 (from Arthur) TME sun3 emulator, running without a window manager, overwrites tmesh prompt patch-bb: PR pkg/34690 (from Arthur, modified by me) TME sun3 emulator incorrectly performs: movel sp,-(sp) (also modify m68k-insns-auto.sh to mark cas instructions CANFAULT) patch-bc: PR pkg/34571 (from Arthur, modified by me) TME sun3 emulator doesn't consider floating point infinities to be equal patch-bd: (by me) - avoid invalid 32 bit shifts in fb-xlat-auto.sh, which may cause broken screen fonts when tme is compiled with gcc4 patch-be: (by me) fix decoding cas instructions Makefile: (by me) - add some CONFIGURE_ARGS to avoid invalid shifts more than (or equal to) variable sizes, which could be problematic on gcc4 - bump PKGREVISION @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2005/07/27 07:29:26 skrll Exp $ @ 1.3 log @Update to 0.4. A huge number of changes have been made. This most visible being support for emulating a SUN3/160. @ text @d1 1 a1 1 $NetBSD$ d3 12 a14 3 --- libtme/module.c.orig 2005-01-26 12:59:24.000000000 +0000 +++ libtme/module.c @@@@ -230,7 +230,7 @@@@ tme_module_open(const char *module_fake_ @ 1.2 log @Fixes to ctype macro usage so that this builds on -current. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1.1.1 2004/01/23 08:21:59 skrll Exp $ d3 1 a3 1 --- libtme/module.c.orig 2003-08-23 14:48:30.000000000 +0100 a4 9 @@@@ -107,7 +107,7 @@@@ _tme_modules_find(const char *top_name, FILE *modules_index; /* pass over the search path environment variables: */ - for (pass = 0; ++pass < 2; ) { + for (pass = 0; ++pass <= 2; ) { /* get the next search path environment variable value: */ search_path = NULL; @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- libtme/module.c.orig Sat Aug 23 14:48:30 2003 d14 9 @ 1.1.1.1 log @Import of tme 0.2 The Machine Emulator, or tme, is a program that provides a general- purpose framework for computer emulation. The first machine that tme could emulate was the Sun 2/120, one of the first widely available Sun workstations. @ text @@