pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/tcl



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Jan 20 20:38:49 UTC 2021

Modified Files:
        pkgsrc/lang/tcl: Makefile Makefile.version PLIST distinfo
        pkgsrc/lang/tcl/patches: patch-unix_Makefile.in patch-unix_configure
            patch-unix_tclUnixCompat.c patch-unix_tclUnixInit.c
Added Files:
        pkgsrc/lang/tcl/patches: patch-pkgs_itcl4.2.1_configure
            patch-pkgs_sqlite3.34.0_Makefile.in
            patch-pkgs_sqlite3.34.0_configure patch-pkgs_tdbc1.1.2_configure
            patch-pkgs_tdbcmysql1.1.2_configure
            patch-pkgs_tdbcodbc1.1.2_configure
            patch-pkgs_tdbcpostgres1.1.2_configure
            patch-pkgs_thread2.8.6_configure
Removed Files:
        pkgsrc/lang/tcl/patches: patch-pkgs_itcl4.2.0_configure
            patch-pkgs_sqlite3.30.1.2_Makefile.in
            patch-pkgs_sqlite3.30.1.2_configure patch-pkgs_tdbc1.1.1_configure
            patch-pkgs_tdbcmysql1.1.1_configure
            patch-pkgs_tdbcodbc1.1.1_configure
            patch-pkgs_tdbcpostgres1.1.1_configure
            patch-pkgs_thread2.8.5_configure

Log Message:
tcl: updated to 8.6.11

8.6.11:

2019-12-03 (bug)[3cd9be] Corner case in surrogate handling (nijtmans)

2019-12-09 (new) Add tcltest::(Setup|Eval|Cleanup|)Test (coulter,sebres)
=> tcltest 2.5.2

2019-12-12 (new) Add 3 libtommath functions to stub table (nijtmans)

2019-12-23 (bug)[ce3b9f] compilation errors with clang, windows msys2 (nijtmans)

2019-12-27 (bug)[1de6b0] [expr 1e2147483648] => 0.0 (kbk)

2020-01-04 (bug)[912886] tis-620 encoding fails to load (coulter)

2020-01-13 (bug)[0b9332] Win: support system encoding init to utf-8 (jedlička)

2020-01-17 (bug)[8cd2fe] [unload] corrupted list of loaded packages (berc)

2020-01-17 (bug)[5d989f] segfault in lsort for large list length (sebres)

2020-01-30 (bug) Reset WSAGetLastError()/errno in channel close (nijtmans)

2020-02-17 (bug) Win: avoid create of legacy error-vars on init phase (sebres)

2020-02-25 (bug) release refs when setting class's superclasses fails (dkf)

2020-02-26 (bug) C++ compiler compatibility for registry and dde (nijtmans)
=> registry 1.4.3
=> dde 1.3.5

2020-03-05 (new) Update to Unicode-13 (nijtmans)

2020-03-16 (bug)[8f89e2] Win: env var encoding, env-2.5 (sebres, nijtmans)

2020-03-27 (bug)[767e07] Tcl_Get(Range|UniChar) validate index inputs (nijtmans)

2020-03-28 (bug)[8edfce] [binary encode base64] & multi-byte wrapchars (dgp)

2020-03-28 (bug)[ffeb20] [binary decode base64] ignore invalid chars (dgp)
See RFC 2045
        *** POTENTIAL INCOMPATIBILITY ***

2020-03-31 (bug)[b8e82d] some -maxlen values break uuencode round trip (dgp)
        *** POTENTIAL INCOMPATIBILITY ***

2020-04-01 (bug)[f58371] Fileevent run in proper thread (bron,sebres)

2020-04-13 (bug)[afa4b2] TclNeedSpace bug; tests util-8.5 .. util-8.11 (dgp)

2020-04-13 (bug)[085913] Tcl_DStringAppendElement # quoting precision (dgp)
        *** POTENTIAL INCOMPATIBILITY ***

2020-04-13 (bug)[a7f685] test util-5.52 (dgp)

2020-04-13 (bug)[c61818] Tcl_UtfPrev regression (dgp)

2020-04-15 (bug)[8af92d] zlib transform issue, bad inflate (sebres)

2020-04-16 (bug)[5e6346] Tcl_UtfPrev handling of overlong sequences (dgp)

2020-04-27 (bug)[45ca23] [string tolower] inconsistency (dgp)

2020-04-30 (bug)[da2352] init [info hostname] with DNS, not NetBIOS (nadkarni)

2020-05-11 (bug)[d402ff] Win32 potential crash when using main() (werner)

2020-05-13 (bug)[81242a] revised documentation for Tcl_UtfAtIndex() (nijtmans)
        *** POTENTIAL INCOMPATIBILITY ***

2020-05-13 (bug)[ed2980] Tcl_UtfToUniChar reads > TCL_UTF_MAX bytes (nijtmans)
        *** POTENTIAL INCOMPATIBILITY ***

2020-06-02 (bug) prevent segfault in parser (sebres)

2020-06-21 (bug)[f81bec] http POST a binary file (alakendu,nash)
=> http 2.9.2

2020-06-23 (bug)[41c985] auto_path nonsense in Safe Base (nash)

2020-06-24 (bug)[f70ce1] zlib multi-stream inflate acts only on first (sebres)

2020-07-09 (bug)[a1bd37] [clock scan] new ISO format (clock-34.(19-24)) (sebres)
        *** POTENTIAL INCOMPATIBILITY ***

2020-07-10 (bug)[501974] [clock scan] +time zone (clock-34.(53-68)) (sebres)
        *** POTENTIAL INCOMPATIBILITY ***

2020-07-15 (bug)[3c6e47] compiled [lappend] performance, avoid copy (sebres)

2020-07-16 (bug)[5bbd04] Fix index underflow (schwab)

2020-07-27 (bug)[cb0373] http::geturl -keepalive fixes (nash)
=> http 2.9.3

2020-08-10 (bug)[29e884] cmd resolution cycle (namespace-57.0) (coulter,sebres)

2020-08-12 (bug)[e87000] Tcl_BadChannelOption tolerate NULL (werner,nijtmans)

