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:           Mon Jun 26 15:51:56 UTC 2023

Modified Files:
        pkgsrc/lang/tcl: Makefile Makefile.version PLIST buildlink3.mk distinfo
        pkgsrc/lang/tcl/patches: patch-unix_Makefile.in patch-unix_configure
Added Files:
        pkgsrc/lang/tcl/patches: patch-pkgs_itcl4.2.3_configure
            patch-pkgs_sqlite3.40.0_Makefile.in
            patch-pkgs_sqlite3.40.0_configure patch-pkgs_tdbc1.1.5_configure
            patch-pkgs_tdbcmysql1.1.5_configure
            patch-pkgs_tdbcodbc1.1.5_configure
            patch-pkgs_tdbcpostgres1.1.5_configure
            patch-pkgs_thread2.8.8_configure
Removed Files:
        pkgsrc/lang/tcl/patches: patch-pkgs_itcl4.2.2_configure
            patch-pkgs_sqlite3.36.0_Makefile.in
            patch-pkgs_sqlite3.36.0_configure patch-pkgs_tdbc1.1.3_configure
            patch-pkgs_tdbcmysql1.1.3_configure
            patch-pkgs_tdbcodbc1.1.3_configure
            patch-pkgs_tdbcpostgres1.1.3_configure
            patch-pkgs_thread2.8.7_configure

Log Message:
tcl: updated to 8.6.13

8.6.13
2021-12-08 (update) tcltest package to version 2.5.4
2022-01-13 (bug)[26f132] Crash when sizeof(int) < sizeof(void *) (Plan 9 port)
2022-01-19 (TIP 623)[e9a271] Tcl_GetRange index args < 0 (petasis,nijtmans)
2022-03-08 (bug) test string-5.22 (porter)
2022-03-11 (bug)[8a7ec8] fat binary compile on Mac M1 (davis, nijtmans)
2022-04-04 (bug)[e5ed1b] numeric IPv6 in URLs (nijtmans)
=> http 2.9.6
2022-04-26 (bug)[27520c] test error-9.6 (goth,sebres)
2022-05-04 (bug)[8eb64b] http package tolerant again invalid reply header
2022-05-11 (bug)[6898f9] http package failed detection of shiftjis charset
2022-05-25 (bug)[76ad7a] tests string-6.13[23] (mistachkin, nijtmans)
2022-06-20 (bug)[55bf73] Avoid connection reuse after response code 101.
=> http 2.9.8
2022-07-22 (bug)[713653] FP rounding exposed by x86 musl (rubicon,sebres)
2022-07-22 More portable notation of microseconds in verbose output (sebres)
=> tcltest 2.5.5
2022-07-27 (bug)[b3977d] Process CR-LF split across packets (nadkarni,sebres)
2022-07-29 (bug)[4eb3a1] crash due to undetected bytecode invalidity (nadkarni)
2022-08-23 (new)[371080] Portability to CHERI-enabled Morello processor (jrtc27)
2022-09-06 (bug)[55a02f] Fallback init env(HOME) from USERPROFILE (nadkarni)
2022-09-13 (bug)[1073da] crash writing invalid utf-8 (nijtmans)
2022-09-14 (new) Update to Unicode-15 (nijtmans)
2022-10-14 tzdata updated to Olson's tzdata2022e (nijtmans)
Update bundled zlib to 1.2.13
Update bundled libtommath
Many code fixes to avoid overflow or undefined behavior.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 pkgsrc/lang/tcl/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/lang/tcl/Makefile.version
cvs rdiff -u -r1.30 -r1.31 pkgsrc/lang/tcl/PLIST
cvs rdiff -u -r1.33 -r1.34 pkgsrc/lang/tcl/buildlink3.mk
cvs rdiff -u -r1.83 -r1.84 pkgsrc/lang/tcl/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.2_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.36.0_Makefile.in \
    pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.36.0_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.3_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.3_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.3_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.3_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.7_configure
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.3_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.40.0_Makefile.in \
    pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.40.0_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.5_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.5_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.5_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.5_configure \
    pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.8_configure
cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/tcl/patches/patch-unix_Makefile.in
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/tcl/patches/patch-unix_configure

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.122 pkgsrc/lang/tcl/Makefile:1.123
--- pkgsrc/lang/tcl/Makefile:1.122      Wed Apr 19 08:10:36 2023
+++ pkgsrc/lang/tcl/Makefile    Mon Jun 26 15:51:55 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.122 2023/04/19 08:10:36 adam Exp $
+# $NetBSD: Makefile,v 1.123 2023/06/26 15:51:55 adam Exp $
 
 DISTNAME=      tcl${TCL_VERSION}-src
 PKGNAME=       tcl-${TCL_VERSION}
-PKGREVISION=   5
 CATEGORIES=    lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=tcl/}
 
@@ -35,7 +34,7 @@ TEST_TARGET=          test
 .include "options.mk"
 
 # This is needed for SGI and maybe sun (according to tcl developers)
-.if defined(ABI) && ${ABI} == "64" && empty(MACHINE_PLATFORM:MDarwin-*-aarch64)
+.if defined(ABI) && ${ABI} == "64" && !${MACHINE_PLATFORM:MDarwin-*-aarch64}
 CONFIGURE_ARGS+=       --enable-64bit
 .endif
 

Index: pkgsrc/lang/tcl/Makefile.version
diff -u pkgsrc/lang/tcl/Makefile.version:1.28 pkgsrc/lang/tcl/Makefile.version:1.29
--- pkgsrc/lang/tcl/Makefile.version:1.28       Tue Nov 16 16:24:39 2021
+++ pkgsrc/lang/tcl/Makefile.version    Mon Jun 26 15:51:55 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.version,v 1.28 2021/11/16 16:24:39 adam Exp $
+# $NetBSD: Makefile.version,v 1.29 2023/06/26 15:51:55 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.12
+TCL_VERSION=   8.6.13
 
 # Update bundled versions in lang/tcl/buildlink3.mk
-ITCL_VERSION=          4.2.2
-SQLITE3_VERSION=       3.36.0
-TDBC_VERSION=          1.1.3
-THREAD_VERSION=                2.8.7
+ITCL_VERSION=          4.2.3
+SQLITE3_VERSION=       3.40.0
+TDBC_VERSION=          1.1.5
+THREAD_VERSION=                2.8.8

Index: pkgsrc/lang/tcl/PLIST
diff -u pkgsrc/lang/tcl/PLIST:1.30 pkgsrc/lang/tcl/PLIST:1.31
--- pkgsrc/lang/tcl/PLIST:1.30  Thu Jun 23 09:07:01 2022
+++ pkgsrc/lang/tcl/PLIST       Mon Jun 26 15:51:55 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.30 2022/06/23 09:07:01 thor Exp $
+@comment $NetBSD: PLIST,v 1.31 2023/06/26 15:51:55 adam Exp $
 bin/sqlite3_analyzer
 bin/tclsh
 bin/tclsh${BASEVER}
@@ -44,6 +44,7 @@ include/tcl/generic/tclTomMathInt.h
 include/tcl/generic/tommath.h
 include/tcl/unix/tclUnixPort.h
 include/tcl/unix/tclUnixThrd.h
+include/tcl/unix/tclUuid.h
 include/tclDecls.h
 include/tclOO.h
 include/tclOODecls.h
@@ -149,11 +150,9 @@ lib/tcl${BASEVER}/encoding/shiftjis.enc
 lib/tcl${BASEVER}/encoding/symbol.enc
 lib/tcl${BASEVER}/encoding/tis-620.enc
 lib/tcl${BASEVER}/history.tcl
-lib/tcl8/8.6/http-2.9.5.tm
 lib/tcl${BASEVER}/http1.0/http.tcl
 lib/tcl${BASEVER}/http1.0/pkgIndex.tcl
 lib/tcl${BASEVER}/init.tcl
