head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.4 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.2 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q2:1.5.0.8 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.5.0.6 pkgsrc-2012Q1-base:1.5 pkgsrc-2011Q4:1.5.0.4 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.2 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.46 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.44 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.42 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.40 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.38 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.36 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.34 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.32 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.30 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.28 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.26 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.24 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.22 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.20 pkgsrc-2008Q1:1.4.0.18 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.16 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 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.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.6 date 2012.08.21.21.31.47; author marino; state dead; branches; next 1.5; 1.5 date 2011.08.16.10.18.58; author cheusov; state Exp; branches; next 1.4; 1.4 date 2006.01.16.14.47.35; author adam; state Exp; branches; next 1.3; 1.3 date 2005.08.02.22.37.18; author seb; state Exp; branches; next 1.2; 1.2 date 2001.12.23.17.02.31; author bjoern; state dead; branches; next 1.1; 1.1 date 2001.01.24.18.42.33; author he; state Exp; branches; next ; desc @@ 1.6 log @lang/tcl: Upgrade from version 8.4.18 to 8.5.12 Highlights of Tcl 8.5 * Features: 8.5 has over 90 TIPs included to provide a wide variety of new features. * Bignums: Tcl now supports arbitrary-precision integers, which improves math operations on large integers. * Safer interps: Tcl's powerful safe interpreter mechanism now has improved control of time and command limits in slave interpreters. * clock command: More robust implementation of command for specifying time, with significant l10n and i18n improvements. * dict command: New data structure that allows access to data by value rather than a variable name, which is substantially faster. * Additional improvements: Faster list search, new and improved mathematics procedures, anonymous procedures, new ways to package Tcl extensions, Tcl-level custom channel types, file and line location information for each command, and more. There is of course much, much more. See [8.5 Changes](http://wiki.tcl.tk/10630) on the wiki for a complete list of new features. @ text @$NetBSD: patch-ad,v 1.5 2011/08/16 10:18:58 cheusov Exp $ --- unix/dltest/Makefile.in.orig 2004-09-23 20:04:07.000000000 +0000 +++ unix/dltest/Makefile.in @@@@ -5,11 +5,11 @@@@ TCL_DBGX = @@TCL_DBGX@@ -CC = @@CC@@ +CC = ${LIBTOOL} --tag CC --mode=compile @@CC@@ LIBS = @@TCL_BUILD_STUB_LIB_SPEC@@ @@DL_LIBS@@ @@LIBS@@ @@MATH_LIBS@@ AC_FLAGS = @@DEFS@@ SHLIB_CFLAGS = @@SHLIB_CFLAGS@@ -SHLIB_LD = @@SHLIB_LD@@ +SHLIB_LD = ${LIBTOOL} --tag CC --mode=link cc -module -pipe -rpath ${PREFIX}/lib SHLIB_LD_LIBS = @@SHLIB_LD_LIBS@@ -SHLIB_SUFFIX = @@SHLIB_SUFFIX@@ +SHLIB_SUFFIX = .la SRC_DIR = @@srcdir@@ TCL_VERSION= @@TCL_VERSION@@ @@@@ -27,25 +27,26 @@@@ all: pkga${SHLIB_SUFFIX} pkgb${SHLIB_SUF pkga${SHLIB_SUFFIX}: $(SRC_DIR)/pkga.c $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkga.c - ${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.o ${SHLIB_LD_LIBS} + ${SHLIB_LD} -o pkga${SHLIB_SUFFIX} pkga.lo ${SHLIB_LD_LIBS} pkgb${SHLIB_SUFFIX}: $(SRC_DIR)/pkgb.c $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgb.c - ${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.o ${SHLIB_LD_LIBS} + ${SHLIB_LD} -o pkgb${SHLIB_SUFFIX} pkgb.lo ${SHLIB_LD_LIBS} pkgc${SHLIB_SUFFIX}: $(SRC_DIR)/pkgc.c $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgc.c - ${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.o ${SHLIB_LD_LIBS} + ${SHLIB_LD} -o pkgc${SHLIB_SUFFIX} pkgc.lo ${SHLIB_LD_LIBS} pkgd${SHLIB_SUFFIX}: $(SRC_DIR)/pkgd.c $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkgd.c - ${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.o ${SHLIB_LD_LIBS} + ${SHLIB_LD} -o pkgd${SHLIB_SUFFIX} pkgd.lo ${SHLIB_LD_LIBS} pkge${SHLIB_SUFFIX}: $(SRC_DIR)/pkge.c $(CC) -c $(CC_SWITCHES) $(SRC_DIR)/pkge.c - ${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.o ${SHLIB_LD_LIBS} + ${SHLIB_LD} -o pkge${SHLIB_SUFFIX} pkge.lo ${SHLIB_LD_LIBS} clean: - rm -f *.o config.cache config.log config.status + rm -f *.o *.lo config.cache config.log config.status rm -f lib.exp ../dltest.marker + rm -rf .libs @@if test "$(SHLIB_SUFFIX)" != ""; then \ echo "rm -f *${SHLIB_SUFFIX}" ; \ @ 1.5 log @ Fix for buffer overflow and segfault on some Linux system (PR 45244 by Michael Droettboom) Fix for build failure on NetBSD (missing --tags in libtool invocation) @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Changes 8.4.12: * Repeated [namespace import] of same command now permitted. * ${prefix}/share added to ::tcl_pkgPath on some systems. * [exec]'s >> redirection has improved append behavior. * [info globals] returned only existing variables. * Recognize some Solaris variations of the cp1251 encoding. * Addressed [file mkdir] race condition. * Support opening >2GB files on RHEL 3. * Corrections to $argv formatting when [encoding system] is multibyte. * http 2.5.2: Update URL encoding rules to RFC 3986. * Fixed issue in recursive file delete with NFS lock files. * Stopped crash after use of Tcl_TraceCommand(). * Win NT/XP: support unicode console. * Improved support for Tclkit to set [encoding system]. * Added Korean timezone abbreviations. * Windows: exit codes can now exceed -128..127 range. * [load] support on LynxOS. * Packages with incorrect index scripts now cause a warning to be logged. *** POTENTIAL INCOMPATIBILITY *** * [lsearch -regexp] now accepts backrefs in the RE. * [selection get] made compatible with OpenOffice.org. * Dialog support for widget names containing spaces. * Improved Tk window manager event interaction on OS X Aqua. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2005/08/02 22:37:18 seb Exp $ d9 1 a9 1 +CC = ${LIBTOOL} --mode=compile @@CC@@ d14 1 a14 1 +SHLIB_LD = ${LIBTOOL} --mode=link cc -module -pipe -rpath ${PREFIX}/lib @ 1.3 log @Patches and tuning so the test target runs and pass, at least on NetBSD/i386 2.0_STABLE and current: set timezone in TEST_ENV, use libtool to compile shared test modules and account for that in the Tcl test scripts. Thanks to jwise@@ for the helping hand. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- dltest/Makefile.in.orig 2004-09-23 20:04:07.000000000 +0000 +++ dltest/Makefile.in @ 1.2 log @Update to version 8.3.4 Besides more bug fixes and several enhancements some of the NetBSD relevant changes (taken from "changes" in the distribution): 2001-04-03 (doc fixes) numerous doc corrections and clarifications. Update of READMEs. 2001-03-29 (bug fix) prevent potential race condition and security leak in tmp filename creation on Unix. (max) 2001-03-13 (bug fix) Correctly possible memory corruption in string map {} $str (fellows) 2001-01-30 (bug fix) Fixed possible hangs in fcopy. (porter) 2000-11-23 (mem leak) fixed potential memory leak in error case of lsort (fellows) 2000-11-01 (mem leak) Corrected excessive mem use of info exists on a non-existent array element (hobbs) 2000-09-27 (bug fix) fixed a bug introduced by a partial fix in 8.3.2 that didn't set nonBlocking correctly when resetting the flags for the write side (mem leak) Correct mem leak in channels when statePtr was released (hobbs) 2001-07-18 (bug fix) corrected memory overwrite error when buffer size of a channel is changed after channel use has already begun (kupries, porter) 2001-08-07 (bug fix) corrected bytecode stack management during [break] (see test foreach-5.5) (sofer, tallneil, jstrot) 2001-08-08 (new features) updated packages msgcat 1.1.1, opt 0.4.3, tcltest 1.0.1, dependencies checked (porter) 2001-08-24 (bug fix) [auto_import] now matches patterns like [namespace import], not like [string match] (porter) **** POTENTIAL INCOMPATABILITY **** 2001-08-27 (new feature) added Tcl_SetMainLoop() to enable loading Tk as a true package (hobbs) 2001-09-06 (new feature) http 2.4: honor the Content-encoding and charset parameters; add -binary switch for forcing the issue (hobbs, saoukhi, orwell) 2001-09-10 (bug fix) protect against alias loops (hobbs) 2001-09-19 (bug fix) [format] and [scan] corrected for 64-bit machines (rmax) 2001-09-26 (bug fix) corrected potential deadlock in channels that do not provide a BlockModeProc (kupries, kogorman) 2001-10-11 (bug fix) corrected cleanup of self-referential bytecodes at interpreter deletion (sofer, rbrunner) @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2001/01/24 18:42:33 he Exp $ d3 3 a5 12 --- ../generic/tclIO.c.orig Tue Aug 8 02:57:40 2000 +++ ../generic/tclIO.c Wed Jan 24 16:28:20 2001 @@@@ -2181,10 +2181,13 @@@@ /* * There is only the TOP Channel, so we free the remaining - * pointers we have and then ourselves. + * pointers we have and then ourselves. Since this is the + * last of the channels in the stack, make sure to free the + * ChannelState structure associated with it. */ chanPtr->typePtr = NULL; d7 18 a24 2 + Tcl_EventuallyFree((ClientData) statePtr, TCL_DYNAMIC); Tcl_EventuallyFree((ClientData) chanPtr, TCL_DYNAMIC); d26 27 a52 1 return errorCode; @ 1.1 log @Add a point patch pulled from development version of tcl, so that ``while 1 { close [open /dev/null r] }'' does not leak memory for each go-around. This corresponds to sourceforge bugid #117988. Bump PKGNAME to tcl-8.3.2nb1. @ text @d1 1 a1 1 $NetBSD$ @