2020-08-31 (TIP #581) disfavor Master/Slave terminology (nijtmans)
=> opt 0.4.8

2020-09-11 (bug)[3bc0f4] UBSan complains about body.chars[] usage (nijtmans)

2020-09-17 (bug)[835c93] Support TIP 525 exit code for -singleproc 1 (nijtmans)
=> tcltest 2.5.3

2020-09-25 (new) force -eofchar \032 when evaluating library scripts (nijtmans)
        *** POTENTIAL INCOMPATIBILITY ***

2020-09-29 (bug)[0063cb] http::geturl -headers must be dict (oehlmann,nijtmans)

2020-10-19 (bug)[cb4582] Update install-sh script (stu,nijtmans)

2020-10-22 (bug)[c97593] Usage of gnu_printf in latest mingw-w64 (nijtmans)

2020-10-26 (new)[48898a] improve error message consistency (stu)
        *** POTENTIAL INCOMPATIBILITY ***

2020-11-06 (new) revised case of module names (nijtmans)
        *** POTENTIAL INCOMPATIBILITY ***

2020-12-10 (bug)[ed5be7] Win: recognize "comx:" as serial port (oehlmann)

2020-12-11 (new) support for msys2, Big Sur (nijtmans)
=> platform 1.0.15

2020-12-23 tzdata updated to Olson's tzdata2020e (jima)


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 pkgsrc/lang/tcl/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/lang/tcl/Makefile.version
cvs rdiff -u -r1.27 -r1.28 pkgsrc/lang/tcl/PLIST
cvs rdiff -u -r1.78 -r1.79 pkgsrc/lang/tcl/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.0_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.30.1.2_Makefile.in \
    pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.30.1.2_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.1_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.1_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.1_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.1_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.5_configure
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.1_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.34.0_Makefile.in \
    pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.34.0_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.2_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.2_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.2_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.2_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.6_configure
cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/tcl/patches/patch-unix_Makefile.in
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/tcl/patches/patch-unix_configure
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/tcl/patches/patch-unix_tclUnixCompat.c
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/tcl/Makefile
diff -u pkgsrc/lang/tcl/Makefile:1.113 pkgsrc/lang/tcl/Makefile:1.114
--- pkgsrc/lang/tcl/Makefile:1.113      Thu Nov  5 09:08:34 2020
+++ pkgsrc/lang/tcl/Makefile    Wed Jan 20 20:38:48 2021
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.113 2020/11/05 09:08:34 ryoon Exp $
+# $NetBSD: Makefile,v 1.114 2021/01/20 20:38:48 adam Exp $
 
 DISTNAME=      tcl${TCL_VERSION}-src
 PKGNAME=       tcl-${TCL_VERSION}
-PKGREVISION=   3
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=tcl/}
 

Index: pkgsrc/lang/tcl/Makefile.version
diff -u pkgsrc/lang/tcl/Makefile.version:1.26 pkgsrc/lang/tcl/Makefile.version:1.27
--- pkgsrc/lang/tcl/Makefile.version:1.26       Thu Apr 16 17:07:07 2020
+++ pkgsrc/lang/tcl/Makefile.version    Wed Jan 20 20:38:48 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.version,v 1.26 2020/04/16 17:07:07 adam Exp $
+# $NetBSD: Makefile.version,v 1.27 2021/01/20 20:38:48 adam Exp $
 # used by cad/xcircuit/Makefile
 # used by devel/tcl-tclcl/Makefile
 # used by lang/tcl/Makefile
@@ -7,10 +7,10 @@
 
 TCL_SONUM=     86
 TCL_BASEVER=   8.6
-TCL_VERSION=   8.6.10
+TCL_VERSION=   8.6.11
 
 # Update bundled versions in lang/tcl/buildlink3.mk
-ITCL_VERSION=          4.2.0
-SQLITE3_VERSION=       3.30.1.2
-TDBC_VERSION=          1.1.1
-THREAD_VERSION=                2.8.5
+ITCL_VERSION=          4.2.1
+SQLITE3_VERSION=       3.34.0
+TDBC_VERSION=          1.1.2
+THREAD_VERSION=                2.8.6

Index: pkgsrc/lang/tcl/PLIST
diff -u pkgsrc/lang/tcl/PLIST:1.27 pkgsrc/lang/tcl/PLIST:1.28
--- pkgsrc/lang/tcl/PLIST:1.27  Sun Apr 19 23:34:38 2020
+++ pkgsrc/lang/tcl/PLIST       Wed Jan 20 20:38:48 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2020/04/19 23:34:38 wiz Exp $
+@comment $NetBSD: PLIST,v 1.28 2021/01/20 20:38:48 adam Exp $
 bin/sqlite3_analyzer
 bin/tclsh
 bin/tclsh${BASEVER}
@@ -296,12 +296,12 @@ lib/tcl${BASEVER}/tcltest2.5/pkgIndex.tc
 lib/tcl${BASEVER}/tcltest2.5/tcltest.tcl
 lib/tcl${BASEVER}/tm.tcl
 lib/tcl${BASEVER}/word.tcl
-lib/tcl8/8.4/platform-1.0.14.tm
+lib/tcl8/${BASEVER}/http-2.9.5.tm
+lib/tcl8/${BASEVER}/tdbc/sqlite3-${TDBC_VERSION}.tm
+lib/tcl8/8.4/platform-1.0.15.tm
 lib/tcl8/8.4/platform/shell-1.1.4.tm
 lib/tcl8/8.5/msgcat-1.6.1.tm
-lib/tcl8/8.5/tcltest-2.5.1.tm
-lib/tcl8/8.6/http-2.9.1.tm
-lib/tcl8/8.6/tdbc/sqlite3-${TDBC_VERSION}.tm
+lib/tcl8/8.5/tcltest-2.5.3.tm
 lib/tclConfig.sh
 lib/tclooConfig.sh
 lib/tdbc${TDBC_VERSION}/libtdbc${TDBC_VERSION}.so
@@ -404,6 +404,7 @@ man/man3/Tcl_CreateAlias.3
 man/man3/Tcl_CreateAliasObj.3
 man/man3/Tcl_CreateChannel.3
 man/man3/Tcl_CreateChannelHandler.3
+man/man3/Tcl_CreateChild.3
 man/man3/Tcl_CreateCloseHandler.3
 man/man3/Tcl_CreateCommand.3
 man/man3/Tcl_CreateEncoding.3
@@ -579,6 +580,7 @@ man/man3/Tcl_GetChannelOption.3
 man/man3/Tcl_GetChannelThread.3
 man/man3/Tcl_GetChannelType.3
 man/man3/Tcl_GetCharLength.3
+man/man3/Tcl_GetChild.3
 man/man3/Tcl_GetClassAsObject.3
 man/man3/Tcl_GetCommandFromObj.3
 man/man3/Tcl_GetCommandFullName.3
@@ -634,6 +636,7 @@ man/man3/Tcl_GetObjectFromObj.3
 man/man3/Tcl_GetObjectName.3
 man/man3/Tcl_GetObjectNamespace.3
 man/man3/Tcl_GetOpenFile.3