-lib/tcl8/8.5/msgcat-1.6.1.tm
 lib/tcl${BASEVER}/msgs/af.msg
 lib/tcl${BASEVER}/msgs/af_za.msg
 lib/tcl${BASEVER}/msgs/ar.msg
@@ -285,15 +284,17 @@ lib/tcl${BASEVER}/opt0.4/optparse.tcl
 lib/tcl${BASEVER}/opt0.4/pkgIndex.tcl
 lib/tcl${BASEVER}/package.tcl
 lib/tcl${BASEVER}/parray.tcl
-lib/tcl8/8.4/platform-1.0.18.tm
-lib/tcl8/8.4/platform/shell-1.1.4.tm
 lib/tcl${BASEVER}/safe.tcl
 lib/tcl${BASEVER}/tclAppInit.c
 lib/tcl${BASEVER}/tclIndex
-lib/tcl8/8.5/tcltest-2.5.3.tm
 lib/tcl${BASEVER}/tm.tcl
 lib/tcl${BASEVER}/word.tcl
 lib/tcl8/${BASEVER}/tdbc/sqlite3-${TDBC_VERSION}.tm
+lib/tcl8/8.4/platform-1.0.19.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.5.tm
+lib/tcl8/8.6/http-2.9.8.tm
 lib/tclConfig.sh
 lib/tclooConfig.sh
 lib/tdbc${TDBC_VERSION}/libtdbc${TDBC_VERSION}.so

Index: pkgsrc/lang/tcl/buildlink3.mk
diff -u pkgsrc/lang/tcl/buildlink3.mk:1.33 pkgsrc/lang/tcl/buildlink3.mk:1.34
--- pkgsrc/lang/tcl/buildlink3.mk:1.33  Tue Nov 16 16:24:39 2021
+++ pkgsrc/lang/tcl/buildlink3.mk       Mon Jun 26 15:51:55 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.33 2021/11/16 16:24:39 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.34 2023/06/26 15:51:55 adam Exp $
 
 BUILDLINK_TREE+=       tcl
 
@@ -22,8 +22,8 @@ _TOOLS_USE_PKGSRC.tclsh=      yes
 TCLCONFIG_SH?=         ${BUILDLINK_PREFIX.tcl}/lib/tclConfig.sh
 TCLSH=                 ${BUILDLINK_PREFIX.tcl}/bin/tclsh
 # Bundled library
-ITCL_VERSION=          4.2.2
-TDBC_VERSION=          1.1.3
+ITCL_VERSION=          4.2.3
+TDBC_VERSION=          1.1.5
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"

Index: pkgsrc/lang/tcl/distinfo
diff -u pkgsrc/lang/tcl/distinfo:1.83 pkgsrc/lang/tcl/distinfo:1.84
--- pkgsrc/lang/tcl/distinfo:1.83       Thu Jun 23 09:07:01 2022
+++ pkgsrc/lang/tcl/distinfo    Mon Jun 26 15:51:55 2023
@@ -1,23 +1,23 @@
-$NetBSD: distinfo,v 1.83 2022/06/23 09:07:01 thor Exp $
+$NetBSD: distinfo,v 1.84 2023/06/26 15:51:55 adam Exp $
 
-BLAKE2s (tcl8.6.12-src.tar.gz) = 1a0cbb0fcc1914b43f8b10cc0127fd3e86ae62f4bb449171664ade5621579461
-SHA512 (tcl8.6.12-src.tar.gz) = 15def824484309fff6831b436e33d91ab1c6b095178f427d1f58b9a04e5e676b18dfdf1d225c6ab9ec15dc233358c40789edc7daf91c5908a1837e9f337feb60
-Size (tcl8.6.12-src.tar.gz) = 10353486 bytes
+BLAKE2s (tcl8.6.13-src.tar.gz) = 7cba7a25e96277e42ae213d2bfb7cbd5e8d30cfdb269a70044652fd9e2ac581c
+SHA512 (tcl8.6.13-src.tar.gz) = b597f6b62fd71457e96445401a4f8aa662c2678de8a52127c60b0abddebf1fd4452ba5364420902a15b263c0118fc91167550fd1ad2d24fa4ab2204e372c027e
+Size (tcl8.6.13-src.tar.gz) = 10834396 bytes
 SHA1 (patch-generic_tclInt.h) = f41a50e6461d0afacd1c8656944403e438ea6baf
 SHA1 (patch-generic_tclPort.h) = 36ff05b22591d588952e55d0f13c2ef52e371d1e
 SHA1 (patch-generic_tclPosixStr.c) = 68da211865282fe7124cad71381658f8dfb986d6
