<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/84f5f871ad0d7195e08a14d0d396ed0f401da798">https://github.com/macports/macports-base/commit/84f5f871ad0d7195e08a14d0d396ed0f401da798</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 84f5f871 fix more implicit declarations in vendored tclx
</span>84f5f871 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 84f5f871ad0d7195e08a14d0d396ed0f401da798
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Dec 22 21:23:57 2020 +1100
<span style='display:block; white-space:pre;color:#404040;'> fix more implicit declarations in vendored tclx
</span>---
.../tclx/configure-implicit-declarations.patch | 38 ++++++++++++++++++++++
vendor/tclx8.4/configure | 8 ++---
2 files changed, 42 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/vendor/patches/tclx/configure-implicit-declarations.patch b/vendor/patches/tclx/configure-implicit-declarations.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 47a94c11..4691d9db 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/vendor/patches/tclx/configure-implicit-declarations.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/vendor/patches/tclx/configure-implicit-declarations.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,3 +44,41 @@ index 18d71343f..6b6ab41e4 100644
</span> extern double strtod();
int main() {
char *infString="Inf", *nanString="NaN", *spaceString=" ";
<span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/vendor/tclx8.4/configure.orig 2020-12-22 21:08:08.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/vendor/tclx8.4/configure 2020-12-22 21:14:04.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10559,7 +10559,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extern long timezone;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ timezone += 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10624,7 +10624,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extern time_t timezone;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ timezone += 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10772,7 +10772,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ struct tms cpu;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ times(&cpu);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sleep(2);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit ((times(&cpu) > 0) ? 0 : 1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return ((times(&cpu) > 0) ? 0 : 1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -13012,7 +13012,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ main ()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (catclose ((nl_catd) 0) == 0) exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (catclose ((nl_catd) 0) == 0) return (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/vendor/tclx8.4/configure b/vendor/tclx8.4/configure
</span><span style='display:block; white-space:pre;color:#808080;'>index 154515cc..aeee0f98 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/vendor/tclx8.4/configure
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/vendor/tclx8.4/configure
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10559,7 +10559,7 @@ main ()
</span> {
extern long timezone;
timezone += 1;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return (0);
</span> ;
return 0;
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10624,7 +10624,7 @@ main ()
</span> {
extern time_t timezone;
timezone += 1;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return (0);
</span> ;
return 0;
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10772,7 +10772,7 @@ main() {
</span> struct tms cpu;
times(&cpu);
sleep(2);
<span style='display:block; white-space:pre;background:#ffe0e0;'>- exit ((times(&cpu) > 0) ? 0 : 1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return ((times(&cpu) > 0) ? 0 : 1);
</span> }
_ACEOF
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13012,7 +13012,7 @@ int
</span> main ()
{
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if (catclose ((nl_catd) 0) == 0) exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (catclose ((nl_catd) 0) == 0) return (0);
</span> ;
return 0;
}
</pre><pre style='margin:0'>
</pre>