+man/man3/Tcl_GetParent.3
 man/man3/Tcl_GetPathType.3
 man/man3/Tcl_GetRange.3
 man/man3/Tcl_GetRegExpFromObj.3

Index: pkgsrc/lang/tcl/distinfo
diff -u pkgsrc/lang/tcl/distinfo:1.78 pkgsrc/lang/tcl/distinfo:1.79
--- pkgsrc/lang/tcl/distinfo:1.78       Thu Apr 16 17:07:07 2020
+++ pkgsrc/lang/tcl/distinfo    Wed Jan 20 20:38:48 2021
@@ -1,26 +1,26 @@
-$NetBSD: distinfo,v 1.78 2020/04/16 17:07:07 adam Exp $
+$NetBSD: distinfo,v 1.79 2021/01/20 20:38:48 adam Exp $
 
-SHA1 (tcl8.6.10-src.tar.gz) = 0ba1dcc40db79749c322258781879a3c17093295
-RMD160 (tcl8.6.10-src.tar.gz) = e44c76e48b77c825dc6fb7a78ef8f7297106784a
-SHA512 (tcl8.6.10-src.tar.gz) = c89b886e483320a284033de51b5363758ef4748d6248ae73eb8e90fbe76c180395f485135ca9bf1246dd567159a77ffc1e8cb537bc2fc4a09b01448928d0afd7
-Size (tcl8.6.10-src.tar.gz) = 10144235 bytes
+SHA1 (tcl8.6.11-src.tar.gz) = 8e2ccdafdcaee0274de16a6dfd627b490ecfa196
+RMD160 (tcl8.6.11-src.tar.gz) = e36d8455f656b12006c3fe29a5240c7ccae2b133
+SHA512 (tcl8.6.11-src.tar.gz) = f586f393d1ded48e6a678552b1c6b13ad0ca27963e5fe2c98e81bdd5c018197032abb11810d7c7268d68291fefac6b6a046c06df2b0ddd8a720abc32353c55b2
+Size (tcl8.6.11-src.tar.gz) = 10259009 bytes
 SHA1 (patch-generic_tclInt.h) = f41a50e6461d0afacd1c8656944403e438ea6baf
 SHA1 (patch-generic_tclPort.h) = 36ff05b22591d588952e55d0f13c2ef52e371d1e
 SHA1 (patch-generic_tclPosixStr.c) = 68da211865282fe7124cad71381658f8dfb986d6
-SHA1 (patch-pkgs_itcl4.2.0_configure) = e84e707c48094f120cc600b660d4370c22a03de7
-SHA1 (patch-pkgs_sqlite3.30.1.2_Makefile.in) = 3e7035f0949007ffd27db3a7ae2632d9f1469aed
-SHA1 (patch-pkgs_sqlite3.30.1.2_configure) = f0ec2cea5b80c624108a30435fb32662426b96c1
-SHA1 (patch-pkgs_tdbc1.1.1_configure) = 6a8ca5f4a18d69a2838ae56133eab263c7579d14
-SHA1 (patch-pkgs_tdbcmysql1.1.1_configure) = 2b82599a4fcd2114c815ef9583cb66130f06ba34
-SHA1 (patch-pkgs_tdbcodbc1.1.1_configure) = 5c0b4e2adf39c6c6a9488d1aab80768cf8bee489
-SHA1 (patch-pkgs_tdbcpostgres1.1.1_configure) = dcecad9c96bd0f52cb4fc89228621b55495f7b79
-SHA1 (patch-pkgs_thread2.8.5_configure) = 0f11827bea5ca7f6419289a0b1cfa17843a184ee
+SHA1 (patch-pkgs_itcl4.2.1_configure) = 9e821584605ee538915365b6cc986c84a466faad
+SHA1 (patch-pkgs_sqlite3.34.0_Makefile.in) = 5ba6810d5b13713d98e422ba1f33f9b3c4b010b7
+SHA1 (patch-pkgs_sqlite3.34.0_configure) = 1b6a4640ae045b159bfef7fbea5363c315845e45
+SHA1 (patch-pkgs_tdbc1.1.2_configure) = bd9879f688db73b8c9d7078ecf08db506dfb6703
+SHA1 (patch-pkgs_tdbcmysql1.1.2_configure) = fe5eb8be50574e9c619695b7cf21bda91aabb7b2
+SHA1 (patch-pkgs_tdbcodbc1.1.2_configure) = 35c0f144102304e631c7bad21d98b745aca5a19d
+SHA1 (patch-pkgs_tdbcpostgres1.1.2_configure) = 5ffe21c178a25723fb6c0901a153c969357b6cdb
+SHA1 (patch-pkgs_thread2.8.6_configure) = 2abebd054e02f973463b1cd7f2dd7cfd7d1a462d
 SHA1 (patch-tests_load.test) = 438695ab76e01646e49aadc01c44344a5495eabb
 SHA1 (patch-tests_pkgMkIndex.test) = 70d1042c1f4743052c5fa191fa7c4732a08e28a2
-SHA1 (patch-unix_Makefile.in) = ec1cd7d020502bfc3ff41b2652602fe9500a97f3
-SHA1 (patch-unix_configure) = 94b3a54fb4e15022f2fb966f942fd7f32b370d32
+SHA1 (patch-unix_Makefile.in) = cf3f3ebaaf9d73c07db44b4da5695741fc39f0ea
+SHA1 (patch-unix_configure) = 59c5554344672eee73b309cdf679669c0cf7f677
 SHA1 (patch-unix_tclConfig.sh.in) = 341ac4f1bbfb29551dea87ade98b3b7b59652a31
-SHA1 (patch-unix_tclUnixCompat.c) = 7ffa40a1a56345f5b86cd896e8e3b0d5748d8c5e
+SHA1 (patch-unix_tclUnixCompat.c) = c5c124b5ccd240cbd34a83fd165c3dea208381cd
 SHA1 (patch-unix_tclUnixFCmd.c) = e715d9419a36a8414355252bb3da0ef48b07fe4f
-SHA1 (patch-unix_tclUnixInit.c) = 50eafafdd10e35266f9fe5b73a80e7b50f393f88
+SHA1 (patch-unix_tclUnixInit.c) = 6c4ff96d9dacbc37e02894a148144b368b8b6677
 SHA1 (patch-unix_tclUnixPort.h) = 9eff7a5d5842fe208b467fd2ad844192e2e6aec7