-SHA1 (patch-pkgs_itcl4.2.2_configure) = 0d3f3004e5ca4fd94d69efc2753b06626f9cd130
-SHA1 (patch-pkgs_sqlite3.36.0_Makefile.in) = d86f3b78e36be6fe3247c16df3f451aaa3117cba
-SHA1 (patch-pkgs_sqlite3.36.0_configure) = 9133647d4e665d050cf89e30f92e1e700019ee1e
-SHA1 (patch-pkgs_tdbc1.1.3_configure) = e58338a2df7278a738bd41840a5f57247189c285
-SHA1 (patch-pkgs_tdbcmysql1.1.3_configure) = 2c131c54bb204c256e30b19724fcc6aefb076a40
-SHA1 (patch-pkgs_tdbcodbc1.1.3_configure) = 0dd5b4fa1e536415a7fe8c330d83e83348c93b2f
-SHA1 (patch-pkgs_tdbcpostgres1.1.3_configure) = afc07b976b31b0ca1982e1dc908f10eb19857405
-SHA1 (patch-pkgs_thread2.8.7_configure) = 972e926b03505bc4d4f354f7e170e9fdbf84d478
+SHA1 (patch-pkgs_itcl4.2.3_configure) = 46a080a0b3cd42ec7faa67447a728815cfd35089
+SHA1 (patch-pkgs_sqlite3.40.0_Makefile.in) = f6ffdab9bb189a4a8b26c98cf03136144a579210
+SHA1 (patch-pkgs_sqlite3.40.0_configure) = efa3ba5628ebfeb4daa1ebc8b0313dcace929b0f
+SHA1 (patch-pkgs_tdbc1.1.5_configure) = b99d44d791556b4dfde18856b2a8f106229d7d34
+SHA1 (patch-pkgs_tdbcmysql1.1.5_configure) = 1ac475d2be147dfe051d7cc9941d1dccd86ff6d2
+SHA1 (patch-pkgs_tdbcodbc1.1.5_configure) = 7709ceb8b44757f47388775f4263725417538978
+SHA1 (patch-pkgs_tdbcpostgres1.1.5_configure) = 30cca28bfc8f8a3c1fb5f148b31f27752a042696
+SHA1 (patch-pkgs_thread2.8.8_configure) = 69e75953737c31913d1c342f106385c62d9878f3
 SHA1 (patch-tests_load.test) = 438695ab76e01646e49aadc01c44344a5495eabb
 SHA1 (patch-tests_pkgMkIndex.test) = 70d1042c1f4743052c5fa191fa7c4732a08e28a2
-SHA1 (patch-unix_Makefile.in) = 7ba89b10a11010772e9c52094bc4a7f004c612a4
-SHA1 (patch-unix_configure) = 2f3fae506031092cd5934b41b81c62e3d52e8576
+SHA1 (patch-unix_Makefile.in) = e6ecbc7db3934ef4d7f0f24dd52c88ca0873289e
+SHA1 (patch-unix_configure) = e84bfa9a182756431e996b4ce725aa0667ef4664
 SHA1 (patch-unix_tclConfig.sh.in) = 341ac4f1bbfb29551dea87ade98b3b7b59652a31
 SHA1 (patch-unix_tclUnixCompat.c) = c5c124b5ccd240cbd34a83fd165c3dea208381cd
 SHA1 (patch-unix_tclUnixFCmd.c) = e715d9419a36a8414355252bb3da0ef48b07fe4f

