pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/tme Update tme to 0.6. Ok'ed by skrll@.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6eb2209a2c1
branches:  trunk
changeset: 533027:e6eb2209a2c1
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Fri Sep 07 14:11:51 2007 +0000

description:
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.

diffstat:

 emulators/tme/Makefile         |   13 +-
 emulators/tme/PLIST            |   20 ++-
 emulators/tme/distinfo         |   33 +---
 emulators/tme/patches/patch-aa |   12 -
 emulators/tme/patches/patch-ab |   28 ---
 emulators/tme/patches/patch-ac |   22 --
 emulators/tme/patches/patch-ad |   22 --
 emulators/tme/patches/patch-ae |   22 --
 emulators/tme/patches/patch-af |  101 ------------
 emulators/tme/patches/patch-ag |   16 -
 emulators/tme/patches/patch-ah |   71 --------
 emulators/tme/patches/patch-ai |  242 ----------------------------
 emulators/tme/patches/patch-aj |   13 -
 emulators/tme/patches/patch-ak |   13 -
 emulators/tme/patches/patch-al |   30 ---
 emulators/tme/patches/patch-am |   13 -
 emulators/tme/patches/patch-an |   30 ---
 emulators/tme/patches/patch-ap |   20 --
 emulators/tme/patches/patch-aq |  169 --------------------
 emulators/tme/patches/patch-ar |   23 --
 emulators/tme/patches/patch-aw |   84 ----------
 emulators/tme/patches/patch-ax |   19 --
 emulators/tme/patches/patch-az |  343 -----------------------------------------
 emulators/tme/patches/patch-ba |   13 -
 emulators/tme/patches/patch-bb |  195 -----------------------
 emulators/tme/patches/patch-bc |   65 -------
 emulators/tme/patches/patch-bd |   32 ---
 emulators/tme/patches/patch-be |   17 --
 28 files changed, 27 insertions(+), 1654 deletions(-)

diffs (truncated from 1859 to 300 lines):

diff -r be051278a572 -r e6eb2209a2c1 emulators/tme/Makefile
--- a/emulators/tme/Makefile    Fri Sep 07 14:11:20 2007 +0000
+++ b/emulators/tme/Makefile    Fri Sep 07 14:11:51 2007 +0000
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.14 2007/03/17 13:44:17 tsutsui Exp $
+# $NetBSD: Makefile,v 1.15 2007/09/07 14:11:51 tsutsui Exp $
 #
 
-DISTNAME=              tme-0.4
-PKGREVISION=           3
+DISTNAME=              tme-0.6
+PKGREVISION=           0
 CATEGORIES=            emulators
-MASTER_SITES=          http://theory.lcs.mit.edu/~fredette/tme/
+MASTER_SITES=          http://csail.mit.edu/~fredette/tme/
 
 MAINTAINER=            skrll%NetBSD.org@localhost
 # Please do not assign PR's for this package to skrll.
 # Instead, assign them to the package author, fredette.
 
-HOMEPAGE=              http://theory.lcs.mit.edu/~fredette/tme/
+HOMEPAGE=              http://csail.mit.edu/~fredette/tme/
 COMMENT=               The Machine Emulator
 
 USE_PKGLOCALEDIR=      yes
@@ -19,9 +19,6 @@
 USE_TOOLS+=            gmake perl:run
 
 CONFIGURE_ARGS+=       --disable-debug
-CONFIGURE_ARGS+=       ac_cv_shiftmax_int8_t=8
-CONFIGURE_ARGS+=       ac_cv_shiftmax_int16_t=16
-CONFIGURE_ARGS+=       ac_cv_shiftmax_int32_t=32
 
 BUILDLINK_DEPMETHOD.libXt?=    build
 
diff -r be051278a572 -r e6eb2209a2c1 emulators/tme/PLIST
--- a/emulators/tme/PLIST       Fri Sep 07 14:11:20 2007 +0000
+++ b/emulators/tme/PLIST       Fri Sep 07 14:11:51 2007 +0000
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2005/07/27 07:29:26 skrll Exp $
+@comment $NetBSD: PLIST,v 1.4 2007/09/07 14:11:51 tsutsui Exp $
 bin/tme-sun-eeprom
 bin/tme-sun-idprom
 bin/tmesh