Index: pkgsrc/lang/tcl/patches/patch-unix_Makefile.in
diff -u pkgsrc/lang/tcl/patches/patch-unix_Makefile.in:1.16 pkgsrc/lang/tcl/patches/patch-unix_Makefile.in:1.17
--- pkgsrc/lang/tcl/patches/patch-unix_Makefile.in:1.16 Thu Apr 16 17:07:07 2020
+++ pkgsrc/lang/tcl/patches/patch-unix_Makefile.in      Wed Jan 20 20:38:49 2021
@@ -1,8 +1,8 @@
-$NetBSD: patch-unix_Makefile.in,v 1.16 2020/04/16 17:07:07 adam Exp $
+$NetBSD: patch-unix_Makefile.in,v 1.17 2021/01/20 20:38:49 adam Exp $
 
 Honour LDFLAGS.
 
---- unix/Makefile.in.orig      2019-11-21 19:10:50.000000000 +0000
+--- unix/Makefile.in.orig      2020-12-31 01:31:43.000000000 +0000
 +++ unix/Makefile.in
 @@ -8,6 +8,7 @@ VERSION                = @TCL_VERSION@
  MAJOR_VERSION         = @TCL_MAJOR_VERSION@
@@ -12,7 +12,7 @@ Honour LDFLAGS.
  
  #--------------------------------------------------------------------------
  # Things you can change to personalize the Makefile for your own site (you can