Index: pkgsrc/lang/tcl/patches/patch-unix_Makefile.in
diff -u pkgsrc/lang/tcl/patches/patch-unix_Makefile.in:1.19 pkgsrc/lang/tcl/patches/patch-unix_Makefile.in:1.20
--- pkgsrc/lang/tcl/patches/patch-unix_Makefile.in:1.19 Thu Jun 23 09:07:01 2022
+++ pkgsrc/lang/tcl/patches/patch-unix_Makefile.in      Mon Jun 26 15:51:56 2023
@@ -1,8 +1,8 @@
-$NetBSD: patch-unix_Makefile.in,v 1.19 2022/06/23 09:07:01 thor Exp $
+$NetBSD: patch-unix_Makefile.in,v 1.20 2023/06/26 15:51:56 adam Exp $
 
 Honour LDFLAGS.
 
---- unix/Makefile.in.orig      2021-10-29 17:08:08.000000000 +0000
+--- unix/Makefile.in.orig      2022-10-28 15:19:48.000000000 +0000
 +++ unix/Makefile.in
 @@ -8,6 +8,7 @@ VERSION                = @TCL_VERSION@
  MAJOR_VERSION         = @TCL_MAJOR_VERSION@
@@ -56,7 +56,7 @@ Honour LDFLAGS.
  #TCL_LIB_FILE         = libtcl.a
  
  # Generic lib name used in rules that apply to tcl and tk
-@@ -711,7 +715,7 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $
+@@ -715,7 +719,7 @@ SRCS = $(GENERIC_SRCS) $(UNIX_SRCS) $(NO
  
  all: binaries libraries doc packages
  
@@ -65,7 +65,7 @@ Honour LDFLAGS.
  
  libraries:
  
-@@ -730,6 +734,11 @@ ${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
+@@ -734,6 +738,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
+@@ -900,9 +909,16 @@ install-binaries: binaries
        done
        @echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
        @@INSTALL_LIB@
@@ -95,7 +95,7 @@ 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)/"
-@@ -1039,20 +1064,24 @@ install-doc: doc
+@@ -1044,20 +1060,24 @@ install-doc: doc
        done
  
  install-headers:
@@ -127,7 +127,7 @@ Honour LDFLAGS.
        done
  
  # Optional target to install private headers
-@@ -1810,7 +1839,7 @@ configure-packages:
+@@ -1814,7 +1834,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.14 pkgsrc/lang/tcl/patches/patch-unix_configure:1.15
--- pkgsrc/lang/tcl/patches/patch-unix_configure:1.14   Tue Nov 16 16:24:40 2021
+++ pkgsrc/lang/tcl/patches/patch-unix_configure        Mon Jun 26 15:51:56 2023
@@ -1,8 +1,8 @@
-$NetBSD: patch-unix_configure,v 1.14 2021/11/16 16:24:40 adam Exp $
+$NetBSD: patch-unix_configure,v 1.15 2023/06/26 15:51:56 adam Exp $
 
---- unix/configure.orig        2021-11-04 15:04:06.000000000 +0000
+--- unix/configure.orig        2022-06-06 16:00:23.000000000 +0000
 +++ unix/configure
-@@ -6772,12 +6772,12 @@ fi
+@@ -6771,12 +6771,12 @@ fi
            LD_SEARCH_FLAGS=""
            ;;
        BSD/OS-4.*)
@@ -17,7 +17,7 @@ $NetBSD: patch-unix_configure,v 1.14 202
            CC_SEARCH_FLAGS=""
            LD_SEARCH_FLAGS=""
            ;;
-@@ -7462,7 +7462,7 @@ fi
+@@ -7461,7 +7461,7 @@ fi
            CC_SEARCH_FLAGS=""
            LD_SEARCH_FLAGS=""
            ;;
@@ -26,7 +26,7 @@ $NetBSD: patch-unix_configure,v 1.14 202
            arch=`arch -s`
            case "$arch" in
            alpha|sparc64)
