pkgsrc-WIP-changes archive

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

tcl-fossil: Drop local patches



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Wed Oct 26 02:29:19 2016 +0200
Changeset:	c9d4334bdd5dd53e92c1387d615d236cf6f70126

Modified Files:
	tcl-fossil/distinfo
Removed Files:
	tcl-fossil/patches/patch-generic_tclInt.h
	tcl-fossil/patches/patch-generic_tclPort.h
	tcl-fossil/patches/patch-generic_tclPosixStr.c
	tcl-fossil/patches/patch-pkgs_itcl4.0.5_configure
	tcl-fossil/patches/patch-pkgs_sqlite3.13.0_Makefile.in
	tcl-fossil/patches/patch-pkgs_sqlite3.13.0_configure
	tcl-fossil/patches/patch-pkgs_tdbc1.0.4_configure
	tcl-fossil/patches/patch-pkgs_tdbcmysql1.0.4_configure
	tcl-fossil/patches/patch-pkgs_tdbcodbc1.0.4_configure
	tcl-fossil/patches/patch-pkgs_tdbcpostgres1.0.4_configure
	tcl-fossil/patches/patch-pkgs_thread2.8.0_configure
	tcl-fossil/patches/patch-tests_load.test
	tcl-fossil/patches/patch-tests_pkgMkIndex.test
	tcl-fossil/patches/patch-unix_Makefile.in
	tcl-fossil/patches/patch-unix_configure
	tcl-fossil/patches/patch-unix_tclConfig.sh.in
	tcl-fossil/patches/patch-unix_tclUnixCompat.c
	tcl-fossil/patches/patch-unix_tclUnixFCmd.c
	tcl-fossil/patches/patch-unix_tclUnixInit.c
	tcl-fossil/patches/patch-unix_tclUnixPort.h

Log Message:
tcl-fossil: Drop local patches

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c9d4334bdd5dd53e92c1387d615d236cf6f70126

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

diffstat:
 tcl-fossil/distinfo                                |  20 --
 tcl-fossil/patches/patch-generic_tclInt.h          |  21 ---
 tcl-fossil/patches/patch-generic_tclPort.h         |  13 --
 tcl-fossil/patches/patch-generic_tclPosixStr.c     |  24 ---
 tcl-fossil/patches/patch-pkgs_itcl4.0.5_configure  |  54 ------
 .../patches/patch-pkgs_sqlite3.13.0_Makefile.in    |  15 --
 .../patches/patch-pkgs_sqlite3.13.0_configure      |  53 ------
 tcl-fossil/patches/patch-pkgs_tdbc1.0.4_configure  |  54 ------
 .../patches/patch-pkgs_tdbcmysql1.0.4_configure    |  54 ------
 .../patches/patch-pkgs_tdbcodbc1.0.4_configure     |  54 ------
 .../patches/patch-pkgs_tdbcpostgres1.0.4_configure |  54 ------
 .../patches/patch-pkgs_thread2.8.0_configure       |  53 ------
 tcl-fossil/patches/patch-tests_load.test           |  15 --
 tcl-fossil/patches/patch-tests_pkgMkIndex.test     |  33 ----
 tcl-fossil/patches/patch-unix_Makefile.in          | 161 ----------------
 tcl-fossil/patches/patch-unix_configure            | 205 ---------------------
 tcl-fossil/patches/patch-unix_tclConfig.sh.in      |  23 ---
 tcl-fossil/patches/patch-unix_tclUnixCompat.c      |  67 -------
 tcl-fossil/patches/patch-unix_tclUnixFCmd.c        |  21 ---
 tcl-fossil/patches/patch-unix_tclUnixInit.c        |  65 -------
 tcl-fossil/patches/patch-unix_tclUnixPort.h        |  17 --
 21 files changed, 1076 deletions(-)

diffs:
diff --git a/tcl-fossil/distinfo b/tcl-fossil/distinfo
index 15bf4f8..e40f4a0 100644
--- a/tcl-fossil/distinfo
+++ b/tcl-fossil/distinfo
@@ -4,23 +4,3 @@ SHA1 (tcl8.6.6-src.tar.gz) = 169dd1589cad62c9fac4257c113db245da502cd0
 RMD160 (tcl8.6.6-src.tar.gz) = 2386a69eb841f8af51c1b124f68e0b812a225cca
 SHA512 (tcl8.6.6-src.tar.gz) = b8e707470655ceef2ef385b8a2e617c1c0ebced577732d1f5e818cd7295ca25da491b6024047cae2aff754d27e00d646f830c2049b96f306ac96bc69b02da7b0
 Size (tcl8.6.6-src.tar.gz) = 9553805 bytes