-@@ -55,6 +56,8 @@ SCRIPT_INSTALL_DIR   = $(INSTALL_ROOT)$(TC
+@@ -58,6 +59,8 @@ MODULE_INSTALL_DIR   = $(SCRIPT_INSTALL_DI
  
  # Directory in which to install the include file tcl.h:
  INCLUDE_INSTALL_DIR   = $(INSTALL_ROOT)$(includedir)
@@ -21,7 +21,7 @@ Honour LDFLAGS.
  
  # Path to the private tcl header dir:
  PRIVATE_INCLUDE_DIR   = @PRIVATE_INCLUDE_DIR@
-@@ -104,7 +107,7 @@ CFLAGS_OPTIMIZE            = @CFLAGS_OPTIMIZE@
+@@ -107,7 +110,7 @@ CFLAGS_OPTIMIZE            = @CFLAGS_OPTIMIZE@
  #CFLAGS                       = $(CFLAGS_DEBUG)
  #CFLAGS                       = $(CFLAGS_OPTIMIZE)
  #CFLAGS                       = $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
@@ -30,7 +30,7 @@ Honour LDFLAGS.
  
  # Flags to pass to the linker
  LDFLAGS_DEBUG         = @LDFLAGS_DEBUG@
-@@ -145,7 +148,7 @@ NO_DEPRECATED_FLAGS        =
+@@ -143,7 +146,7 @@ NO_DEPRECATED_FLAGS        =
  
  # Some versions of make, like SGI's, use the following variable to determine
  # which shell to use for executing commands:
@@ -39,7 +39,7 @@ Honour LDFLAGS.
  
  # Tcl used to let the configure script choose which program to use for
  # installing, but there are just too many different versions of "install"
-@@ -191,7 +194,7 @@ DLTEST_TARGETS             = dltest.marker
+@@ -189,7 +192,7 @@ DLTEST_TARGETS             = dltest.marker
  # run-time. The first symbol is for use when creating a binary with cc, and
  # the second is for use when running ld directly.
  CC_SEARCH_FLAGS       = @CC_SEARCH_FLAGS@
@@ -48,7 +48,7 @@ Honour LDFLAGS.
  
  # The following symbol is defined to "$(DLTEST_TARGETS)" if dynamic loading is
  # available; this causes everything in the "dltest" subdirectory to be built
-@@ -202,6 +205,7 @@ BUILD_DLTEST               = @BUILD_DLTEST@
+@@ -200,6 +203,7 @@ BUILD_DLTEST               = @BUILD_DLTEST@
  #BUILD_DLTEST         =
  
  TCL_LIB_FILE          = @TCL_LIB_FILE@
@@ -56,7 +56,7 @@ Honour LDFLAGS.
  #TCL_LIB_FILE         = libtcl.a
  
  # Generic lib name used in rules that apply to tcl and tk
-@@ -712,7 +716,7 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $
+@@ -710,7 +714,7 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $
  
  all: binaries libraries doc packages
  
@@ -65,7 +65,7 @@ Honour LDFLAGS.
  
  libraries:
  
-@@ -731,6 +735,11 @@ ${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
+@@ -729,6 +733,11 @@ ${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
        rm -f $@
        @MAKE_STUB_LIB@
  
@@ -77,7 +77,7 @@ Honour LDFLAGS.
  # Make target which outputs the list of the .o contained in the Tcl lib useful
  # to build a single big shared library containing Tcl and other extensions.
  # Used for the Tcl Plugin.  -- dl
-@@ -893,9 +902,16 @@ install-binaries: binaries
+@@ -891,9 +900,16 @@ install-binaries: binaries
            done;
        @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
        @@INSTALL_LIB@
@@ -95,47 +95,38 @@ Honour LDFLAGS.
        @echo "Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/"
        @$(INSTALL_DATA) tclConfig.sh "$(CONFIG_INSTALL_DIR)/tclConfig.sh"
        @echo "Installing tclooConfig.sh to $(CONFIG_INSTALL_DIR)/"
-@@ -919,7 +935,7 @@ install-libraries: libraries
-               else true; \
-               fi; \
-           done;
--      @for i in opt0.4 http1.0 encoding ../tcl8 ../tcl8/8.4  ../tcl8/8.4/platform ../tcl8/8.5 ../tcl8/8.6; \
-+      @for i in opt0.4 http1.0 encoding; \
-           do \
-           if [ ! -d "$(SCRIPT_INSTALL_DIR)"/$$i ] ; then \
-               echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \
-@@ -940,6 +956,8 @@ install-libraries: libraries
+@@ -946,6 +962,8 @@ install-libraries: libraries
            done;
-       @echo "Installing package http 2.9.1 as a Tcl Module";
-       @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.6/http-2.9.1.tm;
-+      @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/http/http.tcl;
-+      @$(INSTALL_DATA) $(TOP_DIR)/library/http/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)"/http/pkgIndex.tcl;
+       @echo "Installing package http 2.9.5 as a Tcl Module";
+       @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(MODULE_INSTALL_DIR)/8.6/http-2.9.5.tm";
++      @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)/http/http.tcl";
++      @$(INSTALL_DATA) $(TOP_DIR)/library/http/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)/http/pkgIndex.tcl";
        @echo "Installing package opt0.4 files to $(SCRIPT_INSTALL_DIR)/opt0.4/";
        @for i in $(TOP_DIR)/library/opt/*.tcl ; \
            do \
-@@ -947,13 +965,21 @@ install-libraries: libraries
+@@ -953,13 +971,21 @@ install-libraries: libraries
            done;
        @echo "Installing package msgcat 1.6.1 as a Tcl Module";
-       @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/msgcat-1.6.1.tm;
-+      @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/msgcat1.6/msgcat.tcl;
-+      @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)"/msgcat1.6/pkgIndex.tcl;
-       @echo "Installing package tcltest 2.5.1 as a Tcl Module";
-       @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/tcltest-2.5.1.tm;
-+      @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/tcltest2.5/tcltest.tcl;
-+      @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)"/tcltest2.5/pkgIndex.tcl;
- 
-       @echo "Installing package platform 1.0.14 as a Tcl Module";
-       @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform-1.0.14.tm;
-+      @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/platform1.0/platform.tcl;
-+      @$(INSTALL_DATA) $(TOP_DIR)/library/platform/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)"/platform1.0/pkgIndex.tcl;
+       @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(MODULE_INSTALL_DIR)/8.5/msgcat-1.6.1.tm";
++      @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)/msgcat1.6/msgcat.tcl";
++      @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)/msgcat1.6/pkgIndex.tcl";
+       @echo "Installing package tcltest 2.5.3 as a Tcl Module";
+       @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(MODULE_INSTALL_DIR)/8.5/tcltest-2.5.3.tm";
++      @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)/tcltest2.5/tcltest.tcl";
++      @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)/tcltest2.5/pkgIndex.tcl";
+ 
+       @echo "Installing package platform 1.0.15 as a Tcl Module";
+       @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(MODULE_INSTALL_DIR)/8.4/platform-1.0.15.tm";
++      @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)/platform1.0/platform.tcl";
++      @$(INSTALL_DATA) $(TOP_DIR)/library/platform/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)/platform1.0/pkgIndex.tcl";
        @echo "Installing package platform::shell 1.1.4 as a Tcl Module";
-       @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform/shell-1.1.4.tm;
-+      @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)"/shell1.1/shell.tcl
-+      @$(INSTALL_DATA) $(TOP_DIR)/library/platform/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)"/shell1.1/pkgIndex.tcl
+       @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(MODULE_INSTALL_DIR)/8.4/platform/shell-1.1.4.tm";
++      @$(INSTALL_DATA) $(TOP_DIR)/library/platform/shell.tcl "$(SCRIPT_INSTALL_DIR)/shell1.1/shell.tcl";
++      @$(INSTALL_DATA) $(TOP_DIR)/library/platform/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)/shell1.1/pkgIndex.tcl";
  
        @echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding/";
        @for i in $(TOP_DIR)/library/encoding/*.enc ; do \
-@@ -1038,7 +1064,7 @@ install-doc: doc
+@@ -1044,7 +1070,7 @@ install-doc: doc
        done
  
  install-headers:
@@ -144,7 +135,7 @@ Honour LDFLAGS.
            do \
            if [ ! -d "$$i" ] ; then \
                echo "Making directory $$i"; \
-@@ -1047,13 +1073,17 @@ install-headers:
+@@ -1053,13 +1079,17 @@ install-headers:
                fi; \
            done;
        @echo "Installing header files to $(INCLUDE_INSTALL_DIR)/";
@@ -168,7 +159,7 @@ Honour LDFLAGS.
            done;
  
  # Optional target to install private headers
-@@ -1811,7 +1841,7 @@ configure-packages:
+@@ -1817,7 +1847,7 @@ configure-packages:
              mkdir -p $(PKG_DIR)/$$pkg; \
              if [ ! -f $(PKG_DIR)/$$pkg/Makefile ]; then \
                ( cd $(PKG_DIR)/$$pkg; \

Index: pkgsrc/lang/tcl/patches/patch-unix_configure
diff -u pkgsrc/lang/tcl/patches/patch-unix_configure:1.12 pkgsrc/lang/tcl/patches/patch-unix_configure:1.13
--- pkgsrc/lang/tcl/patches/patch-unix_configure:1.12   Thu Apr 16 17:07:07 2020
+++ pkgsrc/lang/tcl/patches/patch-unix_configure        Wed Jan 20 20:38:49 2021
@@ -1,8 +1,8 @@
-$NetBSD: patch-unix_configure,v 1.12 2020/04/16 17:07:07 adam Exp $
+$NetBSD: patch-unix_configure,v 1.13 2021/01/20 20:38:49 adam Exp $
 
---- unix/configure.orig        2019-11-21 19:10:50.000000000 +0000
+--- unix/configure.orig        2020-12-31 01:31:43.000000000 +0000
 +++ unix/configure
-@@ -6778,12 +6778,12 @@ fi
+@@ -6771,12 +6771,12 @@ fi
            LD_SEARCH_FLAGS=""
            ;;
        BSD/OS-4.*)
@@ -17,7 +17,7 @@ $NetBSD: patch-unix_configure,v 1.12 202
            CC_SEARCH_FLAGS=""
            LD_SEARCH_FLAGS=""
            ;;
-@@ -7454,7 +7454,7 @@ fi
+@@ -7447,7 +7447,7 @@ fi
            CC_SEARCH_FLAGS=""
            LD_SEARCH_FLAGS=""
            ;;
@@ -26,7 +26,7 @@ $NetBSD: patch-unix_configure,v 1.12 202
            arch=`arch -s`
            case "$arch" in
            alpha|sparc64)
-@@ -7475,7 +7475,7 @@ fi
+@@ -7468,7 +7468,7 @@ fi
  
            LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
            SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
@@ -35,7 +35,7 @@ $NetBSD: patch-unix_configure,v 1.12 202
            CFLAGS_OPTIMIZE="-O2"
            if test "${TCL_THREADS}" = "1"; then
  
-@@ -7497,7 +7497,7 @@ fi
+@@ -7490,7 +7490,7 @@ fi
            SHLIB_SUFFIX=".so"
            DL_OBJS="tclLoadDl.o"
            DL_LIBS=""
@@ -43,8 +43,8 @@ $NetBSD: patch-unix_configure,v 1.12 202
 +          LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
            if test $doRpath = yes; then
  
-               CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
-@@ -7548,7 +7548,6 @@ fi
+               CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
+@@ -7540,7 +7540,6 @@ fi
            esac
            ;;
        Darwin-*)
@@ -52,7 +52,7 @@ $NetBSD: patch-unix_configure,v 1.12 202
            SHLIB_CFLAGS="-fno-common"
            # To avoid discrepancies between what headers configure sees during
            # preprocessing tests and compiling tests, move any -isysroot and
-@@ -8757,7 +8756,11 @@ fi
+@@ -8750,7 +8749,11 @@ fi
  
  else
  
@@ -65,7 +65,7 @@ $NetBSD: patch-unix_configure,v 1.12 202
  
  fi
  
-@@ -8792,7 +8795,7 @@ else
+@@ -8785,7 +8788,7 @@ else
  
  fi
  
@@ -74,7 +74,7 @@ $NetBSD: patch-unix_configure,v 1.12 202
  
      # Define TCL_LIBS now that we know what DL_LIBS is.
      # The trick here is that we don't want to change the value of TCL_LIBS if
-@@ -18700,9 +18703,9 @@ fi
+@@ -18697,9 +18700,9 @@ fi
  #     building libtcl as a shared library instead of a static library.
  #--------------------------------------------------------------------
  
@@ -87,7 +87,7 @@ $NetBSD: patch-unix_configure,v 1.12 202
  
  # tclConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed
  # since on some platforms TCL_LIB_FILE contains shell escapes.
-@@ -18815,13 +18818,10 @@ else
+@@ -18812,13 +18815,10 @@ else
      eval libdir="$libdir"
      # default install directory for bundled packages
      PACKAGE_DIR="$libdir"
@@ -104,21 +104,21 @@ $NetBSD: patch-unix_configure,v 1.12 202
  fi
  VERSION='${VERSION}'
  eval "CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}"
-@@ -18840,10 +18840,8 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
+@@ -18837,10 +18837,8 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
        TCL_PACKAGE_PATH="~/Library/Tcl /Library/Tcl ~/Library/Frameworks /Library/Frameworks"
      test -z "$TCL_MODULE_PATH"  && \
        TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl"
 -elif test "$prefix/lib" != "$libdir"; then
--    test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"
+-    test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="{${libdir}} {${prefix}/lib} ${TCL_PACKAGE_PATH}"
  else
--    test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}"
+-    test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="{${prefix}/lib} ${TCL_PACKAGE_PATH}"
 +    test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${prefix}/lib/tcl ${prefix}/lib"
  fi
  
  #--------------------------------------------------------------------
-@@ -18858,12 +18856,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_
+@@ -18855,12 +18853,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_
  eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
- eval "TCL_STUB_LIB_DIR=${libdir}"
+ eval "TCL_STUB_LIB_DIR=\"${libdir}\""
  
 -if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
 -    TCL_STUB_LIB_FLAG="-ltclstub${TCL_VERSION}"
@@ -130,7 +130,7 @@ $NetBSD: patch-unix_configure,v 1.12 202
  TCL_BUILD_STUB_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}"
  TCL_STUB_LIB_SPEC="-L${TCL_STUB_LIB_DIR} ${TCL_STUB_LIB_FLAG}"
  TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
-@@ -19017,34 +19010,15 @@ fi
+@@ -19014,34 +19007,15 @@ fi
  # Transform confdefs.h into DEFS.
  # Protect against shell expansion while executing Makefile rules.
  # Protect against Makefile macro expansion.
@@ -174,7 +174,7 @@ $NetBSD: patch-unix_configure,v 1.12 202
  
  
  
-@@ -19672,6 +19646,7 @@ s,@EXTRA_BUILD_HTML@,$EXTRA_BUILD_HTML,;
+@@ -19669,6 +19643,7 @@ s,@EXTRA_BUILD_HTML@,$EXTRA_BUILD_HTML,;
  s,@EXTRA_TCLSH_LIBS@,$EXTRA_TCLSH_LIBS,;t t
  s,@DLTEST_LD@,$DLTEST_LD,;t t
  s,@DLTEST_SUFFIX@,$DLTEST_SUFFIX,;t t

Index: pkgsrc/lang/tcl/patches/patch-unix_tclUnixCompat.c
diff -u pkgsrc/lang/tcl/patches/patch-unix_tclUnixCompat.c:1.1 pkgsrc/lang/tcl/patches/patch-unix_tclUnixCompat.c:1.2
--- pkgsrc/lang/tcl/patches/patch-unix_tclUnixCompat.c:1.1      Sat Dec 29 13:49:12 2012
+++ pkgsrc/lang/tcl/patches/patch-unix_tclUnixCompat.c  Wed Jan 20 20:38:49 2021
@@ -1,9 +1,9 @@
-$NetBSD: patch-unix_tclUnixCompat.c,v 1.1 2012/12/29 13:49:12 bsiegert Exp $
+$NetBSD: patch-unix_tclUnixCompat.c,v 1.2 2021/01/20 20:38:49 adam Exp $
 
 This is needed on MirBSD, which does not have the required sysconf
 constants.
 
---- unix/tclUnixCompat.c.orig  Thu Dec 13 16:53:10 2012
+--- unix/tclUnixCompat.c.orig  2020-12-11 17:46:23.000000000 +0000
 +++ unix/tclUnixCompat.c
 @@ -197,10 +197,14 @@ TclpGetPwNam(
       */
@@ -17,7 +17,7 @@ constants.
 +#ifdef _SC_GETPW_R_SIZE_MAX
        }
 +#endif