-@@ -7483,7 +7483,7 @@ fi
+@@ -7482,7 +7482,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.14 202
            CFLAGS_OPTIMIZE="-O2"
            if test "${TCL_THREADS}" = "1"; then
  
-@@ -7505,7 +7505,7 @@ fi
+@@ -7504,7 +7504,7 @@ fi
            SHLIB_SUFFIX=".so"
            DL_OBJS="tclLoadDl.o"
            DL_LIBS=""
@@ -44,15 +44,15 @@ $NetBSD: patch-unix_configure,v 1.14 202
            if test $doRpath = yes; then
  
                CC_SEARCH_FLAGS='"-Wl,-rpath,${LIB_RUNTIME_DIR}"'
-@@ -7523,7 +7523,6 @@ fi
+@@ -7522,7 +7522,6 @@ fi
  
            ;;
        Darwin-*)
--          CFLAGS_OPTIMIZE="-Os"
+-          CFLAGS_OPTIMIZE="-O2"
            SHLIB_CFLAGS="-fno-common"
            # To avoid discrepancies between what headers configure sees during
            # preprocessing tests and compiling tests, move any -isysroot and
-@@ -8735,7 +8734,11 @@ fi
+@@ -8800,7 +8799,11 @@ fi
  
  else
  
@@ -65,7 +65,7 @@ $NetBSD: patch-unix_configure,v 1.14 202
  
  fi
  
-@@ -8770,7 +8773,7 @@ else
+@@ -8835,7 +8838,7 @@ else
  
  fi
  
@@ -74,7 +74,7 @@ $NetBSD: patch-unix_configure,v 1.14 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
-@@ -18744,9 +18747,9 @@ fi
+@@ -18811,9 +18814,9 @@ fi
  #     building libtcl as a shared library instead of a static library.
  #--------------------------------------------------------------------
  
@@ -87,7 +87,7 @@ $NetBSD: patch-unix_configure,v 1.14 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.
-@@ -18859,13 +18862,10 @@ else
+@@ -18926,13 +18929,10 @@ else
      eval libdir="$libdir"
      # default install directory for bundled packages
      PACKAGE_DIR="$libdir"
@@ -104,7 +104,7 @@ $NetBSD: patch-unix_configure,v 1.14 202
  fi
  VERSION='${VERSION}'
  eval "CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}"
-@@ -18884,10 +18884,8 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
+@@ -18951,10 +18951,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"
@@ -116,7 +116,7 @@ $NetBSD: patch-unix_configure,v 1.14 202
  fi
  
  #--------------------------------------------------------------------
-@@ -18902,12 +18900,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_
+@@ -18969,12 +18967,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_
  eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
  eval "TCL_STUB_LIB_DIR=\"${libdir}\""
  
@@ -130,7 +130,7 @@ $NetBSD: patch-unix_configure,v 1.14 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}"
-@@ -19061,34 +19054,15 @@ fi
+@@ -19128,34 +19121,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.14 202
  
  
  
-@@ -19718,6 +19692,7 @@ s,@EXTRA_BUILD_HTML@,$EXTRA_BUILD_HTML,;
+@@ -19785,6 +19759,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

Added files:

