diff options
author | adam <adam@pkgsrc.org> | 2014-10-31 21:11:18 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2014-10-31 21:11:18 +0000 |
commit | f3e1537fba8eddbc57fa6c704a3058792d3418eb (patch) | |
tree | ab2cebeee8f557f5a84bd1bd4697a03664300d0e /lang/tcl | |
parent | 107bcc6528b28c1c64d8fe5d8a5e490ef6183f12 (diff) | |
download | pkgsrc-f3e1537fba8eddbc57fa6c704a3058792d3418eb.tar.gz |
Changes 8.6.2:
This is a bug-fix release.
Diffstat (limited to 'lang/tcl')
31 files changed, 453 insertions, 901 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile index eb635b68ad6..b7e9c16b615 100644 --- a/lang/tcl/Makefile +++ b/lang/tcl/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.77 2014/03/13 11:08:51 jperkin Exp $ +# $NetBSD: Makefile,v 1.78 2014/10/31 21:11:18 adam Exp $ DISTNAME= tcl${TCL_VERSION}-src PKGNAME= tcl-${TCL_VERSION} -PKGREVISION= 3 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/} diff --git a/lang/tcl/Makefile.version b/lang/tcl/Makefile.version index 5d53a10a9c2..9a09e400214 100644 --- a/lang/tcl/Makefile.version +++ b/lang/tcl/Makefile.version @@ -1,5 +1,9 @@ -# $NetBSD: Makefile.version,v 1.13 2014/01/11 14:41:05 adam Exp $ +# $NetBSD: Makefile.version,v 1.14 2014/10/31 21:11:18 adam Exp $ +# used by cad/xcircuit/Makefile +# used by devel/tcl-tclcl/Makefile +# used by lang/tcl/Makefile +# used by lang/tcl-otcl/Makefile TCL_SONUM= 86 TCL_BASEVER= 8.6 -TCL_VERSION= 8.6.1 +TCL_VERSION= 8.6.2 diff --git a/lang/tcl/PLIST b/lang/tcl/PLIST index e0f278de1ff..e6debd88562 100644 --- a/lang/tcl/PLIST +++ b/lang/tcl/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.15 2014/01/11 14:41:05 adam Exp $ +@comment $NetBSD: PLIST,v 1.16 2014/10/31 21:11:18 adam Exp $ bin/tclsh bin/tclsh${BASEVER} include/fakemysql.h @@ -35,6 +35,7 @@ include/tcl/generic/tclParse.h include/tcl/generic/tclPlatDecls.h include/tcl/generic/tclPort.h include/tcl/generic/tclRegexp.h +include/tcl/generic/tclStringTrim.h include/tcl/generic/tclTomMath.h include/tcl/generic/tclTomMathDecls.h include/tcl/generic/tclTomMathInt.h @@ -49,20 +50,20 @@ include/tclThread.h include/tdbc.h include/tdbcDecls.h include/tdbcInt.h -lib/itcl4.0.0/itcl.tcl -lib/itcl4.0.0/itclConfig.sh -lib/itcl4.0.0/itclHullCmds.tcl -lib/itcl4.0.0/itclWidget.tcl -lib/itcl4.0.0/libitcl4.0.0.so -lib/itcl4.0.0/libitclstub4.0.0.a -lib/itcl4.0.0/pkgIndex.tcl +lib/itcl4.0.1/itcl.tcl +lib/itcl4.0.1/itclConfig.sh +lib/itcl4.0.1/itclHullCmds.tcl +lib/itcl4.0.1/itclWidget.tcl +lib/itcl4.0.1/libitcl4.0.1.so +lib/itcl4.0.1/libitclstub4.0.1.a +lib/itcl4.0.1/pkgIndex.tcl lib/libtcl${SONUM}.a lib/libtcl${SONUM}.so lib/libtcl${SONUM}.so.1.0 lib/libtclstub${SONUM}.a lib/pkgconfig/tcl.pc -lib/sqlite3.8.0/libsqlite3.8.0.so -lib/sqlite3.8.0/pkgIndex.tcl +lib/sqlite3.8.6/libsqlite3.8.6.so +lib/sqlite3.8.6/pkgIndex.tcl lib/tcl${BASEVER}/auto.tcl lib/tcl${BASEVER}/clock.tcl lib/tcl${BASEVER}/encoding/ascii.enc @@ -293,31 +294,31 @@ lib/tcl${BASEVER}/tcltest2.3/tcltest.tcl lib/tcl${BASEVER}/tcltest2.3/pkgIndex.tcl lib/tcl${BASEVER}/tm.tcl lib/tcl${BASEVER}/word.tcl -lib/tcl8/8.4/platform-1.0.12.tm +lib/tcl8/8.4/platform-1.0.13.tm lib/tcl8/8.4/platform/shell-1.1.4.tm lib/tcl8/8.5/msgcat-1.5.2.tm -lib/tcl8/8.5/tcltest-2.3.6.tm -lib/tcl8/8.6/http-2.8.7.tm -lib/tcl8/8.6/tdbc/sqlite3-1.0.0.tm +lib/tcl8/8.5/tcltest-2.3.8.tm +lib/tcl8/8.6/http-2.8.8.tm +lib/tcl8/8.6/tdbc/sqlite3-1.0.1.tm lib/tclConfig.sh lib/tclooConfig.sh -lib/tdbc1.0.0/libtdbc1.0.0.so -lib/tdbc1.0.0/libtdbcstub1.0.0.a -lib/tdbc1.0.0/pkgIndex.tcl -lib/tdbc1.0.0/tdbc.tcl -lib/tdbc1.0.0/tdbcConfig.sh -lib/tdbcmysql1.0.0/libtdbcmysql1.0.0.so -lib/tdbcmysql1.0.0/pkgIndex.tcl -lib/tdbcmysql1.0.0/tdbcmysql.tcl -lib/tdbcodbc1.0.0/libtdbcodbc1.0.0.so -lib/tdbcodbc1.0.0/pkgIndex.tcl -lib/tdbcodbc1.0.0/tdbcodbc.tcl -lib/tdbcpostgres1.0.0/libtdbcpostgres1.0.0.so -lib/tdbcpostgres1.0.0/pkgIndex.tcl -lib/tdbcpostgres1.0.0/tdbcpostgres.tcl -lib/thread2.7.0/libthread2.7.0.so -lib/thread2.7.0/pkgIndex.tcl -lib/thread2.7.0/ttrace.tcl +lib/tdbc1.0.1/libtdbc1.0.1.so +lib/tdbc1.0.1/libtdbcstub1.0.1.a +lib/tdbc1.0.1/pkgIndex.tcl +lib/tdbc1.0.1/tdbc.tcl +lib/tdbc1.0.1/tdbcConfig.sh +lib/tdbcmysql1.0.1/libtdbcmysql1.0.1.so +lib/tdbcmysql1.0.1/pkgIndex.tcl +lib/tdbcmysql1.0.1/tdbcmysql.tcl +lib/tdbcodbc1.0.1/libtdbcodbc1.0.1.so +lib/tdbcodbc1.0.1/pkgIndex.tcl +lib/tdbcodbc1.0.1/tdbcodbc.tcl +lib/tdbcpostgres1.0.1/libtdbcpostgres1.0.1.so +lib/tdbcpostgres1.0.1/pkgIndex.tcl +lib/tdbcpostgres1.0.1/tdbcpostgres.tcl +lib/thread2.7.1/libthread2.7.1.so +lib/thread2.7.1/pkgIndex.tcl +lib/thread2.7.1/ttrace.tcl man/man1/tclsh.1 man/man3/TCL_MEM_DEBUG.3 man/man3/Tcl_Access.3 @@ -746,6 +747,7 @@ man/man3/Tcl_NewWideIntObj.3 man/man3/Tcl_NextHashEntry.3 man/man3/Tcl_NotifyChannel.3 man/man3/Tcl_NumUtfChars.3 +man/man3/Tcl_OOInitStubs.3 man/man3/Tcl_ObjGetVar2.3 man/man3/Tcl_ObjPrintf.3 man/man3/Tcl_ObjSetVar2.3 @@ -1119,7 +1121,7 @@ man/mann/tcl_rcFileName.n man/mann/tcl_startOfNextWord.n man/mann/tcl_startOfPreviousWord.n man/mann/tcl_traceCompile.n -man/mann/tcl_traceEval.n +man/mann/tcl_traceExec.n man/mann/tcl_version.n man/mann/tcl_wordBreakAfter.n man/mann/tcl_wordBreakBefore.n diff --git a/lang/tcl/distinfo b/lang/tcl/distinfo index fea3493d6cb..f9c17128fc4 100644 --- a/lang/tcl/distinfo +++ b/lang/tcl/distinfo @@ -1,33 +1,24 @@ -$NetBSD: distinfo,v 1.61 2014/02/06 04:29:12 obache Exp $ +$NetBSD: distinfo,v 1.62 2014/10/31 21:11:18 adam Exp $ -SHA1 (tcl8.6.1-src.tar.gz) = 5c83d44152cc0496cc0847a2495f659502a30e40 -RMD160 (tcl8.6.1-src.tar.gz) = fbb181d26bb28fe9413bc2e07f333571b8e7e190 -Size (tcl8.6.1-src.tar.gz) = 8755700 bytes +SHA1 (tcl8.6.2-src.tar.gz) = f01ee98da154f83ce4b1c2db752decf734384954 +RMD160 (tcl8.6.2-src.tar.gz) = 574bffdf3e390cf6460ab4a9d4b59db0e58f2998 +Size (tcl8.6.2-src.tar.gz) = 8857161 bytes SHA1 (patch-generic_tclInt.h) = 13289d8fcf5021898b06a9608bc05fc968a1ba5c SHA1 (patch-generic_tclPort.h) = 36ff05b22591d588952e55d0f13c2ef52e371d1e SHA1 (patch-generic_tclPosixStr.c) = 68da211865282fe7124cad71381658f8dfb986d6 -SHA1 (patch-pkgs_itcl4.0.0_configure) = e331abeffbb7e1077ed84d846e08b7054f79346d -SHA1 (patch-pkgs_itcl4.0.0_tclconfig_tcl.m4) = e2dcd0e07be03cf6e39b68cb209263b297acd5d1 -SHA1 (patch-pkgs_sqlite3.8.0_configure) = 14b61ded1cd2bb41054b45da3044638bc44004f5 -SHA1 (patch-pkgs_sqlite3.8.0_tclconfig_tcl.m4) = 6891b39dc05a037ba667c92fd2341b418030c0af -SHA1 (patch-pkgs_tdbc1.0.0_configure) = 8964e3617b36435f3bf54bebddae1d34034045c8 -SHA1 (patch-pkgs_tdbc1.0.0_tclconfig_tcl.m4) = db4802f3db9b640a559d7e1c917969c0e2ecf069 -SHA1 (patch-pkgs_tdbcmysql1.0.0_configure) = 17bf2c0578b8b3316373dd8b1a0c9687033304f3 -SHA1 (patch-pkgs_tdbcmysql1.0.0_tclconfig_tcl.m4) = fbbf5b6c27e50251b56759ae9f0b0317f6e41a60 -SHA1 (patch-pkgs_tdbcodbc1.0.0_configure) = 0478fb9c6747a23df66c3c38f9f774606002187c -SHA1 (patch-pkgs_tdbcodbc1.0.0_tclconfig_tcl.m4) = 2d2418c8d7b77e84b77b4c8568f8bc3920d285fa -SHA1 (patch-pkgs_tdbcpostgres1.0.0_configure) = 7c5809cc8111cc70ee3eb75b3f5961581f1c7929 -SHA1 (patch-pkgs_tdbcpostgres1.0.0_tclconfig_tcl.m4) = 8791e43c7106affe02dd8f18e31064c7553f71ee -SHA1 (patch-pkgs_tdbcsqlite3-1.0.0_tclconfig_tcl.m4) = 59b6fea342e041b159f1cc12ebd25e0df630eccf -SHA1 (patch-pkgs_thread2.7.0_configure) = 39351e73d82415ead09ed56c7a2586db09ec8fb6 -SHA1 (patch-pkgs_thread2.7.0_tclconfig_tcl.m4) = 63d76baa8f130166d502f9ed3955111ae2a5a622 +SHA1 (patch-pkgs_itcl4.0.1_configure) = 64802cb0c09a2405ec2d3e4d73188d10e478efc2 +SHA1 (patch-pkgs_sqlite3.8.6_configure) = 61a826a32c033cd5879da69e90d5dad4de061f58 +SHA1 (patch-pkgs_tdbc1.0.1_configure) = 65189aa432013c02ed42833ec43985a55b7c8a20 +SHA1 (patch-pkgs_tdbcmysql1.0.1_configure) = acbb6dfbf4e35a2cf7eb16d0d5b415bb0f34431d +SHA1 (patch-pkgs_tdbcodbc1.0.1_configure) = 4e124750268a72770274452d5c1d01e2701794f3 +SHA1 (patch-pkgs_tdbcpostgres1.0.1_configure) = ad5faf45d755670761ea8f4888c761a166a2938f +SHA1 (patch-pkgs_thread2.7.1_configure) = f722be8d70eb16c34acd9685d5b594665d811b76 SHA1 (patch-tests_load.test) = 438695ab76e01646e49aadc01c44344a5495eabb SHA1 (patch-tests_pkgMkIndex.test) = 70d1042c1f4743052c5fa191fa7c4732a08e28a2 -SHA1 (patch-unix_Makefile.in) = 1dee005fc4678a83259ba6dbec74d1c5753199b7 -SHA1 (patch-unix_configure) = 873e678a1b2a6fd517414811ea37c26390ec0048 -SHA1 (patch-unix_tcl.m4) = 28b93769dbdb6710897e31634e278ece75cb682a -SHA1 (patch-unix_tclConfig.sh.in) = 5a32d8e97240d14f3a03e205637fe3bf8307d868 +SHA1 (patch-unix_Makefile.in) = bac1e1140becda4cd032506ca8aaf699a9380faa +SHA1 (patch-unix_configure) = abe7ec2bccea451d69d2df2587d3189971f17d9a +SHA1 (patch-unix_tclConfig.sh.in) = 341ac4f1bbfb29551dea87ade98b3b7b59652a31 SHA1 (patch-unix_tclUnixCompat.c) = 7ffa40a1a56345f5b86cd896e8e3b0d5748d8c5e SHA1 (patch-unix_tclUnixFCmd.c) = e715d9419a36a8414355252bb3da0ef48b07fe4f -SHA1 (patch-unix_tclUnixInit.c) = 0e372d1098522d3ea9be9c5d2bb378af53fa86f6 +SHA1 (patch-unix_tclUnixInit.c) = 50eafafdd10e35266f9fe5b73a80e7b50f393f88 SHA1 (patch-unix_tclUnixPort.h) = 6efe848c16c550f6adee4bec011891755bb23620 diff --git a/lang/tcl/patches/patch-pkgs_itcl4.0.0_configure b/lang/tcl/patches/patch-pkgs_itcl4.0.0_configure deleted file mode 100644 index fbc9ed299b1..00000000000 --- a/lang/tcl/patches/patch-pkgs_itcl4.0.0_configure +++ /dev/null @@ -1,67 +0,0 @@ -$NetBSD: patch-pkgs_itcl4.0.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/itcl4.0.0/configure.orig 2012-11-07 21:54:07.000000000 +0000 -+++ pkgs/itcl4.0.0/configure -@@ -8745,7 +8745,6 @@ fi - fi - - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' - ;; - esac - case "$arch" in -@@ -8802,9 +8801,6 @@ fi - - fi - -- # OpenBSD doesn't do version numbers with dots. -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- TCL_LIB_VERSIONS_OK=nodots - ;; - NetBSD-*|FreeBSD-[3-4].*) - # FreeBSD 3.* and greater have ELF. -@@ -8837,17 +8833,17 @@ fi - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$@" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" - SHLIB_SUFFIX=".so" - LDFLAGS="" - if test $doRpath = yes; then - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' - fi - - if test "${TCL_THREADS}" = "1"; then -@@ -8859,10 +8855,10 @@ fi - fi - - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -9637,7 +9633,7 @@ fi - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_itcl4.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_itcl4.0.0_tclconfig_tcl.m4 deleted file mode 100644 index f43be53b007..00000000000 --- a/lang/tcl/patches/patch-pkgs_itcl4.0.0_tclconfig_tcl.m4 +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-pkgs_itcl4.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/itcl4.0.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:09.000000000 +0000 -+++ pkgs/itcl4.0.0/tclconfig/tcl.m4 -@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" - SHLIB_SUFFIX=".so" - LDFLAGS="" - AS_IF([test $doRpath = yes], [ - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) - AS_IF([test "${TCL_THREADS}" = "1"], [ - # The -pthread needs to go in the LDFLAGS, not LIBS - LIBS=`echo $LIBS | sed s/-pthread//` - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_itcl4.0.1_configure b/lang/tcl/patches/patch-pkgs_itcl4.0.1_configure new file mode 100644 index 00000000000..80534e52538 --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_itcl4.0.1_configure @@ -0,0 +1,52 @@ +$NetBSD: patch-pkgs_itcl4.0.1_configure,v 1.1 2014/10/31 21:11:18 adam Exp $ + +Add support for DragonFly. + +--- pkgs/itcl4.0.1/configure.orig 2014-08-14 17:05:04.000000000 +0000 ++++ pkgs/itcl4.0.1/configure +@@ -7304,7 +7304,6 @@ fi + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + fi + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + LDFLAGS="-Wl,-export-dynamic" + ;; + esac +@@ -7325,8 +7324,6 @@ fi + + fi + # 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 +@@ -7348,7 +7345,7 @@ fi + + fi + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +@@ -7371,10 +7368,6 @@ fi + case $system in + FreeBSD-3.*) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${PACKAGE_VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots + ;; + esac + ;; +@@ -7985,7 +7978,7 @@ fi + BSD/OS*) ;; + CYGWIN_*|MINGW32_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_sqlite3.8.0_configure b/lang/tcl/patches/patch-pkgs_sqlite3.8.0_configure deleted file mode 100644 index b26deff3ca0..00000000000 --- a/lang/tcl/patches/patch-pkgs_sqlite3.8.0_configure +++ /dev/null @@ -1,57 +0,0 @@ -$NetBSD: patch-pkgs_sqlite3.8.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/sqlite3.8.0/configure.orig 2013-08-27 18:50:58.000000000 +0000 -+++ pkgs/sqlite3.8.0/configure -@@ -6473,7 +6473,6 @@ fi - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - fi - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5 - $as_echo_n "checking for ELF... " >&6; } - if ${tcl_cv_ld_elf+:} false; then : -@@ -6547,17 +6546,17 @@ fi - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$@" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" - SHLIB_SUFFIX=".so" - LDFLAGS="" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' - fi - if test "${TCL_THREADS}" = "1"; then : - -@@ -6567,10 +6566,10 @@ fi - LDFLAGS="$LDFLAGS $PTHREAD_LIBS" - fi - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -7134,7 +7133,7 @@ fi - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_sqlite3.8.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_sqlite3.8.0_tclconfig_tcl.m4 deleted file mode 100644 index f5507bbd41d..00000000000 --- a/lang/tcl/patches/patch-pkgs_sqlite3.8.0_tclconfig_tcl.m4 +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-pkgs_sqlite3.8.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/sqlite3.8.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:11.000000000 +0000 -+++ pkgs/sqlite3.8.0/tclconfig/tcl.m4 -@@ -1627,26 +1627,26 @@ dnl AC_CHECK_TOOL(AR, ar) - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" - SHLIB_SUFFIX=".so" - LDFLAGS="" - AS_IF([test $doRpath = yes], [ - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) - AS_IF([test "${TCL_THREADS}" = "1"], [ - # The -pthread needs to go in the LDFLAGS, not LIBS - LIBS=`echo $LIBS | sed s/-pthread//` - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -1967,7 +1967,7 @@ dnl # preprocessing tests use only CPPFL - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_sqlite3.8.6_configure b/lang/tcl/patches/patch-pkgs_sqlite3.8.6_configure new file mode 100644 index 00000000000..3ac4721d6ef --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_sqlite3.8.6_configure @@ -0,0 +1,52 @@ +$NetBSD: patch-pkgs_sqlite3.8.6_configure,v 1.1 2014/10/31 21:11:18 adam Exp $ + +Add support for DragonFly. + +--- pkgs/sqlite3.8.6/configure.orig 2014-08-15 14:09:19.000000000 +0000 ++++ pkgs/sqlite3.8.6/configure +@@ -7241,7 +7241,6 @@ fi + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + fi + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + LDFLAGS="-Wl,-export-dynamic" + ;; + esac +@@ -7262,8 +7261,6 @@ fi + + fi + # 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 +@@ -7285,7 +7282,7 @@ fi + + fi + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +@@ -7305,10 +7302,6 @@ fi + LDFLAGS="$LDFLAGS $PTHREAD_LIBS" + fi + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${PACKAGE_VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots + ;; + Darwin-*) + CFLAGS_OPTIMIZE="-Os" +@@ -7917,7 +7910,7 @@ fi + BSD/OS*) ;; + CYGWIN_*|MINGW32_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbc1.0.0_configure b/lang/tcl/patches/patch-pkgs_tdbc1.0.0_configure deleted file mode 100644 index e1886d42a65..00000000000 --- a/lang/tcl/patches/patch-pkgs_tdbc1.0.0_configure +++ /dev/null @@ -1,67 +0,0 @@ -$NetBSD: patch-pkgs_tdbc1.0.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/tdbc1.0.0/configure.orig 2012-11-23 21:46:02.000000000 +0000 -+++ pkgs/tdbc1.0.0/configure -@@ -9405,7 +9405,6 @@ fi - fi - - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' - ;; - esac - case "$arch" in -@@ -9462,9 +9461,6 @@ fi - - fi - -- # OpenBSD doesn't do version numbers with dots. -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- TCL_LIB_VERSIONS_OK=nodots - ;; - NetBSD-*|FreeBSD-[3-4].*) - # FreeBSD 3.* and greater have ELF. -@@ -9497,17 +9493,17 @@ fi - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$@" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" - SHLIB_SUFFIX=".so" - LDFLAGS="" - if test $doRpath = yes; then - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' - fi - - if test "${TCL_THREADS}" = "1"; then -@@ -9519,10 +9515,10 @@ fi - fi - - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -10297,7 +10293,7 @@ fi - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbc1.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_tdbc1.0.0_tclconfig_tcl.m4 deleted file mode 100644 index b6b9a1768c6..00000000000 --- a/lang/tcl/patches/patch-pkgs_tdbc1.0.0_tclconfig_tcl.m4 +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-pkgs_tdbc1.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/tdbc1.0.0/tclconfig/tcl.m4.orig 2012-11-23 21:47:37.000000000 +0000 -+++ pkgs/tdbc1.0.0/tclconfig/tcl.m4 -@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" - SHLIB_SUFFIX=".so" - LDFLAGS="" - AS_IF([test $doRpath = yes], [ - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) - AS_IF([test "${TCL_THREADS}" = "1"], [ - # The -pthread needs to go in the LDFLAGS, not LIBS - LIBS=`echo $LIBS | sed s/-pthread//` - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbc1.0.1_configure b/lang/tcl/patches/patch-pkgs_tdbc1.0.1_configure new file mode 100644 index 00000000000..326a92dd155 --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_tdbc1.0.1_configure @@ -0,0 +1,52 @@ +$NetBSD: patch-pkgs_tdbc1.0.1_configure,v 1.1 2014/10/31 21:11:18 adam Exp $ + +Add support for DragonFly. + +--- pkgs/tdbc1.0.1/configure.orig 2014-08-14 17:26:06.000000000 +0000 ++++ pkgs/tdbc1.0.1/configure +@@ -9409,7 +9409,6 @@ fi + fi + + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + LDFLAGS="-Wl,-export-dynamic" + ;; + esac +@@ -9431,8 +9430,6 @@ fi + fi + + # 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 +@@ -9456,7 +9453,7 @@ fi + fi + + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +@@ -9481,10 +9478,6 @@ fi + case $system in + FreeBSD-3.*) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${PACKAGE_VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots + ;; + esac + ;; +@@ -10335,7 +10328,7 @@ fi + BSD/OS*) ;; + CYGWIN_*|MINGW32_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_configure b/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_configure deleted file mode 100644 index 8f51f238e47..00000000000 --- a/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_configure +++ /dev/null @@ -1,57 +0,0 @@ -$NetBSD: patch-pkgs_tdbcmysql1.0.0_configure,v 1.3 2014/02/06 04:29:12 obache Exp $ - ---- pkgs/tdbcmysql1.0.0/configure.orig 2012-11-26 14:24:47.000000000 +0000 -+++ pkgs/tdbcmysql1.0.0/configure -@@ -7769,7 +7769,6 @@ fi - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - fi - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' - ;; - esac - case "$arch" in -@@ -7853,17 +7852,17 @@ fi - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$@" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" - SHLIB_SUFFIX=".so" - LDFLAGS="" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' - fi - if test "${TCL_THREADS}" = "1"; then : - -@@ -7873,10 +7872,10 @@ fi - LDFLAGS="$LDFLAGS $PTHREAD_LIBS" - fi - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -8440,7 +8439,7 @@ fi - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_tclconfig_tcl.m4 deleted file mode 100644 index 75da709f781..00000000000 --- a/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.0_tclconfig_tcl.m4 +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-pkgs_tdbcmysql1.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/tdbcmysql1.0.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:12.000000000 +0000 -+++ pkgs/tdbcmysql1.0.0/tclconfig/tcl.m4 -@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" - SHLIB_SUFFIX=".so" - LDFLAGS="" - AS_IF([test $doRpath = yes], [ - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) - AS_IF([test "${TCL_THREADS}" = "1"], [ - # The -pthread needs to go in the LDFLAGS, not LIBS - LIBS=`echo $LIBS | sed s/-pthread//` - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.1_configure b/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.1_configure new file mode 100644 index 00000000000..ff94841f7bd --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_tdbcmysql1.0.1_configure @@ -0,0 +1,52 @@ +$NetBSD: patch-pkgs_tdbcmysql1.0.1_configure,v 1.1 2014/10/31 21:11:18 adam Exp $ + +Add support for DragonFly. + +--- pkgs/tdbcmysql1.0.1/configure.orig 2014-08-14 17:46:47.000000000 +0000 ++++ pkgs/tdbcmysql1.0.1/configure +@@ -7776,7 +7776,6 @@ fi + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + fi + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + LDFLAGS="-Wl,-export-dynamic" + ;; + esac +@@ -7797,8 +7796,6 @@ fi + + fi + # 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 +@@ -7820,7 +7817,7 @@ fi + + fi + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +@@ -7843,10 +7840,6 @@ fi + case $system in + FreeBSD-3.*) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${PACKAGE_VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots + ;; + esac + ;; +@@ -8457,7 +8450,7 @@ fi + BSD/OS*) ;; + CYGWIN_*|MINGW32_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_configure b/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_configure deleted file mode 100644 index bb237274a03..00000000000 --- a/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_configure +++ /dev/null @@ -1,57 +0,0 @@ -$NetBSD: patch-pkgs_tdbcodbc1.0.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/tdbcodbc1.0.0/configure.orig 2012-12-12 21:22:22.000000000 +0000 -+++ pkgs/tdbcodbc1.0.0/configure -@@ -7763,7 +7763,6 @@ fi - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - fi - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' - ;; - esac - case "$arch" in -@@ -7847,17 +7846,17 @@ fi - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$@" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" - SHLIB_SUFFIX=".so" - LDFLAGS="" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' - fi - if test "${TCL_THREADS}" = "1"; then : - -@@ -7867,10 +7866,10 @@ fi - LDFLAGS="$LDFLAGS $PTHREAD_LIBS" - fi - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -8434,7 +8433,7 @@ fi - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_tclconfig_tcl.m4 deleted file mode 100644 index 37f48dc4c7b..00000000000 --- a/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.0_tclconfig_tcl.m4 +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-pkgs_tdbcodbc1.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/tdbcodbc1.0.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:12.000000000 +0000 -+++ pkgs/tdbcodbc1.0.0/tclconfig/tcl.m4 -@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" - SHLIB_SUFFIX=".so" - LDFLAGS="" - AS_IF([test $doRpath = yes], [ - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) - AS_IF([test "${TCL_THREADS}" = "1"], [ - # The -pthread needs to go in the LDFLAGS, not LIBS - LIBS=`echo $LIBS | sed s/-pthread//` - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.1_configure b/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.1_configure new file mode 100644 index 00000000000..07f5f955b3a --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_tdbcodbc1.0.1_configure @@ -0,0 +1,52 @@ +$NetBSD: patch-pkgs_tdbcodbc1.0.1_configure,v 1.1 2014/10/31 21:11:18 adam Exp $ + +Add support for DragonFly. + +--- pkgs/tdbcodbc1.0.1/configure.orig 2014-08-14 17:52:58.000000000 +0000 ++++ pkgs/tdbcodbc1.0.1/configure +@@ -7770,7 +7770,6 @@ fi + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + fi + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + LDFLAGS="-Wl,-export-dynamic" + ;; + esac +@@ -7791,8 +7790,6 @@ fi + + fi + # 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 +@@ -7814,7 +7811,7 @@ fi + + fi + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +@@ -7837,10 +7834,6 @@ fi + case $system in + FreeBSD-3.*) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${PACKAGE_VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots + ;; + esac + ;; +@@ -8451,7 +8444,7 @@ fi + BSD/OS*) ;; + CYGWIN_*|MINGW32_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_configure b/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_configure deleted file mode 100644 index d88a16b3b0e..00000000000 --- a/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_configure +++ /dev/null @@ -1,57 +0,0 @@ -$NetBSD: patch-pkgs_tdbcpostgres1.0.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/tdbcpostgres1.0.0/configure.orig 2012-12-12 21:22:46.000000000 +0000 -+++ pkgs/tdbcpostgres1.0.0/configure -@@ -7763,7 +7763,6 @@ fi - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' - fi - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' - ;; - esac - case "$arch" in -@@ -7847,17 +7846,17 @@ fi - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$@" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" - SHLIB_SUFFIX=".so" - LDFLAGS="" - if test $doRpath = yes; then : - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' - fi - if test "${TCL_THREADS}" = "1"; then : - -@@ -7867,10 +7866,10 @@ fi - LDFLAGS="$LDFLAGS $PTHREAD_LIBS" - fi - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -8434,7 +8433,7 @@ fi - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_tclconfig_tcl.m4 deleted file mode 100644 index 9d1725d445f..00000000000 --- a/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.0_tclconfig_tcl.m4 +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-pkgs_tdbcpostgres1.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/tdbcpostgres1.0.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:13.000000000 +0000 -+++ pkgs/tdbcpostgres1.0.0/tclconfig/tcl.m4 -@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" - SHLIB_SUFFIX=".so" - LDFLAGS="" - AS_IF([test $doRpath = yes], [ - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) - AS_IF([test "${TCL_THREADS}" = "1"], [ - # The -pthread needs to go in the LDFLAGS, not LIBS - LIBS=`echo $LIBS | sed s/-pthread//` - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.1_configure b/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.1_configure new file mode 100644 index 00000000000..66d42bacc28 --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_tdbcpostgres1.0.1_configure @@ -0,0 +1,52 @@ +$NetBSD: patch-pkgs_tdbcpostgres1.0.1_configure,v 1.1 2014/10/31 21:11:18 adam Exp $ + +Add support for DragonFly. + +--- pkgs/tdbcpostgres1.0.1/configure.orig 2014-08-14 17:59:04.000000000 +0000 ++++ pkgs/tdbcpostgres1.0.1/configure +@@ -7770,7 +7770,6 @@ fi + CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' + fi + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + LDFLAGS="-Wl,-export-dynamic" + ;; + esac +@@ -7791,8 +7790,6 @@ fi + + fi + # 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 +@@ -7814,7 +7811,7 @@ fi + + fi + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +@@ -7837,10 +7834,6 @@ fi + case $system in + FreeBSD-3.*) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${PACKAGE_VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots + ;; + esac + ;; +@@ -8451,7 +8444,7 @@ fi + BSD/OS*) ;; + CYGWIN_*|MINGW32_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_tdbcsqlite3-1.0.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_tdbcsqlite3-1.0.0_tclconfig_tcl.m4 deleted file mode 100644 index a96a36bb2fb..00000000000 --- a/lang/tcl/patches/patch-pkgs_tdbcsqlite3-1.0.0_tclconfig_tcl.m4 +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-pkgs_tdbcsqlite3-1.0.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/tdbcsqlite3-1.0.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:13.000000000 +0000 -+++ pkgs/tdbcsqlite3-1.0.0/tclconfig/tcl.m4 -@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" - SHLIB_SUFFIX=".so" - LDFLAGS="" - AS_IF([test $doRpath = yes], [ - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) - AS_IF([test "${TCL_THREADS}" = "1"], [ - # The -pthread needs to go in the LDFLAGS, not LIBS - LIBS=`echo $LIBS | sed s/-pthread//` - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_thread2.7.0_configure b/lang/tcl/patches/patch-pkgs_thread2.7.0_configure deleted file mode 100644 index 530d03bad2f..00000000000 --- a/lang/tcl/patches/patch-pkgs_thread2.7.0_configure +++ /dev/null @@ -1,57 +0,0 @@ -$NetBSD: patch-pkgs_thread2.7.0_configure,v 1.2 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/thread2.7.0/configure.orig 2012-11-14 17:20:24.000000000 +0000 -+++ pkgs/thread2.7.0/configure -@@ -9295,7 +9295,6 @@ fi - fi - - LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' - ;; - esac - case "$arch" in -@@ -9387,17 +9386,17 @@ fi - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$@" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$@" - SHLIB_SUFFIX=".so" - LDFLAGS="" - if test $doRpath = yes; then - - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}' - fi - - if test "${TCL_THREADS}" = "1"; then -@@ -9409,10 +9408,10 @@ fi - fi - - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -10187,7 +10186,7 @@ fi - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_thread2.7.0_tclconfig_tcl.m4 b/lang/tcl/patches/patch-pkgs_thread2.7.0_tclconfig_tcl.m4 deleted file mode 100644 index 02f879edb0e..00000000000 --- a/lang/tcl/patches/patch-pkgs_thread2.7.0_tclconfig_tcl.m4 +++ /dev/null @@ -1,47 +0,0 @@ -$NetBSD: patch-pkgs_thread2.7.0_tclconfig_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ - ---- pkgs/thread2.7.0/tclconfig/tcl.m4.orig 2013-09-19 20:17:13.000000000 +0000 -+++ pkgs/thread2.7.0/tclconfig/tcl.m4 -@@ -1659,26 +1659,26 @@ AC_DEFUN([TEA_CONFIG_CFLAGS], [ - ;; - esac - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" -- TCL_SHLIB_LD_EXTRAS="-soname \$[@]" -+ TCL_SHLIB_LD_EXTRAS="-Wl,-soname \$[@]" - SHLIB_SUFFIX=".so" - LDFLAGS="" - AS_IF([test $doRpath = yes], [ - CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' -- LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}']) -+ LD_SEARCH_FLAGS='-Wl,-rpath ${LIB_RUNTIME_DIR}']) - AS_IF([test "${TCL_THREADS}" = "1"], [ - # The -pthread needs to go in the LDFLAGS, not LIBS - LIBS=`echo $LIBS | sed s/-pthread//` - CFLAGS="$CFLAGS $PTHREAD_CFLAGS" - LDFLAGS="$LDFLAGS $PTHREAD_LIBS"]) - # Version numbers are dot-stripped by system policy. -- TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -- TCL_LIB_VERSIONS_OK=nodots -+# TCL_TRIM_DOTS=`echo ${VERSION} | tr -d .` -+# UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' -+# SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' -+# TCL_LIB_VERSIONS_OK=nodots - ;; - Darwin-*) - CFLAGS_OPTIMIZE="-Os" -@@ -1999,7 +1999,7 @@ dnl # preprocessing tests use only CPPFL - BSD/OS*) ;; - CYGWIN_*) ;; - IRIX*) ;; -- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; -+ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; - Darwin-*) ;; - SCO_SV-3.2*) ;; - windows) ;; diff --git a/lang/tcl/patches/patch-pkgs_thread2.7.1_configure b/lang/tcl/patches/patch-pkgs_thread2.7.1_configure new file mode 100644 index 00000000000..f73ad0202bc --- /dev/null +++ b/lang/tcl/patches/patch-pkgs_thread2.7.1_configure @@ -0,0 +1,52 @@ +$NetBSD: patch-pkgs_thread2.7.1_configure,v 1.1 2014/10/31 21:11:18 adam Exp $ + +Add support for DragonFly. + +--- pkgs/thread2.7.1/configure.orig 2014-08-14 17:08:39.000000000 +0000 ++++ pkgs/thread2.7.1/configure +@@ -9299,7 +9299,6 @@ fi + fi + + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}' + LDFLAGS="-Wl,-export-dynamic" + ;; + esac +@@ -9321,8 +9320,6 @@ fi + fi + + # 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 +@@ -9346,7 +9343,7 @@ fi + fi + + ;; +- FreeBSD-*) ++ FreeBSD-*|DragonFly-*) + # This configuration from FreeBSD Ports. + SHLIB_CFLAGS="-fPIC" + SHLIB_LD="${CC} -shared" +@@ -9371,10 +9368,6 @@ fi + case $system in + FreeBSD-3.*) + # Version numbers are dot-stripped by system policy. +- TCL_TRIM_DOTS=`echo ${PACKAGE_VERSION} | tr -d .` +- UNSHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.a' +- SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1' +- TCL_LIB_VERSIONS_OK=nodots + ;; + esac + ;; +@@ -10225,7 +10218,7 @@ fi + BSD/OS*) ;; + CYGWIN_*|MINGW32_*) ;; + IRIX*) ;; +- NetBSD-*|FreeBSD-*|OpenBSD-*) ;; ++ NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;; + Darwin-*) ;; + SCO_SV-3.2*) ;; + windows) ;; diff --git a/lang/tcl/patches/patch-unix_Makefile.in b/lang/tcl/patches/patch-unix_Makefile.in index 0969f5ca8ab..c4435dee4c4 100644 --- a/lang/tcl/patches/patch-unix_Makefile.in +++ b/lang/tcl/patches/patch-unix_Makefile.in @@ -1,4 +1,4 @@ -$NetBSD: patch-unix_Makefile.in,v 1.7 2014/01/11 14:41:05 adam Exp $ +$NetBSD: patch-unix_Makefile.in,v 1.8 2014/10/31 21:11:18 adam Exp $ --- unix/Makefile.in.orig 2013-09-19 20:17:13.000000000 +0000 +++ unix/Makefile.in @@ -40,8 +40,8 @@ $NetBSD: patch-unix_Makefile.in,v 1.7 2014/01/11 14:41:05 adam Exp $ all: binaries libraries doc packages --binaries: ${LIB_FILE} $(STUB_LIB_FILE) ${TCL_EXE} -+binaries: ${LIB_FILE} $(STUB_LIB_FILE) ${TCL_EXE} ${TCL_LIB_A_FILE} +-binaries: ${LIB_FILE} ${TCL_EXE} ++binaries: ${LIB_FILE} ${TCL_EXE} ${TCL_LIB_A_FILE} libraries: @@ -86,8 +86,8 @@ $NetBSD: patch-unix_Makefile.in,v 1.7 2014/01/11 14:41:05 adam Exp $ echo "Making directory $(SCRIPT_INSTALL_DIR)/$$i"; \ @@ -843,6 +859,8 @@ install-libraries: libraries done; - @echo "Installing package http 2.8.7 as a Tcl Module"; - @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.6/http-2.8.7.tm; + @echo "Installing package http 2.8.8 as a Tcl Module"; + @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.6/http-2.8.8.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/"; @@ -99,13 +99,13 @@ $NetBSD: patch-unix_Makefile.in,v 1.7 2014/01/11 14:41:05 adam Exp $ @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/msgcat-1.5.2.tm; + @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/msgcat1.5/msgcat.tcl; + @$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)"/msgcat1.5/pkgIndex.tcl; - @echo "Installing package tcltest 2.3.6 as a Tcl Module"; - @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/tcltest-2.3.6.tm; + @echo "Installing package tcltest 2.3.8 as a Tcl Module"; + @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/tcltest-2.3.8.tm; + @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/tcltest2.3/tcltest.tcl; + @$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)"/tcltest2.3/pkgIndex.tcl; - @echo "Installing package platform 1.0.12 as a Tcl Module"; - @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform-1.0.12.tm; + @echo "Installing package platform 1.0.13 as a Tcl Module"; + @$(INSTALL_DATA) $(TOP_DIR)/library/platform/platform.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.4/platform-1.0.13.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"; diff --git a/lang/tcl/patches/patch-unix_configure b/lang/tcl/patches/patch-unix_configure index a6df4b8f5f8..7a9bfe9546c 100644 --- a/lang/tcl/patches/patch-unix_configure +++ b/lang/tcl/patches/patch-unix_configure @@ -1,8 +1,8 @@ -$NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ +$NetBSD: patch-unix_configure,v 1.7 2014/10/31 21:11:18 adam Exp $ ---- unix/configure.orig 2013-09-19 20:17:13.000000000 +0000 +--- unix/configure.orig 2014-08-26 15:23:08.000000000 +0000 +++ unix/configure -@@ -7731,7 +7731,7 @@ fi +@@ -7666,7 +7666,7 @@ fi CC_SEARCH_FLAGS="" LD_SEARCH_FLAGS="" ;; @@ -11,7 +11,7 @@ $NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ arch=`arch -s` case "$arch" in vax) -@@ -7805,7 +7805,7 @@ fi +@@ -7740,7 +7740,7 @@ fi fi ;; @@ -20,15 +20,15 @@ $NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ # This configuration from FreeBSD Ports. SHLIB_CFLAGS="-fPIC" SHLIB_LD="${CC} -shared" -@@ -7835,7 +7835,6 @@ fi - TCL_LIB_VERSIONS_OK=nodots +@@ -7775,7 +7775,6 @@ fi + esac ;; Darwin-*) - CFLAGS_OPTIMIZE="-Os" SHLIB_CFLAGS="-fno-common" # To avoid discrepancies between what headers configure sees during # preprocessing tests and compiling tests, move any -isysroot and -@@ -9010,7 +9009,7 @@ fi +@@ -8949,7 +8948,7 @@ fi BSD/OS*) ;; CYGWIN_*|MINGW32_*) ;; IRIX*) ;; @@ -37,7 +37,7 @@ $NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ Darwin-*) ;; SCO_SV-3.2*) ;; *) SHLIB_CFLAGS="-fPIC" ;; -@@ -9052,7 +9051,11 @@ fi +@@ -8991,7 +8990,11 @@ fi else @@ -50,7 +50,7 @@ $NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ fi -@@ -9086,7 +9089,7 @@ fi +@@ -9025,7 +9028,7 @@ fi else MAKE_STUB_LIB='${STLIB_LD} $@ ${STUB_LIB_OBJS} ; ${RANLIB} $@' @@ -59,7 +59,7 @@ $NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ fi -@@ -19120,9 +19123,9 @@ fi +@@ -19059,9 +19062,9 @@ fi # building libtcl as a shared library instead of a static library. #-------------------------------------------------------------------- @@ -72,7 +72,7 @@ $NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ # tclConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed # since on some platforms TCL_LIB_FILE contains shell escapes. -@@ -19235,13 +19238,10 @@ else +@@ -19174,13 +19177,10 @@ else eval libdir="$libdir" # default install directory for bundled packages PACKAGE_DIR="$libdir" @@ -89,7 +89,7 @@ $NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ fi VERSION='${VERSION}' eval "CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}" -@@ -19260,12 +19260,11 @@ if test "$FRAMEWORK_BUILD" = "1" ; then +@@ -19199,12 +19199,11 @@ if test "$FRAMEWORK_BUILD" = "1" ; then TCL_PACKAGE_PATH="~/Library/Tcl /Library/Tcl /System/Library/Tcl ~/Library/Frameworks /Library/Frameworks /System/Library/Frameworks" test -z "$TCL_MODULE_PATH" && \ TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl /System/Library/Tcl" @@ -104,7 +104,7 @@ $NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ #-------------------------------------------------------------------- # The statements below define various symbols relating to Tcl # stub support. -@@ -19278,12 +19277,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_ +@@ -19217,12 +19216,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_ eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\"" eval "TCL_STUB_LIB_DIR=${libdir}" @@ -118,7 +118,7 @@ $NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ 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}" -@@ -19437,34 +19431,15 @@ fi +@@ -19376,34 +19370,15 @@ fi # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. @@ -162,7 +162,7 @@ $NetBSD: patch-unix_configure,v 1.6 2014/01/11 14:41:05 adam Exp $ -@@ -20092,6 +20067,7 @@ s,@EXTRA_BUILD_HTML@,$EXTRA_BUILD_HTML,; +@@ -20031,6 +20006,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 diff --git a/lang/tcl/patches/patch-unix_tcl.m4 b/lang/tcl/patches/patch-unix_tcl.m4 deleted file mode 100644 index 2bc9d330eff..00000000000 --- a/lang/tcl/patches/patch-unix_tcl.m4 +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-unix_tcl.m4,v 1.1 2014/02/05 12:50:51 obache Exp $ - ---- unix/tcl.m4.orig 2013-09-19 20:17:13.000000000 +0000 -+++ unix/tcl.m4 -@@ -1538,7 +1538,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ - LDFLAGS="$LDFLAGS -pthread" - ]) - ;; -- FreeBSD-*) -+ FreeBSD-*|DragonFly-*) - # This configuration from FreeBSD Ports. - SHLIB_CFLAGS="-fPIC" - SHLIB_LD="${CC} -shared" diff --git a/lang/tcl/patches/patch-unix_tclConfig.sh.in b/lang/tcl/patches/patch-unix_tclConfig.sh.in index 07d35099379..e9e8effc7d2 100644 --- a/lang/tcl/patches/patch-unix_tclConfig.sh.in +++ b/lang/tcl/patches/patch-unix_tclConfig.sh.in @@ -1,6 +1,6 @@ -$NetBSD: patch-unix_tclConfig.sh.in,v 1.1 2012/08/21 21:31:47 marino Exp $ +$NetBSD: patch-unix_tclConfig.sh.in,v 1.2 2014/10/31 21:11:18 adam Exp $ ---- unix/tclConfig.sh.in.orig 2012-07-25 16:45:05.000000000 +0000 +--- unix/tclConfig.sh.in.orig 2014-08-26 15:23:08.000000000 +0000 +++ unix/tclConfig.sh.in @@ -9,6 +9,8 @@ # @@ -13,7 +13,7 @@ $NetBSD: patch-unix_tclConfig.sh.in,v 1.1 2012/08/21 21:31:47 marino Exp $ TCL_MAJOR_VERSION='@TCL_MAJOR_VERSION@' @@ -167,3 +169,9 @@ TCL_STUB_LIB_PATH='@TCL_STUB_LIB_PATH@' - # Flag, 1: we built Tcl with threads enables, 0 we didn't + # Flag, 1: we built Tcl with threads enabled, 0 we didn't TCL_THREADS=@TCL_THREADS@ + +else diff --git a/lang/tcl/patches/patch-unix_tclUnixInit.c b/lang/tcl/patches/patch-unix_tclUnixInit.c index ef55f6f572c..37f5bc9b2b4 100644 --- a/lang/tcl/patches/patch-unix_tclUnixInit.c +++ b/lang/tcl/patches/patch-unix_tclUnixInit.c @@ -1,8 +1,8 @@ -$NetBSD: patch-unix_tclUnixInit.c,v 1.3 2014/01/11 14:41:05 adam Exp $ +$NetBSD: patch-unix_tclUnixInit.c,v 1.4 2014/10/31 21:11:18 adam Exp $ Carried over from TCL 8.4 ---- unix/tclUnixInit.c.orig 2013-09-19 19:04:17.000000000 +0000 +--- unix/tclUnixInit.c.orig 2014-07-28 14:43:56.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 GetVersionExA(void *); -@@ -387,7 +393,7 @@ TclpInitPlatform(void) + DLLIMPORT extern __stdcall unsigned char GetVersionExW(void *); +@@ -390,7 +396,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 -@@ -754,6 +760,11 @@ TclpSetVariables( +@@ -758,6 +764,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]; -@@ -922,8 +933,15 @@ TclpSetVariables( +@@ -938,8 +949,15 @@ TclpSetVariables( #endif /* DJGPP */ } |