head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q1:1.3.0.4 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2010Q1:1.1.0.12 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.10 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.8 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.6 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.4 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.2 pkgsrc-2008Q4-base:1.1; locks; strict; comment @# @; 1.4 date 2012.05.26.02.50.53; author obache; state dead; branches; next 1.3; 1.3 date 2011.11.11.19.50.55; author christos; state Exp; branches; next 1.2; 1.2 date 2010.05.28.13.21.26; author tsutsui; state dead; branches; next 1.1; 1.1 date 2008.11.20.21.30.05; author chuck; state Exp; branches; next ; desc @@ 1.4 log @remove patch-ad, simh-3.9.0 contains this fix. part of PR 46445. @ text @$NetBSD: patch-ad,v 1.3 2011/11/11 19:50:55 christos Exp $ --- sim_sock.c.orig 2008-11-20 13:53:48.000000000 -0500 +++ sim_sock.c 2011-11-11 14:46:31.000000000 -0500 @@@@ -195,7 +195,7 @@@@ { int32 sta, err; #if defined (macintosh) || defined (__linux) || \ - defined (__APPLE__) || defined (__OpenBSD__) + defined (__APPLE__) || defined (__OpenBSD__) || defined(__NetBSD__) socklen_t size; #elif defined (_WIN32) || defined (__EMX__) ||\ (defined (__ALPHA) && defined (__unix__)) @ 1.3 log @Pass the right type to accept! @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update simh to V3.8-1. Reviewd by obache@@ in PR pkg/43363 filed by me. --- Change Log For V3.8-1 SCP and libraries: * Fixed bug in DETACH ALL if called at simulator exit (from Dave Bryan) * Fixed bug in DO command handling of null arguments (from Dave Bryan) * Fixed bug in DO handling of \\ (literal backslash) (from Dave Bryan) * Fixed warnings in help printouts HP2100 (all changes from Dave Bryan) * Corrected DMS violation register set conditions * JSB to 0/1 with W5 out and fence = 0 erroneously causes MP abort * Fixed DJP, SJP, and UJP jump target validation * BACI: Fixed STC,C losing interrupt request on BREAK * MPX: Implemented 12792C eight-channel terminal multiplexer * MT: Fixed missing flag after CLR command * PIF: Implemented 12620A/12936A Privileged Interrupt Fences IBM 1401: * Fixed bug in ZA and ZS (from Bob Abeles) * Fixed tape indicator implementation (from Bob Abeles) * Added missing magtape modifier A (from Van Snyder) * Added -n (no rewind) option to BOOT (from Van Snyder) * Fixed bug to mask input to 6b on read (from Bob Abeles) PDP11: * Moved all Unibus/Qbus support routines to common I/O library * Fxed bug in ASHP left overflow calc * Fixed bug in DIVx VAX: * Fxed bug in ASHP left overflow calc * Fixed bug in DIVx * Resync time of day clock on any clock reset --- Also some pkgsrc fixes, including Linux build: * add MAKE_FLAGS in pkgsrc Makefile to define USE_NETWORK in dist makefile * reorganize patch-aa for makefile to reduce diffs: * use gmake (USE_TOOLS+=gmake in Makefile) * check OSTYPE properly (so that it also builds on Linux) * use "else " for OSTYPE checks * revert previous gcc -> ${CC} change since -std=c99 seems mandatory * update patch-ac for upstream cosmetics (for "set telnet" using raw mode) * remove patch-ad for inline definitions since upstream has disabled it * remove INSTALL_DATA_DIR as suggested by pkglint Tested on NetBSD/i386 -current and CentOS 5.4 i386. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2008/11/20 21:30:05 chuck Exp $ d3 11 a13 23 --- sim_defs.h.orig 2008-11-20 15:36:35.000000000 -0500 +++ sim_defs.h 2008-11-20 15:40:40.000000000 -0500 @@@@ -164,7 +164,20 @@@@ /* Inlining */ #if defined (__GNUC__) /* GCC */ + +#if defined(__APPLE_CC__) && (__APPLE_CC__ > 5400) && \ + (__APPLE_CC__ < 5488) && (__STDC_VERSION__ >= 199901L) && \ + !defined(__GNUC_STDC_INLINE__) +/* old versions of xcode (3.0) don't define this, and they should... */ +#define __GNUC_STDC_INLINE__ +#endif + +#ifdef __GNUC_STDC_INLINE__ +#define SIM_INLINE extern inline +#else #define SIM_INLINE inline +#endif + #elif defined (_MSC_VER) /* Microsoft C Compilers */ #define SIM_INLINE __inline #else /* default */ @ 1.1 log @make SIM_INLINE functions in the VAX emulator compile properly when c99 style-inline functions are in effect (e.g. on Darwin and when __GNUC_STDC_INLINE__ is defined). (this was reported back when 3.8 came out on the simh mailing list, so hopefully Bob Supnik and crew will include a fix in the next release, when ever that is.) @ text @d1 1 a1 1 $NetBSD$ @