<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/228cd1fe86f238f913a73451d0cb8ab4661ab392">https://github.com/macports/macports-ports/commit/228cd1fe86f238f913a73451d0cb8ab4661ab392</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 228cd1fe86f238f913a73451d0cb8ab4661ab392
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Mon Jan 4 20:56:38 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> tcl: update to 8.6.11
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Prefer configure.args-replace, explicit --enable-corefoundation
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Drop patch hunks no longer needed due to upstream improvements
</span>---
lang/tcl/Portfile | 13 ++++---
lang/tcl/files/implicit.patch | 86 -------------------------------------------
2 files changed, 7 insertions(+), 92 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/tcl/Portfile b/lang/tcl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ed79e1db63f..f3c01fc25e7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/tcl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/tcl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,8 +3,8 @@
</span> PortSystem 1.0
name tcl
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 8.6.10
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 8.6.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> # Tk (x11/tk) port depends on this version
categories lang
license Tcl/Tk
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,9 +21,9 @@ long_description \
</span> homepage https://www.tcl-lang.org/
master_sites sourceforge:project/tcl/Tcl/${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 e44c76e48b77c825dc6fb7a78ef8f7297106784a \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5196dbf6638e3df8d5c87b5815c8c2b758496eb6f0e41446596c9a4e638d87ed \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 10144235
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 e36d8455f656b12006c3fe29a5240c7ccae2b133 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8c0486668586672c5693d7d95817cb05a18c5ecca2f40e2836b9578064088258 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 10259009
</span>
distname ${name}${version}-src
worksrcdir ${name}${version}/unix
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -66,7 +66,8 @@ variant threads description {add multithreading support} {
</span> platform macosx {
# CF is not fork()-safe and software e.g. using tk and fork() will crash
variant corefoundation description {Enable CoreFoundation support (not fork-safe)} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-corefoundation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-corefoundation \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-corefoundation
</span> }
# tk +quartz crashes at launch without CF support
default_variants-append +corefoundation
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/tcl/files/implicit.patch b/lang/tcl/files/implicit.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 8b2f3112a14..58dda438633 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/tcl/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/tcl/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,52 +18,8 @@
</span> tcl_cv_timezone_time=yes, tcl_cv_timezone_time=no)])
if test $tcl_cv_timezone_time = yes ; then
AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?])
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.in.orig 2019-11-22 06:10:50.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure.in 2020-12-24 11:32:46.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -343,7 +343,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SC_TCL_CHECK_BROKEN_FUNC(strstr, [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extern int strstr();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit(strstr("\0test", "test") ? 1 : 0);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return (strstr("\0test", "test") ? 1 : 0);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #--------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -355,7 +355,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- SC_TCL_CHECK_BROKEN_FUNC(strtoul, [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extern int strtoul();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char *term, *string = "0";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit(strtoul(string,&term,0) != 0 || term != string+1);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return (strtoul(string,&term,0) != 0 || term != string+1);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #--------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -498,7 +498,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_CACHE_CHECK([for a putenv() that copies the buffer], tcl_cv_putenv_copy, [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_TRY_RUN([
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #if HAVE_STDLIB_H
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #if HAVE_STRING_H
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #include <string.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define OURVAR "havecopy=yes"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int main (int argc, char *argv[])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span> --- configure.orig 2019-11-22 06:10:50.000000000 +1100
+++ configure 2020-12-24 11:31:42.000000000 +1100
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2842,8 +2842,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for (i = 0; i < 256; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (XOR (islower (i), ISLOWER (i))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- || toupper (i) != TOUPPER (i))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit(2);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit (0);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return (2);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return (0);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _ACEOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rm -f conftest$ac_exeext
</span> @@ -14099,7 +14099,7 @@
{
extern long timezone;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,45 +38,3 @@
</span> ;
return 0;
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -14923,9 +14923,11 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cat confdefs.h >>conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cat >>conftest.$ac_ext <<_ACEOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if HAVE_STRING_H
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <string.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int main() {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- extern int strstr();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit(strstr("\0test", "test") ? 1 : 0);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return (strstr("\0test", "test") ? 1 : 0);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _ACEOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rm -f conftest$ac_exeext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -15090,10 +15092,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cat confdefs.h >>conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cat >>conftest.$ac_ext <<_ACEOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if HAVE_STDLIB_H
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int main() {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- extern int strtoul();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char *term, *string = "0";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- exit(strtoul(string,&term,0) != 0 || term != string+1);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return (strtoul(string,&term,0) != 0 || term != string+1);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- _ACEOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rm -f conftest$ac_exeext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -16462,7 +16466,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cat >>conftest.$ac_ext <<_ACEOF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #if HAVE_STDLIB_H
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #if HAVE_STRING_H
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #include <string.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define OURVAR "havecopy=yes"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int main (int argc, char *argv[])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span></pre><pre style='margin:0'>
</pre>