-include/tme/atomics.h
 include/tme/common.h
 include/tme/connection.h
 include/tme/element.h
@@ -20,19 +19,26 @@
 include/tme/generic/tape.h
 include/tme/hash.h
 include/tme/ic/am9513.h
+include/tme/ic/bt458.h
 include/tme/ic/i825x6.h
 include/tme/ic/ieee754-auto.h
 include/tme/ic/ieee754-ops-auto.h
 include/tme/ic/ieee754.h
 include/tme/ic/isil7170.h
 include/tme/ic/m68k.h
+include/tme/ic/mk48txx.h
 include/tme/ic/mm58167.h
+include/tme/ic/nec765.h
+include/tme/ic/sparc.h
 include/tme/ic/z8530.h
 include/tme/log.h
 include/tme/machine/sun.h
 include/tme/misc.h
 include/tme/module.h
+include/tme/memory-auto.h
+include/tme/memory.h
 include/tme/scsi/scsi-cdb.h
+include/tme/scsi/scsi-cdrom.h
 include/tme/scsi/scsi-device.h
 include/tme/scsi/scsi-disk.h
 include/tme/scsi/scsi-msg.h
@@ -51,20 +57,30 @@
 lib/tme/tme_host_bsd.la
 lib/tme/tme_host_gtk.la
 lib/tme/tme_host_posix.la
+lib/tme/tme_bus_sbus.la
+lib/tme/tme_ic_am7930.la
+lib/tme/tme_ic_am7990.la
 lib/tme/tme_ic_am9513.la
 lib/tme/tme_ic_i825x6.la
 lib/tme/tme_ic_isil7170.la
+lib/tme/tme_ic_lsi64854.la
 lib/tme/tme_ic_m68k.la
+lib/tme/tme_ic_mk48txx.la
 lib/tme/tme_ic_mm58167.la
 lib/tme/tme_ic_ncr5380.la
+lib/tme/tme_ic_ncr53c9x.la
+lib/tme/tme_ic_nec765.la
+lib/tme/tme_ic_sparc.la
 lib/tme/tme_ic_z8530.la
 lib/tme/tme_machine_sun2.la
 lib/tme/tme_machine_sun3.la
+lib/tme/tme_machine_sun4.la
 lib/tme/tme_scsi.la
 lib/tme/tme_serial_kb.la
 lib/tme/tmeconfig.h
 share/examples/tme/SUN2-MULTIBUS
 share/examples/tme/SUN3-CARRERA
+share/examples/tme/SUN4-75
 share/examples/tme/my-sun-macros.txt
 share/examples/tme/sun-keyboards.txt
 share/examples/tme/sun3-carrera-eeprom.txt
diff -r be051278a572 -r e6eb2209a2c1 emulators/tme/distinfo
--- a/emulators/tme/distinfo    Fri Sep 07 14:11:20 2007 +0000
+++ b/emulators/tme/distinfo    Fri Sep 07 14:11:51 2007 +0000
@@ -1,30 +1,5 @@
-$NetBSD: distinfo,v 1.8 2007/03/17 14:36:42 tsutsui Exp $
+$NetBSD: distinfo,v 1.9 2007/09/07 14:11:51 tsutsui Exp $
 