Index: pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.3_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.3_configure:1.1
--- /dev/null   Mon Jun 26 15:51:56 2023
+++ pkgsrc/lang/tcl/patches/patch-pkgs_itcl4.2.3_configure      Mon Jun 26 15:51:55 2023
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_itcl4.2.3_configure,v 1.1 2023/06/26 15:51:55 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/itcl4.2.3/configure.orig      2021-11-01 01:02:18.000000000 +0000
++++ pkgs/itcl4.2.3/configure
+@@ -7423,20 +7423,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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.40.0_Makefile.in
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.40.0_Makefile.in:1.1
--- /dev/null   Mon Jun 26 15:51:56 2023
+++ pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.40.0_Makefile.in Mon Jun 26 15:51:55 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-pkgs_sqlite3.40.0_Makefile.in,v 1.1 2023/06/26 15:51:55 adam Exp $
+
+Fix building with system sqlite3.
+
+--- pkgs/sqlite3.40.0/Makefile.in.orig 2022-11-18 18:49:30.000000000 +0000
++++ pkgs/sqlite3.40.0/Makefile.in
+@@ -155,7 +155,7 @@ SHARED_BUILD       = @SHARED_BUILD@
+ INCLUDES      = @PKG_INCLUDES@ @TCL_INCLUDES@ -I. -I$(srcdir)/..
+ #INCLUDES     = @PKG_INCLUDES@ @TCL_INCLUDES@ @TK_INCLUDES@ @TK_XINCLUDES@
+ 
+-PKG_CFLAGS    = @PKG_CFLAGS@ -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.ac checks for the necessary components
Index: pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.40.0_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.40.0_configure:1.1
--- /dev/null   Mon Jun 26 15:51:56 2023
+++ pkgsrc/lang/tcl/patches/patch-pkgs_sqlite3.40.0_configure   Mon Jun 26 15:51:55 2023
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_sqlite3.40.0_configure,v 1.1 2023/06/26 15:51:55 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/sqlite3.40.0/configure.orig   2021-09-12 22:15:31.000000000 +0000
++++ pkgs/sqlite3.40.0/configure
+@@ -7387,20 +7387,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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.5_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.5_configure:1.1
--- /dev/null   Mon Jun 26 15:51:56 2023
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbc1.1.5_configure      Mon Jun 26 15:51:55 2023
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbc1.1.5_configure,v 1.1 2023/06/26 15:51:55 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbc1.1.5/configure.orig      2021-11-01 00:45:16.000000000 +0000
++++ pkgs/tdbc1.1.5/configure
+@@ -7553,20 +7553,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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.5_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.5_configure:1.1
--- /dev/null   Mon Jun 26 15:51:56 2023
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbcmysql1.1.5_configure Mon Jun 26 15:51:55 2023
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbcmysql1.1.5_configure,v 1.1 2023/06/26 15:51:55 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbcmysql1.1.5/configure.orig 2021-11-01 00:45:35.000000000 +0000
++++ pkgs/tdbcmysql1.1.5/configure
+@@ -7907,20 +7907,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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.5_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.5_configure:1.1
--- /dev/null   Mon Jun 26 15:51:56 2023
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbcodbc1.1.5_configure  Mon Jun 26 15:51:55 2023
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbcodbc1.1.5_configure,v 1.1 2023/06/26 15:51:55 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbcodbc1.1.5/configure.orig  2021-11-01 00:45:43.000000000 +0000
++++ pkgs/tdbcodbc1.1.5/configure
+@@ -7907,20 +7907,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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.5_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.5_configure:1.1
--- /dev/null   Mon Jun 26 15:51:56 2023
+++ pkgsrc/lang/tcl/patches/patch-pkgs_tdbcpostgres1.1.5_configure      Mon Jun 26 15:51:56 2023
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_tdbcpostgres1.1.5_configure,v 1.1 2023/06/26 15:51:56 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/tdbcpostgres1.1.5/configure.orig      2021-11-01 00:45:56.000000000 +0000
++++ pkgs/tdbcpostgres1.1.5/configure
+@@ -7907,20 +7907,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
Index: pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.8_configure
diff -u /dev/null pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.8_configure:1.1
--- /dev/null   Mon Jun 26 15:51:56 2023
+++ pkgsrc/lang/tcl/patches/patch-pkgs_thread2.8.8_configure    Mon Jun 26 15:51:56 2023
@@ -0,0 +1,30 @@
+$NetBSD: patch-pkgs_thread2.8.8_configure,v 1.1 2023/06/26 15:51:56 adam Exp $
+
+Honor LDFLAGS on NetBSD.
+https://core.tcl.tk/tcl/tktview/fed5069f8a8e59e97af0a784b534919f5b789b1e
+
+--- pkgs/thread2.8.8/configure.orig    2022-11-04 13:19:41.000000000 +0000
++++ pkgs/thread2.8.8/configure
+@@ -7461,20 +7461,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