-SHA1 (patch-generic_tclInt.h) = fde6a5458a138b6d61fdbab1269b1c5111a28b22
-SHA1 (patch-generic_tclPort.h) = 36ff05b22591d588952e55d0f13c2ef52e371d1e
-SHA1 (patch-generic_tclPosixStr.c) = 68da211865282fe7124cad71381658f8dfb986d6
-SHA1 (patch-pkgs_itcl4.0.5_configure) = 8c48062e1f90f3843b6adcf2b5d61fa40b80f6e2
-SHA1 (patch-pkgs_sqlite3.13.0_Makefile.in) = 1205936335cda5d413c24da33608a9bbec6a65a9
-SHA1 (patch-pkgs_sqlite3.13.0_configure) = 80a40d46ffe693ed431c10a48a82401ba7707549
-SHA1 (patch-pkgs_tdbc1.0.4_configure) = 058f0ec3a6cf506c1998a30a81364f7856d17508
-SHA1 (patch-pkgs_tdbcmysql1.0.4_configure) = e633bb54d886f72dae485c2110488bb1441c965b
-SHA1 (patch-pkgs_tdbcodbc1.0.4_configure) = 5e93d9edc663f31e714726b4e3f9f4af6221fac8
-SHA1 (patch-pkgs_tdbcpostgres1.0.4_configure) = 182a106fd8559d08bb4d8d611972473640e9838a
-SHA1 (patch-pkgs_thread2.8.0_configure) = 0dfc552a4cbce2e100c640722ec9837f02226819
-SHA1 (patch-tests_load.test) = 438695ab76e01646e49aadc01c44344a5495eabb
-SHA1 (patch-tests_pkgMkIndex.test) = 70d1042c1f4743052c5fa191fa7c4732a08e28a2
-SHA1 (patch-unix_Makefile.in) = 6fa60e07f21842e987bc20d23d4be82cba5bc905
-SHA1 (patch-unix_configure) = 497eebc6dfa614647a400c94847f5fdb82d6e361
-SHA1 (patch-unix_tclConfig.sh.in) = 341ac4f1bbfb29551dea87ade98b3b7b59652a31
-SHA1 (patch-unix_tclUnixCompat.c) = 7ffa40a1a56345f5b86cd896e8e3b0d5748d8c5e
-SHA1 (patch-unix_tclUnixFCmd.c) = e715d9419a36a8414355252bb3da0ef48b07fe4f
-SHA1 (patch-unix_tclUnixInit.c) = 50eafafdd10e35266f9fe5b73a80e7b50f393f88
-SHA1 (patch-unix_tclUnixPort.h) = f7d2e7b8912b9bff1709ac2c34aee1f4725e90ac
diff --git a/tcl-fossil/patches/patch-generic_tclInt.h b/tcl-fossil/patches/patch-generic_tclInt.h
deleted file mode 100644
index d07fcaf..0000000
--- a/tcl-fossil/patches/patch-generic_tclInt.h
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-generic_tclInt.h,v 1.2 2016/09/03 11:58:01 adam Exp $
-
---- generic/tclInt.h.orig	2016-07-11 11:51:23.000000000 +0000
-+++ generic/tclInt.h
-@@ -38,16 +38,8 @@
- #include <stdio.h>
- 
- #include <ctype.h>
--#ifdef NO_STDLIB_H
--#   include "../compat/stdlib.h"
--#else
- #   include <stdlib.h>
--#endif
--#ifdef NO_STRING_H
--#include "../compat/string.h"
--#else
- #include <string.h>
--#endif
- #if defined(STDC_HEADERS) || defined(__STDC__) || defined(__C99__FUNC__) \
-      || defined(__cplusplus) || defined(_MSC_VER)
- #include <stddef.h>
diff --git a/tcl-fossil/patches/patch-generic_tclPort.h b/tcl-fossil/patches/patch-generic_tclPort.h
deleted file mode 100644
index 6247896..0000000
--- a/tcl-fossil/patches/patch-generic_tclPort.h
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-generic_tclPort.h,v 1.2 2013/05/31 20:15:04 adam Exp $
-
---- generic/tclPort.h.orig	2013-03-21 12:57:40.000000000 +0000
-+++ generic/tclPort.h
-@@ -20,7 +20,7 @@
- #if defined(_WIN32)
- #   include "tclWinPort.h"
- #else
--#   include "tclUnixPort.h"
-+#   include "../unix/tclUnixPort.h"
- #endif
- #include "tcl.h"
- 
diff --git a/tcl-fossil/patches/patch-generic_tclPosixStr.c b/tcl-fossil/patches/patch-generic_tclPosixStr.c
deleted file mode 100644
index fc4a439..0000000
--- a/tcl-fossil/patches/patch-generic_tclPosixStr.c
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-generic_tclPosixStr.c,v 1.3 2014/01/11 14:41:05 adam Exp $
-
-Carried over from TCL 8.4
-
---- generic/tclPosixStr.c.orig	2013-09-19 19:04:14.000000000 +0000
-+++ generic/tclPosixStr.c
-@@ -344,7 +344,7 @@ Tcl_ErrnoId(void)
- #ifdef EOTHER
-     case EOTHER: return "EOTHER";
- #endif
--#if defined(EOVERFLOW) && (!defined(EFBIG) || (EOVERFLOW != EFBIG)) && (!defined(EINVAL) || (EOVERFLOW != EINVAL))
-+#if defined(EOVERFLOW) && (!defined(EFBIG) || (EOVERFLOW != EFBIG)) && (!defined(EINVAL) || (EOVERFLOW != EINVAL)) && (!defined(ERANGE) || (EOVERFLOW != ERANGE))
-     case EOVERFLOW: return "EOVERFLOW";
- #endif
- #ifdef EOWNERDEAD
-@@ -804,7 +804,7 @@ Tcl_ErrnoMsg(
- #ifdef EOTHER
-     case EOTHER: return "other error";
- #endif
--#if defined(EOVERFLOW) && (!defined(EFBIG) || (EOVERFLOW != EFBIG)) && (!defined(EINVAL) || (EOVERFLOW != EINVAL))
-+#if defined(EOVERFLOW) && (!defined(EFBIG) || (EOVERFLOW != EFBIG)) && (!defined(EINVAL) || (EOVERFLOW != EINVAL)) && (!defined(ERANGE) || (EOVERFLOW != ERANGE))
-     case EOVERFLOW: return "file too big";
- #endif
- #ifdef EOWNERDEAD
diff --git a/tcl-fossil/patches/patch-pkgs_itcl4.0.5_configure b/tcl-fossil/patches/patch-pkgs_itcl4.0.5_configure
deleted file mode 100644
index d9451e8..0000000
--- a/tcl-fossil/patches/patch-pkgs_itcl4.0.5_configure
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD: patch-pkgs_itcl4.0.5_configure,v 1.1 2016/09/03 11:58:01 adam Exp $
-
-Add support for DragonFly.
-
---- pkgs/itcl4.0.5/configure.orig	2016-07-12 15:29:40.000000000 +0000
-+++ pkgs/itcl4.0.5/configure
-@@ -7443,8 +7443,7 @@ 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"
-+		LDFLAGS="-Wl,--export-dynamic"
- 		;;
- 	    esac
- 	    case "$arch" in
-@@ -7464,8 +7463,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
-@@ -7487,7 +7484,7 @@ fi
- 
- fi
- 	    ;;
--	FreeBSD-*)
-+	FreeBSD-*|DragonFly-*)
- 	    # This configuration from FreeBSD Ports.
- 	    SHLIB_CFLAGS="-fPIC"
- 	    SHLIB_LD="${CC} -shared"
-@@ -7509,10 +7506,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
- 	    ;;
-@@ -8123,7 +8116,7 @@ fi
- 	    BSD/OS*) ;;
- 	    CYGWIN_*|MINGW32_*) ;;
- 	    IRIX*) ;;
--	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
-+	    NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;;
- 	    Darwin-*) ;;
- 	    SCO_SV-3.2*) ;;
- 	    windows) ;;
diff --git a/tcl-fossil/patches/patch-pkgs_sqlite3.13.0_Makefile.in b/tcl-fossil/patches/patch-pkgs_sqlite3.13.0_Makefile.in
deleted file mode 100644
index cf2e2b9..0000000
--- a/tcl-fossil/patches/patch-pkgs_sqlite3.13.0_Makefile.in
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-pkgs_sqlite3.13.0_Makefile.in,v 1.1 2016/09/03 11:58:01 adam Exp $
-
-Fix building with system sqlite3.
-
---- pkgs/sqlite3.13.0/Makefile.in.orig	2016-01-07 15:38:22.000000000 +0000
-+++ pkgs/sqlite3.13.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
diff --git a/tcl-fossil/patches/patch-pkgs_sqlite3.13.0_configure b/tcl-fossil/patches/patch-pkgs_sqlite3.13.0_configure
deleted file mode 100644
index 20c15f8..0000000
--- a/tcl-fossil/patches/patch-pkgs_sqlite3.13.0_configure
+++ /dev/null
@@ -1,53 +0,0 @@
-$NetBSD: patch-pkgs_sqlite3.13.0_configure,v 1.1 2016/09/03 11:58:01 adam Exp $
-
-Add support for DragonFly.
-
---- pkgs/sqlite3.13.0/configure.orig	2016-05-31 15:48:11.000000000 +0000
-+++ pkgs/sqlite3.13.0/configure
-@@ -7290,7 +7290,7 @@ fi
- fi
- 		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
- 		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
--		LDFLAGS="-Wl,-export-dynamic"
-+		LDFLAGS="-Wl,--export-dynamic"
- 		;;
- 	    esac
- 	    case "$arch" in
-@@ -7310,8 +7310,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
-@@ -7333,7 +7331,7 @@ fi
- 
- fi
- 	    ;;
--	FreeBSD-*)
-+	FreeBSD-*|DragonFly-*)
- 	    # This configuration from FreeBSD Ports.
- 	    SHLIB_CFLAGS="-fPIC"
- 	    SHLIB_LD="${CC} -shared"
-@@ -7356,10 +7354,6 @@ fi
- 	    case $system in
- 	    FreeBSD-3.*)
- 		# 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}.so'
--		TCL_LIB_VERSIONS_OK=nodots
- 		;;
- 	    esac
- 	    ;;
-@@ -7970,7 +7964,7 @@ fi
- 	    BSD/OS*) ;;
- 	    CYGWIN_*|MINGW32_*) ;;
- 	    IRIX*) ;;
--	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
-+	    NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;;
- 	    Darwin-*) ;;
- 	    SCO_SV-3.2*) ;;
- 	    windows) ;;
diff --git a/tcl-fossil/patches/patch-pkgs_tdbc1.0.4_configure b/tcl-fossil/patches/patch-pkgs_tdbc1.0.4_configure
deleted file mode 100644
index 0721ddc..0000000
--- a/tcl-fossil/patches/patch-pkgs_tdbc1.0.4_configure
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD: patch-pkgs_tdbc1.0.4_configure,v 1.1 2016/03/06 11:47:49 adam Exp $
-
-Add support for DragonFly.
-
---- pkgs/tdbc1.0.4/configure.orig	2016-01-28 18:05:47.000000000 +0000
-+++ pkgs/tdbc1.0.4/configure
-@@ -7518,8 +7518,7 @@ 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"
-+		LDFLAGS="-Wl,--export-dynamic"
- 		;;
- 	    esac
- 	    case "$arch" in
-@@ -7539,8 +7538,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
-@@ -7562,7 +7559,7 @@ fi
- 
- fi
- 	    ;;
--	FreeBSD-*)
-+	FreeBSD-*|DragonFly-*)
- 	    # This configuration from FreeBSD Ports.
- 	    SHLIB_CFLAGS="-fPIC"
- 	    SHLIB_LD="${CC} -shared"
-@@ -7584,10 +7581,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
- 	    ;;
-@@ -8198,7 +8191,7 @@ fi
- 	    BSD/OS*) ;;
- 	    CYGWIN_*|MINGW32_*) ;;
- 	    IRIX*) ;;
--	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
-+	    NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;;
- 	    Darwin-*) ;;
- 	    SCO_SV-3.2*) ;;
- 	    windows) ;;
diff --git a/tcl-fossil/patches/patch-pkgs_tdbcmysql1.0.4_configure b/tcl-fossil/patches/patch-pkgs_tdbcmysql1.0.4_configure
deleted file mode 100644
index 581be9c..0000000
--- a/tcl-fossil/patches/patch-pkgs_tdbcmysql1.0.4_configure
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD: patch-pkgs_tdbcmysql1.0.4_configure,v 1.1 2016/03/06 11:47:49 adam Exp $
-
-Add support for DragonFly.
-
---- pkgs/tdbcmysql1.0.4/configure.orig	2016-01-28 18:06:23.000000000 +0000
-+++ pkgs/tdbcmysql1.0.4/configure
-@@ -7864,8 +7864,7 @@ 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"
-+		LDFLAGS="-Wl,--export-dynamic"
- 		;;
- 	    esac
- 	    case "$arch" in
-@@ -7885,8 +7884,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
-@@ -7908,7 +7905,7 @@ fi
- 
- fi
- 	    ;;
--	FreeBSD-*)
-+	FreeBSD-*|DragonFly-*)
- 	    # This configuration from FreeBSD Ports.
- 	    SHLIB_CFLAGS="-fPIC"
- 	    SHLIB_LD="${CC} -shared"
-@@ -7930,10 +7927,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
- 	    ;;
-@@ -8544,7 +8537,7 @@ fi
- 	    BSD/OS*) ;;
- 	    CYGWIN_*|MINGW32_*) ;;
- 	    IRIX*) ;;
--	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
-+	    NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;;
- 	    Darwin-*) ;;
- 	    SCO_SV-3.2*) ;;
- 	    windows) ;;
diff --git a/tcl-fossil/patches/patch-pkgs_tdbcodbc1.0.4_configure b/tcl-fossil/patches/patch-pkgs_tdbcodbc1.0.4_configure
deleted file mode 100644
index 68382d4..0000000
--- a/tcl-fossil/patches/patch-pkgs_tdbcodbc1.0.4_configure
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD: patch-pkgs_tdbcodbc1.0.4_configure,v 1.1 2016/03/06 11:47:49 adam Exp $
-
-Add support for DragonFly.
-
---- pkgs/tdbcodbc1.0.4/configure.orig	2016-01-28 18:06:52.000000000 +0000
-+++ pkgs/tdbcodbc1.0.4/configure
-@@ -7864,8 +7864,7 @@ 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"
-+		LDFLAGS="-Wl,--export-dynamic"
- 		;;
- 	    esac
- 	    case "$arch" in
-@@ -7885,8 +7884,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
-@@ -7908,7 +7905,7 @@ fi
- 
- fi
- 	    ;;
--	FreeBSD-*)
-+	FreeBSD-*|DragonFly-*)
- 	    # This configuration from FreeBSD Ports.
- 	    SHLIB_CFLAGS="-fPIC"
- 	    SHLIB_LD="${CC} -shared"
-@@ -7930,10 +7927,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
- 	    ;;
-@@ -8544,7 +8537,7 @@ fi
- 	    BSD/OS*) ;;
- 	    CYGWIN_*|MINGW32_*) ;;
- 	    IRIX*) ;;
--	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
-+	    NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;;
- 	    Darwin-*) ;;
- 	    SCO_SV-3.2*) ;;
- 	    windows) ;;
diff --git a/tcl-fossil/patches/patch-pkgs_tdbcpostgres1.0.4_configure b/tcl-fossil/patches/patch-pkgs_tdbcpostgres1.0.4_configure
deleted file mode 100644
index cc7c20b..0000000
--- a/tcl-fossil/patches/patch-pkgs_tdbcpostgres1.0.4_configure
+++ /dev/null
@@ -1,54 +0,0 @@
-$NetBSD: patch-pkgs_tdbcpostgres1.0.4_configure,v 1.1 2016/03/06 11:47:49 adam Exp $
-
-Add support for DragonFly.
-
---- pkgs/tdbcpostgres1.0.4/configure.orig	2016-01-28 18:07:18.000000000 +0000
-+++ pkgs/tdbcpostgres1.0.4/configure
-@@ -7864,8 +7864,7 @@ 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"
-+		LDFLAGS="-Wl,--export-dynamic"
- 		;;
- 	    esac
- 	    case "$arch" in
-@@ -7885,8 +7884,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
-@@ -7908,7 +7905,7 @@ fi
- 
- fi
- 	    ;;
--	FreeBSD-*)
-+	FreeBSD-*|DragonFly-*)
- 	    # This configuration from FreeBSD Ports.
- 	    SHLIB_CFLAGS="-fPIC"
- 	    SHLIB_LD="${CC} -shared"
-@@ -7930,10 +7927,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
- 	    ;;
-@@ -8544,7 +8537,7 @@ fi
- 	    BSD/OS*) ;;
- 	    CYGWIN_*|MINGW32_*) ;;
- 	    IRIX*) ;;
--	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
-+	    NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;;
- 	    Darwin-*) ;;
- 	    SCO_SV-3.2*) ;;
- 	    windows) ;;
diff --git a/tcl-fossil/patches/patch-pkgs_thread2.8.0_configure b/tcl-fossil/patches/patch-pkgs_thread2.8.0_configure
deleted file mode 100644
index dab1b52..0000000
--- a/tcl-fossil/patches/patch-pkgs_thread2.8.0_configure
+++ /dev/null
@@ -1,53 +0,0 @@
-$NetBSD: patch-pkgs_thread2.8.0_configure,v 1.1 2016/09/03 11:58:01 adam Exp $
-
-Add support for DragonFly.
-
---- pkgs/thread2.8.0/configure.orig	2016-07-05 13:37:40.000000000 +0000
-+++ pkgs/thread2.8.0/configure
-@@ -7520,7 +7520,7 @@ fi
- fi
- 		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
- 		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so${SHLIB_VERSION}'
--		LDFLAGS="-Wl,-export-dynamic"
-+		LDFLAGS="-Wl,--export-dynamic"
- 		;;
- 	    esac
- 	    case "$arch" in
-@@ -7540,8 +7540,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
-@@ -7563,7 +7561,7 @@ fi
- 
- fi
- 	    ;;
--	FreeBSD-*)
-+	FreeBSD-*|DragonFly-*)
- 	    # This configuration from FreeBSD Ports.
- 	    SHLIB_CFLAGS="-fPIC"
- 	    SHLIB_LD="${CC} -shared"
-@@ -7585,10 +7583,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
- 	    ;;
-@@ -8199,7 +8193,7 @@ fi
- 	    BSD/OS*) ;;
- 	    CYGWIN_*|MINGW32_*) ;;
- 	    IRIX*) ;;
--	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
-+	    NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*) ;;
- 	    Darwin-*) ;;
- 	    SCO_SV-3.2*) ;;
- 	    windows) ;;
diff --git a/tcl-fossil/patches/patch-tests_load.test b/tcl-fossil/patches/patch-tests_load.test
deleted file mode 100644
index 6492453..0000000
--- a/tcl-fossil/patches/patch-tests_load.test
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-tests_load.test,v 1.1 2012/08/21 21:31:47 marino Exp $
-
-Carried over from TCL 8.4
-
---- tests/load.test.orig	2012-07-16 11:57:06.000000000 +0000
-+++ tests/load.test
-@@ -21,7 +21,7 @@ if {![info exists ext]} {
-     set ext [info sharedlibextension]
- }
- # Tests require the existence of one of the DLLs in the dltest directory.
--set testDir [file join [file dirname [info nameofexecutable]] dltest]
-+set testDir [file join [file dirname [info nameofexecutable]] .. dltest .libs ]
- set x [file join $testDir pkga$ext]
- set dll "[file tail $x]Required"
- testConstraint $dll [file readable $x]
diff --git a/tcl-fossil/patches/patch-tests_pkgMkIndex.test b/tcl-fossil/patches/patch-tests_pkgMkIndex.test
deleted file mode 100644
index 5734816..0000000
--- a/tcl-fossil/patches/patch-tests_pkgMkIndex.test
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-tests_pkgMkIndex.test,v 1.1 2012/08/21 21:31:47 marino Exp $
-
-Carried over from TCL 8.4
-
---- tests/pkgMkIndex.test.orig	2012-07-16 11:57:06.000000000 +0000
-+++ tests/pkgMkIndex.test
-@@ -557,7 +557,7 @@ removeFile [file join pkg circ2.tcl]
- removeFile [file join pkg circ3.tcl]
- 
- # Some tests require the existence of one of the DLLs in the dltest directory
--set x [file join [file dirname [info nameofexecutable]] dltest \
-+set x [file join [file dirname [info nameofexecutable]] .. dltest .libs \
- 	pkga[info sharedlibextension]]
- set dll "[file tail $x]Required"
- testConstraint $dll [file exists $x]
-@@ -570,7 +570,7 @@ proc pkga_neq { x } {
-     return [expr {! [pkgq_eq $x]}]
- }
- } [file join pkg pkga.tcl]
--    file copy -force $x $fullPkgPath
-+    eval file copy -force [glob "$x*"] $fullPkgPath
- }
- testConstraint exec [llength [info commands ::exec]]
- 
-@@ -596,7 +596,7 @@ test pkgMkIndex-10.2 {package in DLL hid
- } {0 {}}
- 
- if {[testConstraint $dll]} {
--    file delete -force [file join $fullPkgPath [file tail $x]]
-+    eval file delete -force [global [file join $fullPkgPath [file tail "$x*"] ] ]
-     removeFile [file join pkg pkga.tcl]
- }
- 
diff --git a/tcl-fossil/patches/patch-unix_Makefile.in b/tcl-fossil/patches/patch-unix_Makefile.in
deleted file mode 100644
index 32d6859..0000000
--- a/tcl-fossil/patches/patch-unix_Makefile.in
+++ /dev/null
@@ -1,161 +0,0 @@
-$NetBSD: patch-unix_Makefile.in,v 1.11 2016/09/03 11:58:01 adam Exp $
-
-Honour LDFLAGS.
-
---- unix/Makefile.in.orig	2016-07-26 14:07:18.000000000 +0000
-+++ unix/Makefile.in
-@@ -8,6 +8,7 @@ VERSION 		= @TCL_VERSION@
- MAJOR_VERSION		= @TCL_MAJOR_VERSION@
- MINOR_VERSION		= @TCL_MINOR_VERSION@
- PATCH_LEVEL		= @TCL_PATCH_LEVEL@
-+SHLIB_VERSION		= @SHLIB_VERSION@
- 
- #--------------------------------------------------------------------------
- # Things you can change to personalize the Makefile for your own site (you can
-@@ -54,6 +55,8 @@ SCRIPT_INSTALL_DIR	= $(INSTALL_ROOT)$(TC
- 
- # Directory in which to install the include file tcl.h:
- INCLUDE_INSTALL_DIR	= $(INSTALL_ROOT)$(includedir)
-+UNIX_INCLUDE_INSTALL_DIR    = $(INCLUDE_INSTALL_DIR)/tcl/unix
-+GENERIC_INCLUDE_INSTALL_DIR = $(INCLUDE_INSTALL_DIR)/tcl/generic
- 
- # Path to the private tcl header dir:
- PRIVATE_INCLUDE_DIR	= @PRIVATE_INCLUDE_DIR@
-@@ -103,7 +106,7 @@ CFLAGS_OPTIMIZE		= @CFLAGS_OPTIMIZE@
- #CFLAGS			= $(CFLAGS_DEBUG)
- #CFLAGS			= $(CFLAGS_OPTIMIZE)
- #CFLAGS			= $(CFLAGS_DEBUG) $(CFLAGS_OPTIMIZE)
--CFLAGS			= @CFLAGS_DEFAULT@ @CFLAGS@
-+CFLAGS			+= @CFLAGS_DEFAULT@ @CFLAGS@
- 
- # Flags to pass to the linker
- LDFLAGS_DEBUG		= @LDFLAGS_DEBUG@
-@@ -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@
--LD_SEARCH_FLAGS	= @LD_SEARCH_FLAGS@
-+LD_SEARCH_FLAGS	= @LD_SEARCH_FLAGS@ @LDFLAGS@
- 
- # The following symbol is defined to "$(DLTEST_TARGETS)" if dynamic loading is
- # available; this causes everything in the "dltest" subdirectory to be built
-@@ -200,6 +203,7 @@ BUILD_DLTEST		= @BUILD_DLTEST@
- #BUILD_DLTEST		=
- 
- TCL_LIB_FILE		= @TCL_LIB_FILE@
-+TCL_LIB_A_FILE		= ${TCL_LIB_FILE:@SHLIB_SUFFIX@=.a}
- #TCL_LIB_FILE		= libtcl.a
- 
- # Generic lib name used in rules that apply to tcl and tk
-@@ -614,7 +618,7 @@ SRCS = $(GENERIC_SRCS) $(TOMMATH_SRCS) $
- 
- all: binaries libraries doc packages
- 
--binaries: ${LIB_FILE} ${TCL_EXE}
-+binaries: ${LIB_FILE} ${TCL_EXE} ${TCL_LIB_A_FILE}
- 
- libraries:
- 
-@@ -633,6 +637,11 @@ ${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
- 	rm -f $@
- 	@MAKE_STUB_LIB@
- 
-+${TCL_LIB_A_FILE}: ${OBJS}
-+	rm -rf $@
-+	ar cr $@ ${OBJS}
-+	$(RANLIB) $@
-+
- # 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
-@@ -795,9 +804,16 @@ install-binaries: binaries
- 	    done;
- 	@echo "Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/"
- 	@@INSTALL_LIB@
--	@chmod 555 "$(DLL_INSTALL_DIR)/$(LIB_FILE)"
-+	@cd "$(DLL_INSTALL_DIR)" && if test "$(SHLIB_SUFFIX)" = ".dylib"; then \
-+		ln -sf libtcl$(MAJOR_VERSION)$(MINOR_VERSION).$(SHLIB_VERSION)$(SHLIB_SUFFIX) $(LIB_FILE) ; \
-+	else \
-+		ln -sf libtcl$(MAJOR_VERSION)$(MINOR_VERSION)$(SHLIB_SUFFIX).$(SHLIB_VERSION) $(LIB_FILE) ; \
-+	fi
-+	@echo "Installing ${TCL_LIB_A_FILE} to $(DLL_INSTALL_DIR)/"
-+	@$(INSTALL_DATA) ${TCL_LIB_A_FILE} $(DLL_INSTALL_DIR)/${TCL_LIB_A_FILE}
- 	@echo "Installing ${TCL_EXE} as $(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
- 	@$(INSTALL_PROGRAM) ${TCL_EXE} "$(BIN_INSTALL_DIR)/tclsh$(VERSION)${EXE_SUFFIX}"
-+	@cd "$(BIN_INSTALL_DIR)" && ln -sf tclsh$(VERSION)${EXE_SUFFIX} tclsh
- 	@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)/"
-@@ -821,7 +837,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"; \
-@@ -842,6 +858,8 @@ install-libraries: libraries
- 	    done;
- 	@echo "Installing package http 2.8.9 as a Tcl Module";
- 	@$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.6/http-2.8.9.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 \
-@@ -849,13 +867,21 @@ install-libraries: libraries
- 	    done;
- 	@echo "Installing package msgcat 1.6.0 as a Tcl Module";
- 	@$(INSTALL_DATA) $(TOP_DIR)/library/msgcat/msgcat.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/msgcat-1.6.0.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.4.0 as a Tcl Module";
- 	@$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/../tcl8/8.5/tcltest-2.4.0.tm;
-+	@$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/tcltest.tcl "$(SCRIPT_INSTALL_DIR)"/tcltest2.4/tcltest.tcl;
-+	@$(INSTALL_DATA) $(TOP_DIR)/library/tcltest/pkgIndex.tcl "$(SCRIPT_INSTALL_DIR)"/tcltest2.4/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;
- 	@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
- 
- 	@echo "Installing encoding files to $(SCRIPT_INSTALL_DIR)/encoding/";
- 	@for i in $(TOP_DIR)/library/encoding/*.enc ; do \
-@@ -940,7 +966,7 @@ install-doc: doc
- 	done
- 
- install-headers:
--	@for i in "$(INCLUDE_INSTALL_DIR)"; \
-+	@for i in "$(INCLUDE_INSTALL_DIR)" "$(GENERIC_INCLUDE_INSTALL_DIR)" "$(UNIX_INCLUDE_INSTALL_DIR)"; \
- 	    do \
- 	    if [ ! -d "$$i" ] ; then \
- 		echo "Making directory $$i"; \
-@@ -949,13 +975,17 @@ install-headers:
- 		fi; \
- 	    done;
- 	@echo "Installing header files to $(INCLUDE_INSTALL_DIR)/";
--	@for i in $(GENERIC_DIR)/tcl.h $(GENERIC_DIR)/tclDecls.h \
--		$(GENERIC_DIR)/tclOO.h $(GENERIC_DIR)/tclOODecls.h \
--		$(GENERIC_DIR)/tclPlatDecls.h \
--		$(GENERIC_DIR)/tclTomMath.h \
--		$(GENERIC_DIR)/tclTomMathDecls.h ; \
-+	@for i in $(GENERIC_DIR)/*.h ; \
-+	    do \
-+	    $(INSTALL_DATA) $$i "$(GENERIC_INCLUDE_INSTALL_DIR)"; \
-+	    done;
-+	@for i in $(UNIX_DIR)/*.h ; \
-+	    do \
-+	    $(INSTALL_DATA) $$i "$(UNIX_INCLUDE_INSTALL_DIR)"; \
-+	    done;
-+	@for i in tcl.h tclDecls.h tclOO.h tclOODecls.h tclPlatDecls.h; \
- 	    do \
--	    $(INSTALL_DATA) $$i "$(INCLUDE_INSTALL_DIR)"; \
-+	    cd "$(INCLUDE_INSTALL_DIR)" && ln -sf tcl/generic/$$i $$i; \
- 	    done;
- 
- # Optional target to install private headers
diff --git a/tcl-fossil/patches/patch-unix_configure b/tcl-fossil/patches/patch-unix_configure
deleted file mode 100644
index 5c9c79a..0000000
--- a/tcl-fossil/patches/patch-unix_configure
+++ /dev/null
@@ -1,205 +0,0 @@
-$NetBSD: patch-unix_configure,v 1.9 2016/03/06 11:47:49 adam Exp $
-
---- unix/configure.orig	2016-03-01 01:59:35.000000000 +0000
-+++ unix/configure
-@@ -6837,12 +6837,12 @@ fi
- 	    LD_SEARCH_FLAGS=""
- 	    ;;
- 	BSD/OS-4.*)
--	    SHLIB_CFLAGS="-export-dynamic -fPIC"
-+	    SHLIB_CFLAGS="-Wl,--export-dynamic -fPIC"
- 	    SHLIB_LD='${CC} -shared'
- 	    SHLIB_SUFFIX=".so"
- 	    DL_OBJS="tclLoadDl.o"
- 	    DL_LIBS="-ldl"
--	    LDFLAGS="$LDFLAGS -export-dynamic"
-+	    LDFLAGS="$LDFLAGS --export-dynamic"
- 	    CC_SEARCH_FLAGS=""
- 	    LD_SEARCH_FLAGS=""
- 	    ;;
-@@ -7513,7 +7513,7 @@ fi
- 	    CC_SEARCH_FLAGS=""
- 	    LD_SEARCH_FLAGS=""
- 	    ;;
--	OpenBSD-*)
-+	OpenBSD-*|MirBSD-*)
- 	    arch=`arch -s`
- 	    case "$arch" in
- 	    vax)
-@@ -7543,7 +7543,7 @@ fi
- 
- 		LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
- 		SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}.so.${SHLIB_VERSION}'
--		LDFLAGS="-Wl,-export-dynamic"
-+		LDFLAGS="-Wl,--export-dynamic"
- 		;;
- 	    esac
- 	    case "$arch" in
-@@ -7577,7 +7577,7 @@ fi
- 	    SHLIB_SUFFIX=".so"
- 	    DL_OBJS="tclLoadDl.o"
- 	    DL_LIBS=""
--	    LDFLAGS="$LDFLAGS -export-dynamic"
-+	    LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
- 	    if test $doRpath = yes; then
- 
- 		CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
-@@ -7594,7 +7594,7 @@ fi
- fi
- 
- 	    ;;
--	FreeBSD-*)
-+	FreeBSD-*|DragonFly-*)
- 	    # This configuration from FreeBSD Ports.
- 	    SHLIB_CFLAGS="-fPIC"
- 	    SHLIB_LD="${CC} -shared"
-@@ -7628,7 +7628,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
-@@ -8802,7 +8801,7 @@ fi
- 	    BSD/OS*) ;;
- 	    CYGWIN_*|MINGW32_*) ;;
- 	    IRIX*) ;;
--	    NetBSD-*|FreeBSD-*|OpenBSD-*) ;;
-+	    NetBSD-*|FreeBSD-*|OpenBSD-*|DragonFly-*|MirBSD-*) ;;
- 	    Darwin-*) ;;
- 	    SCO_SV-3.2*) ;;
- 	    *) SHLIB_CFLAGS="-fPIC" ;;
-@@ -8844,7 +8843,11 @@ fi
- 
- else
- 
--            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE)"'
-+        if test "${SHLIB_SUFFIX}" = ".dylib" ; then
-+            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/libtcl$(MAJOR_VERSION)$(MINOR_VERSION).$(SHLIB_VERSION)$(SHLIB_SUFFIX)"'
-+        else
-+            INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) "$(LIB_INSTALL_DIR)/$(LIB_FILE).$(SHLIB_VERSION)"'
-+        fi
- 
- fi
- 
-@@ -8879,7 +8882,7 @@ else
- 
- fi
- 
--    INSTALL_STUB_LIB='$(INSTALL_LIBRARY) $(STUB_LIB_FILE) "$(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)"'
-+    INSTALL_STUB_LIB='$(INSTALL_DATA) $(STUB_LIB_FILE) "$(LIB_INSTALL_DIR)/$(STUB_LIB_FILE)"'
- 
-     # 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
-@@ -18910,9 +18913,9 @@ fi
- #	building libtcl as a shared library instead of a static library.
- #--------------------------------------------------------------------
- 
--TCL_UNSHARED_LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
--TCL_SHARED_LIB_SUFFIX=${SHARED_LIB_SUFFIX}
--eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
-+TCL_UNSHARED_LIB_SUFFIX=${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}.a
-+TCL_SHARED_LIB_SUFFIX=${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}${SHLIB_SUFFIX}
-+eval "TCL_LIB_FILE=libtcl${TCL_SHARED_LIB_SUFFIX}"
- 
- # tclConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed
- # since on some platforms TCL_LIB_FILE contains shell escapes.
-@@ -19025,13 +19028,10 @@ else
-     eval libdir="$libdir"
-     # default install directory for bundled packages
-     PACKAGE_DIR="$libdir"
--    if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
--        TCL_LIB_FLAG="-ltcl${TCL_VERSION}"
--    else
--        TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`"
--    fi
-+    TCL_LIB_FLAG="-ltcl${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
-     TCL_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_LIB_FLAG}"
--    TCL_LIB_SPEC="-L${libdir} ${TCL_LIB_FLAG}"
-+    TCL_LIB_SPEC_RPATH="${COMPILER_RPATH_FLAG}${libdir}"
-+    TCL_LIB_SPEC="${TCL_LIB_SPEC_RPATH} -L${libdir} ${TCL_LIB_FLAG}"
- fi
- VERSION='${VERSION}'
- eval "CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}"
-@@ -19050,12 +19050,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"
--elif test "$prefix/lib" != "$libdir"; then
--    TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"
- else
--    TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}"
-+    TCL_PACKAGE_PATH="${prefix}/lib/tcl ${prefix}/lib"
- fi
- 
-+
- #--------------------------------------------------------------------
- #       The statements below define various symbols relating to Tcl
- #       stub support.
-@@ -19068,12 +19067,7 @@ eval "TCL_STUB_LIB_FILE=libtclstub${TCL_
- eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
- eval "TCL_STUB_LIB_DIR=${libdir}"
- 
--if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
--    TCL_STUB_LIB_FLAG="-ltclstub${TCL_VERSION}"
--else
--    TCL_STUB_LIB_FLAG="-ltclstub`echo ${TCL_VERSION} | tr -d .`"
--fi
--
-+TCL_STUB_LIB_FLAG="-ltclstub${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}"
- 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}"
-@@ -19227,34 +19221,15 @@ fi
- # Transform confdefs.h into DEFS.
- # Protect against shell expansion while executing Makefile rules.
- # Protect against Makefile macro expansion.
--#
--# If the first sed substitution is executed (which looks for macros that
--# take arguments), then we branch to the quote section.  Otherwise,
--# look for a macro that doesn't take arguments.
--cat >confdef2opt.sed <<\_ACEOF
--t clear
--: clear
--s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
--t quote
--s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
--t quote
--d
--: quote
--s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
--s,\[,\\&,g
--s,\],\\&,g
--s,\$,$$,g
--p
--_ACEOF
--# We use echo to avoid assuming a particular line-breaking character.
--# The extra dot is to prevent the shell from consuming trailing
--# line-breaks from the sub-command output.  A line-break within
--# single-quotes doesn't work because, if this script is created in a
--# platform that uses two characters for line-breaks (e.g., DOS), tr
--# would break.
--ac_LF_and_DOT=`echo; echo .`
--DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
--rm -f confdef2opt.sed
-+cat > conftest.defs <<\EOF
-+s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
-+s%[ 	`~#$^&*(){}\\|;'"<>?]%\\&%g
-+s%\[%\\&%g
-+s%\]%\\&%g
-+s%\$%$$%g
-+EOF
-+DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
-+rm -f conftest.defs
- 
- 
- 
-@@ -19882,6 +19857,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
-+s,@SHLIB_VERSION@,$SHLIB_VERSION,;t t
- CEOF
- 
- _ACEOF
diff --git a/tcl-fossil/patches/patch-unix_tclConfig.sh.in b/tcl-fossil/patches/patch-unix_tclConfig.sh.in
deleted file mode 100644
index e9e8eff..0000000
--- a/tcl-fossil/patches/patch-unix_tclConfig.sh.in
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-unix_tclConfig.sh.in,v 1.2 2014/10/31 21:11:18 adam Exp $
-
---- unix/tclConfig.sh.in.orig	2014-08-26 15:23:08.000000000 +0000
-+++ unix/tclConfig.sh.in
-@@ -9,6 +9,8 @@
- #
- # The information in this file is specific to a single platform.
- 
-+if [ -z "${_TCL_NOTHREAD}" ]; then
-+
- # Tcl's version number.
- TCL_VERSION='@TCL_VERSION@'
- 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 enabled, 0 we didn't
- TCL_THREADS=@TCL_THREADS@
-+
-+else
-+
-+. @prefix@/lib/tclConfig-nothread.sh
-+
-+fi
diff --git a/tcl-fossil/patches/patch-unix_tclUnixCompat.c b/tcl-fossil/patches/patch-unix_tclUnixCompat.c
deleted file mode 100644
index 9d81e81..0000000
--- a/tcl-fossil/patches/patch-unix_tclUnixCompat.c
+++ /dev/null
@@ -1,67 +0,0 @@
-$NetBSD: patch-unix_tclUnixCompat.c,v 1.1 2012/12/29 13:49:12 bsiegert 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
-@@ -197,10 +197,14 @@ TclpGetPwNam(
-      */
- 
-     if (tsdPtr->pbuf == NULL) {
-+#ifdef _SC_GETPW_R_SIZE_MAX
- 	tsdPtr->pbuflen = (int) sysconf(_SC_GETPW_R_SIZE_MAX);
- 	if (tsdPtr->pbuflen < 1) {
-+#endif
- 	    tsdPtr->pbuflen = 1024;
-+#ifdef _SC_GETPW_R_SIZE_MAX
- 	}
-+#endif
- 	tsdPtr->pbuf = ckalloc(tsdPtr->pbuflen);
- 	Tcl_CreateThreadExitHandler(FreePwBuf, NULL);
-     }
-@@ -277,10 +281,14 @@ TclpGetPwUid(
-      */
- 
-     if (tsdPtr->pbuf == NULL) {
-+#ifdef _SC_GETPW_R_SIZE_MAX
- 	tsdPtr->pbuflen = (int) sysconf(_SC_GETPW_R_SIZE_MAX);
- 	if (tsdPtr->pbuflen < 1) {
-+#endif
- 	    tsdPtr->pbuflen = 1024;
-+#ifdef _SC_GETPW_R_SIZE_MAX
- 	}
-+#endif
- 	tsdPtr->pbuf = ckalloc(tsdPtr->pbuflen);
- 	Tcl_CreateThreadExitHandler(FreePwBuf, NULL);
-     }
-@@ -380,10 +388,14 @@ TclpGetGrNam(
-      */
- 
-     if (tsdPtr->gbuf == NULL) {
-+#ifdef _SC_GETGR_R_SIZE_MAX
- 	tsdPtr->gbuflen = (int) sysconf(_SC_GETGR_R_SIZE_MAX);
- 	if (tsdPtr->gbuflen < 1) {
-+#endif
- 	    tsdPtr->gbuflen = 1024;
-+#ifdef _SC_GETGR_R_SIZE_MAX
- 	}
-+#endif
- 	tsdPtr->gbuf = ckalloc(tsdPtr->gbuflen);
- 	Tcl_CreateThreadExitHandler(FreeGrBuf, NULL);
-     }
-@@ -460,10 +472,14 @@ TclpGetGrGid(
-      */
- 
-     if (tsdPtr->gbuf == NULL) {
-+#ifdef _SC_GETGR_R_SIZE_MAX
- 	tsdPtr->gbuflen = (int) sysconf(_SC_GETGR_R_SIZE_MAX);
- 	if (tsdPtr->gbuflen < 1) {
-+#endif
- 	    tsdPtr->gbuflen = 1024;
-+#ifdef _SC_GETGR_R_SIZE_MAX
- 	}
-+#endif
- 	tsdPtr->gbuf = ckalloc(tsdPtr->gbuflen);
- 	Tcl_CreateThreadExitHandler(FreeGrBuf, NULL);
-     }
diff --git a/tcl-fossil/patches/patch-unix_tclUnixFCmd.c b/tcl-fossil/patches/patch-unix_tclUnixFCmd.c
deleted file mode 100644
index 59023bf..0000000
--- a/tcl-fossil/patches/patch-unix_tclUnixFCmd.c
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-unix_tclUnixFCmd.c,v 1.2 2014/01/11 14:41:05 adam Exp $
-
-Carried over from TCL 8.4
-
---- unix/tclUnixFCmd.c.orig	2012-07-16 11:57:06.000000000 +0000
-+++ unix/tclUnixFCmd.c
-@@ -676,6 +676,14 @@ TclpDeleteFile(
-  *---------------------------------------------------------------------------
-  */
- 
-+/* Reintroduced here for the benefit of scotty */
-+int
-+TclpCreateDirectory(path)
-+    CONST char *path;
-+{
-+    return DoCreateDirectory(path);
-+}
-+
- int
- TclpObjCreateDirectory(
-     Tcl_Obj *pathPtr)
diff --git a/tcl-fossil/patches/patch-unix_tclUnixInit.c b/tcl-fossil/patches/patch-unix_tclUnixInit.c
deleted file mode 100644
index 37f5bc9..0000000
--- a/tcl-fossil/patches/patch-unix_tclUnixInit.c
+++ /dev/null
@@ -1,65 +0,0 @@
-$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	2014-07-28 14:43:56.000000000 +0000
-+++ unix/tclUnixInit.c
-@@ -22,7 +22,7 @@
- #    endif
- #endif
- #include <sys/resource.h>
--#if defined(__FreeBSD__) && defined(__GNUC__)
-+#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(__GNUC__)
- #   include <floatingpoint.h>
- #endif
- #if defined(__bsdi__)
-@@ -31,6 +31,12 @@
- #	include <dlfcn.h>
- #   endif
- #endif
-+#if defined(__NetBSD__)
-+#include <sys/param.h>
-+#include <sys/sysctl.h>
-+#include <sys/utsname.h>
-+#endif
-+
- 
- #ifdef __CYGWIN__
- DLLIMPORT extern __stdcall unsigned char GetVersionExW(void *);
-@@ -390,7 +396,7 @@ TclpInitPlatform(void)
-     (void) signal(SIGPIPE, SIG_IGN);
- #endif /* SIGPIPE */
- 
--#if defined(__FreeBSD__) && defined(__GNUC__)
-+#if (defined(__FreeBSD__) || defined(__DragonFly__)) && defined(__GNUC__)
-     /*
-      * 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(
- #endif
-     int unameOK;
-     Tcl_DString ds;
-+#if defined(__NetBSD__)
-+    char machine_arch[SYS_NMLN];
-+    int mib[2] = { CTL_HW, HW_MACHINE_ARCH };
-+    size_t len = sizeof(machine_arch);
-+#endif
- 
- #ifdef HAVE_COREFOUNDATION
-     char tclLibPath[MAXPATHLEN + 1];
-@@ -938,8 +949,15 @@ TclpSetVariables(
- 
- #endif /* DJGPP */
- 	}
-+#if defined(__NetBSD__)
-+	if (sysctl(mib, sizeof(mib) / sizeof(int), machine_arch, &len, NULL, 0) < 0)
-+	    unameOK = 0;
-+	else
-+            Tcl_SetVar2(interp, "tcl_platform", "machine", machine_arch, TCL_GLOBAL_ONLY);
-+#else
- 	Tcl_SetVar2(interp, "tcl_platform", "machine", name.machine,
- 		TCL_GLOBAL_ONLY);
-+#endif /* __NetBSD__ */
-     }
- #endif /* !NO_UNAME */
-     if (!unameOK) {
diff --git a/tcl-fossil/patches/patch-unix_tclUnixPort.h b/tcl-fossil/patches/patch-unix_tclUnixPort.h
deleted file mode 100644
index 7eda90a..0000000
--- a/tcl-fossil/patches/patch-unix_tclUnixPort.h
+++ /dev/null
@@ -1,17 +0,0 @@
-$NetBSD: patch-unix_tclUnixPort.h,v 1.4 2016/03/06 11:47:49 adam Exp $
-
---- unix/tclUnixPort.h.orig	2016-02-25 20:12:38.000000000 +0000
-+++ unix/tclUnixPort.h
-@@ -145,11 +145,7 @@ typedef off_t		Tcl_SeekOffset;
- #if HAVE_STDINT_H
- #   include <stdint.h>
- #endif
--#ifdef HAVE_UNISTD_H
--#   include <unistd.h>
--#else
--#   include "../compat/unistd.h"
--#endif
-+#include <unistd.h>
- 
- extern int TclUnixSetBlockingMode(int fd, int mode);
- 



Home | Main Index | Thread Index | Old Index