-SHA1 (tme-0.4.tar.gz) = 7a1a2c6aa05527b11f81925e4931e7250f5be308
-RMD160 (tme-0.4.tar.gz) = a5b5ac56c8247f94cd96c92a04a6cb132ba92931
-Size (tme-0.4.tar.gz) = 1448981 bytes
-SHA1 (patch-aa) = 0fe6c37472caa876c253b9e8bb4e09cd278e5def
-SHA1 (patch-ab) = ffadbe0a97737fb8c04913781c78b09f6ddc649b
-SHA1 (patch-ac) = 94940e5f0a99c4c1e4e718ffc35fbb2117bceb21
-SHA1 (patch-ad) = 3f5adbaa94e5b97ded14e9a05cce912ed01f406f
-SHA1 (patch-ae) = 2f472a55f5afd1c0079349ce49bd3eb251ea9d76
-SHA1 (patch-af) = 17bf5f0a52036b50533fdfb9f2b6d74ea9494186
-SHA1 (patch-ag) = 9b88bc76c34320e63f7aa4fda6804b7b2c432c5c
-SHA1 (patch-ah) = c33a0dd4353aac9d7c01a0c9d5d54e5813e8382d
-SHA1 (patch-ai) = 6f6be39f73542ef128824aaa969fa9e793c478a5
-SHA1 (patch-aj) = 63c804457fae8a3527532e5d6b1ab09a377d41e4
-SHA1 (patch-ak) = 29ededa7be17a570be7d5f38b9536ff725ece5dc
-SHA1 (patch-al) = b36aecb7f3a89d80be4631bebaa3f3230ce7c8e7
-SHA1 (patch-am) = 2c216b3549ad02a81ba829e43dfa46dcd0525e24
-SHA1 (patch-an) = c6317d655348bb679f1ea6eef79e8743f3eb0158
-SHA1 (patch-ap) = 91d7b00791f90666728f85ebb940cbc2a75da2af
-SHA1 (patch-aq) = c426d9576b2d6f460a7b290e9f3be69c98e1dfef
-SHA1 (patch-ar) = 5d01194d1b3516ae387e21e54c861f6b5ec9e28e
-SHA1 (patch-aw) = fed1d90d936eac53dbe5be9a505bd7171768cc37
-SHA1 (patch-ax) = b8f16847326e3599df4d73d1108f6815a9c46164
-SHA1 (patch-az) = ab4a4164b880ed1716e7fed0e269b40c85515973
-SHA1 (patch-ba) = 22a47dfbf0c494916e4e8f15aa1fc11b687feaa8
-SHA1 (patch-bb) = 6f98e9456581676e380c2724937a7fbcbf660c2b
-SHA1 (patch-bc) = 52253ad742a4f1dd4c437cd7f8df3c9815483390
-SHA1 (patch-bd) = 69d00319ef82c1b274f56a61b5aa23a3770f5012
-SHA1 (patch-be) = b22f599b6c156f404f0d011cb692bb14bf8363e7
+SHA1 (tme-0.6.tar.gz) = bd5556eb2ae4a6999f46099166370491ee633a8b
+RMD160 (tme-0.6.tar.gz) = b730faac06280c55c9355e375caf4f4b26365f50
+Size (tme-0.6.tar.gz) = 1700273 bytes
diff -r be051278a572 -r e6eb2209a2c1 emulators/tme/patches/patch-aa
--- a/emulators/tme/patches/patch-aa    Fri Sep 07 14:11:20 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.3 2005/12/05 20:50:12 rillig Exp $
-
---- tme/threads.h.orig 2003-06-27 21:09:10.000000000 +0000
-+++ tme/threads.h
-@@ -41,6 +41,7 @@
- 
- /* includes: */
- #include <errno.h>
-+#include <sys/time.h>
- 
- /* note that our locking model never allows recursive locking. */
- 
diff -r be051278a572 -r e6eb2209a2c1 emulators/tme/patches/patch-ab
--- a/emulators/tme/patches/patch-ab    Fri Sep 07 14:11:20 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2007/03/17 13:44:18 tsutsui Exp $
-
---- ic/i825x6.c.orig   2007-01-24 12:56:18.000000000 +0000
-+++ ic/i825x6.c
-@@ -122,11 +122,19 @@ do {                                     \
- /* an rx buffer: */
- struct tme_i825x6_rx_buffer {
- 
--  /* the generic ethernet frame chunk.  this must be first, since we
--     abuse its tme_ethernet_frame_chunk_next for our own next pointer: */
--  struct tme_ethernet_frame_chunk tme_i825x6_rx_buffer_frame_chunk;
-+  union {
-+     struct tme_i825x6_rx_buffer *rx_buffer_next;
-+
-+    /* the generic ethernet frame chunk.  this must be first, since we
-+       abuse its tme_ethernet_frame_chunk_next for our own next pointer: */
-+     struct tme_ethernet_frame_chunk buffer_frame_chunk;
-+  } rx_un;
-+
-+#define tme_i825x6_rx_buffer_next rx_un.rx_buffer_next
-+#define tme_i825x6_rx_buffer_frame_chunk rx_un.buffer_frame_chunk
-+
- #define TME_I825X6_RX_BUFFER_NEXT(rx_buffer) \
--  (*((struct tme_i825x6_rx_buffer **) &(rx_buffer)->tme_i825x6_rx_buffer_frame_chunk.tme_ethernet_frame_chunk_next))
-+  (rx_buffer->tme_i825x6_rx_buffer_next)
- 
-   /* when this is TME_I825X6_RU_ADDRESS_UNDEF, this rx buffer was made
-      from a fast-write TLB entry, and the generic ethernet frame chunk
diff -r be051278a572 -r e6eb2209a2c1 emulators/tme/patches/patch-ac
--- a/emulators/tme/patches/patch-ac    Fri Sep 07 14:11:20 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2007/03/17 13:44:18 tsutsui Exp $
-
---- 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) {
diff -r be051278a572 -r e6eb2209a2c1 emulators/tme/patches/patch-ad
--- a/emulators/tme/patches/patch-ad    Fri Sep 07 14:11:20 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2005/07/27 07:29:26 skrll Exp $
-
---- libtme/misc.c.orig 2004-05-11 12:03:47.000000000 +0000
-+++ libtme/misc.c
-@@ -83,7 +83,7 @@ tme_misc_tokenize(const char *string,
- 
-     /* if this is a token delimiter: */
-     if (c == '\0'
--      || isspace(c)
-+      || isspace((unsigned char)c)
-       || c == comment) {
- 
-       /* if we had been collecting a token, it's finished: */
-@@ -184,7 +184,7 @@ _tme_misc_number_parse(const char *strin
-   /* XXX parts of this might be ASCII-centric: */
- 
-   /* skip leading whitespace: */
--  for (; (c = *string) != '\0' && isspace(c); string++);
-+  for (; (c = *string) != '\0' && isspace((unsigned char)c); string++);
- 
-   /* check for a leading '-' or '+' character: */
-   if ((negative = (c == '-'))
diff -r be051278a572 -r e6eb2209a2c1 emulators/tme/patches/patch-ae
--- a/emulators/tme/patches/patch-ae    Fri Sep 07 14:11:20 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2004/12/05 07:32:17 skrll Exp $
-
---- serial/serial-kb.c.orig    2003-10-16 03:48:25.000000000 +0100
-+++ serial/serial-kb.c
-@@ -966,7 +966,7 @@ TME_ELEMENT_X_NEW_DECL(tme_serial_,kb,ke
-       }
-       for (p1 = line_buffer;
-          ((c = *(p1++)) != '\0'
--          && isspace(c)););
-+          && isspace((unsigned char)c)););
-       if (c == '\0'
-         || c == '#') {
-       continue;
-@@ -1049,7 +1049,7 @@ TME_ELEMENT_X_NEW_DECL(tme_serial_,kb,ke
-     }
-     for (p1 = line_buffer;
-        ((c = *(p1++)) != '\0'
--        && isspace(c)););
-+        && isspace((unsigned char)c)););
-     if (c == '\0'
-       || c == '#') {
-       continue;
diff -r be051278a572 -r e6eb2209a2c1 emulators/tme/patches/patch-af
--- a/emulators/tme/patches/patch-af    Fri Sep 07 14:11:20 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-$NetBSD: patch-af,v 1.1 2006/09/24 15:20:28 joerg Exp $
-
---- libltdl/configure.orig     2006-09-24 16:19:12.000000000 +0000
-+++ libltdl/configure
-@@ -3518,13 +3518,13 @@ darwin* | rhapsody*)
-   lt_cv_deplibs_check_method=pass_all
-   ;;
- 
--freebsd*)
-+freebsd* | dragonfly*)
-   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
-     case $host_cpu in
-     i*86 )
-       # Not sure whether the presence of OpenBSD here was a mistake.
-       # Let's accept both of them until this is cleared up.
--      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
-+      lt_cv_deplibs_check_method='file_magic (DragonFly|FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
-       lt_cv_file_magic_cmd=/usr/bin/file
-       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
-       ;;
-@@ -7289,7 +7289,7 @@ if test -z "$aix_libpath"; then aix_libp
-       ;;
- 
-     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
--    freebsd*)
-+    freebsd* | dragonfly*)



Home | Main Index | Thread Index | Old Index