-       tsdPtr->pbuf = ckalloc(tsdPtr->pbuflen);
+       tsdPtr->pbuf = (char *)ckalloc(tsdPtr->pbuflen);
        Tcl_CreateThreadExitHandler(FreePwBuf, NULL);
      }
 @@ -277,10 +281,14 @@ TclpGetPwUid(
@@ -32,10 +32,10 @@ constants.
 +#ifdef _SC_GETPW_R_SIZE_MAX
        }
 +#endif
-       tsdPtr->pbuf = ckalloc(tsdPtr->pbuflen);
+       tsdPtr->pbuf = (char *)ckalloc(tsdPtr->pbuflen);
        Tcl_CreateThreadExitHandler(FreePwBuf, NULL);
      }
-@@ -380,10 +388,14 @@ TclpGetGrNam(
+@@ -381,10 +389,14 @@ TclpGetGrNam(
       */
  
      if (tsdPtr->gbuf == NULL) {
@@ -47,10 +47,10 @@ constants.
 +#ifdef _SC_GETGR_R_SIZE_MAX
        }
 +#endif
-       tsdPtr->gbuf = ckalloc(tsdPtr->gbuflen);
+       tsdPtr->gbuf = (char *)ckalloc(tsdPtr->gbuflen);
        Tcl_CreateThreadExitHandler(FreeGrBuf, NULL);
      }
-@@ -460,10 +472,14 @@ TclpGetGrGid(
+@@ -461,10 +473,14 @@ TclpGetGrGid(
       */
  
      if (tsdPtr->gbuf == NULL) {
@@ -62,6 +62,6 @@ constants.
 +#ifdef _SC_GETGR_R_SIZE_MAX
        }
 +#endif
-       tsdPtr->gbuf = ckalloc(tsdPtr->gbuflen);
+       tsdPtr->gbuf = (char *)ckalloc(tsdPtr->gbuflen);
        Tcl_CreateThreadExitHandler(FreeGrBuf, NULL);
      }

Index: pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c
diff -u pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c:1.4 pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c:1.5
--- pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c:1.4        Fri Oct 31 21:11:18 2014
+++ pkgsrc/lang/tcl/patches/patch-unix_tclUnixInit.c    Wed Jan 20 20:38:49 2021
@@ -1,8 +1,8 @@
-$NetBSD: patch-unix_tclUnixInit.c,v 1.4 2014/10/31 21:11:18 adam Exp $
+$NetBSD: patch-unix_tclUnixInit.c,v 1.5 2021/01/20 20:38:49 adam Exp $
 
 Carried over from TCL 8.4
 
---- unix/tclUnixInit.c.orig    2014-07-28 14:43:56.000000000 +0000
+--- unix/tclUnixInit.c.orig    2020-12-11 17:46:23.000000000 +0000
 +++ unix/tclUnixInit.c
 @@ -22,7 +22,7 @@
  #    endif
@@ -25,8 +25,8 @@ Carried over from TCL 8.4
 +
  
  #ifdef __CYGWIN__
- DLLIMPORT extern __stdcall unsigned char GetVersionExW(void *);
-@@ -390,7 +396,7 @@ TclpInitPlatform(void)
+ #ifdef __cplusplus
+@@ -394,7 +400,7 @@ TclpInitPlatform(void)
      (void) signal(SIGPIPE, SIG_IGN);
  #endif /* SIGPIPE */
  
@@ -35,7 +35,7 @@ Carried over from TCL 8.4
      /*
       * Adjust the rounding mode to be more conventional. Note that FreeBSD
       * only provides the __fpsetreg() used by the following two for the GNU
-@@ -758,6 +764,11 @@ TclpSetVariables(
+@@ -793,6 +799,11 @@ TclpSetVariables(
  #endif
      int unameOK;
      Tcl_DString ds;
@@ -47,7 +47,7 @@ Carried over from TCL 8.4
  
  #ifdef HAVE_COREFOUNDATION
      char tclLibPath[MAXPATHLEN + 1];
-@@ -938,8 +949,15 @@ TclpSetVariables(
+@@ -951,8 +962,15 @@ TclpSetVariables(
  
  #endif /* DJGPP */
        }

Added files:

Index: pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.1_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.1_configure:1.1
--- /dev/null   Wed Jan 20 20:38:49 2021
+++ pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.1_configure      Wed Jan 20 20:38:49 2021
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_itcl4.2.1_configure,v 1.1 2021/01/20 20:38:49 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/itcl4.2.1/configure.orig      2020-12-21 21:38:48.000000000 +0000
++++ pkgs/itcl4.2.1/configure
+@@ -6891,20 +6891,18 @@ fi
+ fi
+           LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+           SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+-          LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++          LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+           CFLAGS_OPTIMIZE="-O2"
+           # On OpenBSD:       Compile with -pthread
+           #           Don't link with -lpthread
+           LIBS=`echo $LIBS | sed s/-lpthread//`
+           CFLAGS="$CFLAGS -pthread"
+           # OpenBSD doesn't do version numbers with dots.
+-          UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+-          TCL_LIB_VERSIONS_OK=nodots
+           ;;
+       NetBSD-*)
+           # NetBSD has ELF and can use 'cc -shared' to build shared libs
+           SHLIB_CFLAGS="-fPIC"
+-          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared'
++          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared ${LDFLAGS_DEFAULT}'
+           SHLIB_SUFFIX=".so"
+           LDFLAGS="$LDFLAGS -export-dynamic"
+           if test $doRpath = yes; then :
Index: pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.34.0_Makefile.in
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.34.0_Makefile.in:1.1
--- /dev/null   Wed Jan 20 20:38:49 2021
+++ pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.34.0_Makefile.in Wed Jan 20 20:38:49 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-pkgs_sqlite3.34.0_Makefile.in,v 1.1 2021/01/20 20:38:49 adam Exp $
+
+Fix building with system sqlite3.
+
+--- pkgs/sqlite3.34.0/Makefile.in.orig 2016-01-07 15:38:22.000000000 +0000
++++ pkgs/sqlite3.34.0/Makefile.in
+@@ -150,7 +150,7 @@ SHARED_BUILD       = @SHARED_BUILD@
+ INCLUDES      = @PKG_INCLUDES@ @TCL_INCLUDES@ -I$(srcdir)/..
+ #INCLUDES     = @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@
+ 
+-PKG_CFLAGS    = @PKG_CFLAGS@ -DSQLITE_API=MODULE_SCOPE -DSQLITE_EXTERN=
++PKG_CFLAGS    = @PKG_CFLAGS@
+ 
+ # TCL_DEFS is not strictly need here, but if you remove it, then you
+ # must make sure that configure.in checks for the necessary components
Index: pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.34.0_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.34.0_configure:1.1
--- /dev/null   Wed Jan 20 20:38:49 2021
+++ pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.34.0_configure   Wed Jan 20 20:38:49 2021
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_sqlite3.34.0_configure,v 1.1 2021/01/20 20:38:49 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/sqlite3.34.0/configure.orig   2020-12-21 21:39:05.000000000 +0000
++++ pkgs/sqlite3.34.0/configure
+@@ -6847,20 +6847,18 @@ fi
+ fi
+           LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+           SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+-          LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++          LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+           CFLAGS_OPTIMIZE="-O2"
+           # On OpenBSD:       Compile with -pthread
+           #           Don't link with -lpthread
+           LIBS=`echo $LIBS | sed s/-lpthread//`
+           CFLAGS="$CFLAGS -pthread"
+           # OpenBSD doesn't do version numbers with dots.
+-          UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+-          TCL_LIB_VERSIONS_OK=nodots
+           ;;
+       NetBSD-*)
+           # NetBSD has ELF and can use 'cc -shared' to build shared libs
+           SHLIB_CFLAGS="-fPIC"
+-          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared'
++          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared ${LDFLAGS_DEFAULT}'
+           SHLIB_SUFFIX=".so"
+           LDFLAGS="$LDFLAGS -export-dynamic"
+           if test $doRpath = yes; then :
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.2_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.2_configure:1.1
--- /dev/null   Wed Jan 20 20:38:49 2021
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.2_configure      Wed Jan 20 20:38:49 2021
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbc1.1.2_configure,v 1.1 2021/01/20 20:38:49 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbc1.1.2/configure.orig      2020-12-21 21:39:15.000000000 +0000
++++ pkgs/tdbc1.1.2/configure
+@@ -7005,20 +7005,18 @@ fi
+ fi
+           LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+           SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+-          LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++          LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+           CFLAGS_OPTIMIZE="-O2"
+           # On OpenBSD:       Compile with -pthread
+           #           Don't link with -lpthread
+           LIBS=`echo $LIBS | sed s/-lpthread//`
+           CFLAGS="$CFLAGS -pthread"
+           # OpenBSD doesn't do version numbers with dots.
+-          UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+-          TCL_LIB_VERSIONS_OK=nodots
+           ;;
+       NetBSD-*)
+           # NetBSD has ELF and can use 'cc -shared' to build shared libs
+           SHLIB_CFLAGS="-fPIC"
+-          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared'
++          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared ${LDFLAGS_DEFAULT}'
+           SHLIB_SUFFIX=".so"
+           LDFLAGS="$LDFLAGS -export-dynamic"
+           if test $doRpath = yes; then :
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.2_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.2_configure:1.1
--- /dev/null   Wed Jan 20 20:38:49 2021
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.2_configure Wed Jan 20 20:38:49 2021
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbcmysql1.1.2_configure,v 1.1 2021/01/20 20:38:49 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbcmysql1.1.2/configure.orig 2020-12-21 21:39:26.000000000 +0000
++++ pkgs/tdbcmysql1.1.2/configure
+@@ -7349,20 +7349,18 @@ fi
+ fi
+           LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+           SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+-          LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++          LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+           CFLAGS_OPTIMIZE="-O2"
+           # On OpenBSD:       Compile with -pthread
+           #           Don't link with -lpthread
+           LIBS=`echo $LIBS | sed s/-lpthread//`
+           CFLAGS="$CFLAGS -pthread"
+           # OpenBSD doesn't do version numbers with dots.
+-          UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+-          TCL_LIB_VERSIONS_OK=nodots
+           ;;
+       NetBSD-*)
+           # NetBSD has ELF and can use 'cc -shared' to build shared libs
+           SHLIB_CFLAGS="-fPIC"
+-          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared'
++          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared ${LDFLAGS_DEFAULT}'
+           SHLIB_SUFFIX=".so"
+           LDFLAGS="$LDFLAGS -export-dynamic"
+           if test $doRpath = yes; then :
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.2_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.2_configure:1.1
--- /dev/null   Wed Jan 20 20:38:49 2021
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.2_configure  Wed Jan 20 20:38:49 2021
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbcodbc1.1.2_configure,v 1.1 2021/01/20 20:38:49 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbcodbc1.1.2/configure.orig  2020-12-21 21:39:39.000000000 +0000
++++ pkgs/tdbcodbc1.1.2/configure
+@@ -7349,20 +7349,18 @@ fi
+ fi
+           LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+           SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+-          LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++          LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+           CFLAGS_OPTIMIZE="-O2"
+           # On OpenBSD:       Compile with -pthread
+           #           Don't link with -lpthread
+           LIBS=`echo $LIBS | sed s/-lpthread//`
+           CFLAGS="$CFLAGS -pthread"
+           # OpenBSD doesn't do version numbers with dots.
+-          UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+-          TCL_LIB_VERSIONS_OK=nodots
+           ;;
+       NetBSD-*)
+           # NetBSD has ELF and can use 'cc -shared' to build shared libs
+           SHLIB_CFLAGS="-fPIC"
+-          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared'
++          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared ${LDFLAGS_DEFAULT}'
+           SHLIB_SUFFIX=".so"
+           LDFLAGS="$LDFLAGS -export-dynamic"
+           if test $doRpath = yes; then :
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.2_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.2_configure:1.1
--- /dev/null   Wed Jan 20 20:38:49 2021
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.2_configure      Wed Jan 20 20:38:49 2021
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbcpostgres1.1.2_configure,v 1.1 2021/01/20 20:38:49 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbcpostgres1.1.2/configure.orig      2020-12-21 21:39:49.000000000 +0000
++++ pkgs/tdbcpostgres1.1.2/configure
+@@ -7349,20 +7349,18 @@ fi
+ fi
+           LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+           SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+-          LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++          LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+           CFLAGS_OPTIMIZE="-O2"
+           # On OpenBSD:       Compile with -pthread
+           #           Don't link with -lpthread
+           LIBS=`echo $LIBS | sed s/-lpthread//`
+           CFLAGS="$CFLAGS -pthread"
+           # OpenBSD doesn't do version numbers with dots.
+-          UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+-          TCL_LIB_VERSIONS_OK=nodots
+           ;;
+       NetBSD-*)
+           # NetBSD has ELF and can use 'cc -shared' to build shared libs
+           SHLIB_CFLAGS="-fPIC"
+-          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared'
++          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared ${LDFLAGS_DEFAULT}'
+           SHLIB_SUFFIX=".so"
+           LDFLAGS="$LDFLAGS -export-dynamic"
+           if test $doRpath = yes; then :
Index: pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.6_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.6_configure:1.1
--- /dev/null   Wed Jan 20 20:38:49 2021
+++ pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.6_configure    Wed Jan 20 20:38:49 2021
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_thread2.8.6_configure,v 1.1 2021/01/20 20:38:49 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/thread2.8.6/configure.orig    2020-12-21 21:41:03.000000000 +0000
++++ pkgs/thread2.8.6/configure
+@@ -7451,20 +7451,18 @@ then :
+ fi
+           LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+           SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
+-          LDFLAGS="$LDFLAGS -Wl,-export-dynamic"
++          LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+           CFLAGS_OPTIMIZE="-O2"
+           # On OpenBSD:       Compile with -pthread
+           #           Don't link with -lpthread
+           LIBS=`echo $LIBS | sed s/-lpthread//`
+           CFLAGS="$CFLAGS -pthread"
+           # OpenBSD doesn't do version numbers with dots.
+-          UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a'
+-          TCL_LIB_VERSIONS_OK=nodots
+           ;;
+       NetBSD-*)
+           # NetBSD has ELF and can use 'cc -shared' to build shared libs
+           SHLIB_CFLAGS="-fPIC"
+-          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared'
++          SHLIB_LD='${CC} ${SHLIB_CFLAGS} -shared ${LDFLAGS_DEFAULT}'
+           SHLIB_SUFFIX=".so"
+           LDFLAGS="$LDFLAGS -export-dynamic"
+           if test $doRpath = yes



Home | Main Index | Thread Index | Old Index