<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/96c9d4293aaa701ee42f292ddae87740c2b45ff6">https://github.com/macports/macports-ports/commit/96c9d4293aaa701ee42f292ddae87740c2b45ff6</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 96c9d4293aa coreutils: fix build on Leopard
</span>96c9d4293aa is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 96c9d4293aaa701ee42f292ddae87740c2b45ff6
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Dec 11 09:57:50 2022 -0800
<span style='display:block; white-space:pre;color:#404040;'> coreutils: fix build on Leopard
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> there are several tests run during configure, for issues that
</span><span style='display:block; white-space:pre;color:#404040;'> do not occur on Darwin, that fail in an unusual fashion on Leopard.
</span><span style='display:block; white-space:pre;color:#404040;'> This failure does not appear to occur on any other systems.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This patch avoids running these failing tests on Leopard.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> see: https://trac.macports.org/ticket/62994
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/66028
</span>---
sysutils/coreutils/Portfile | 8 ++++++++
.../patch-coreutiles-leopeard-path-issues.diff | 21 +++++++++++++++++++++
2 files changed, 29 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/coreutils/Portfile b/sysutils/coreutils/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 198e4286025..5f4eda3e4fa 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/coreutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/coreutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,6 +36,14 @@ checksums rmd160 c240beab8617b8530aca797f591ee1809c4cbf49 \
</span> sha256 61a1f410d78ba7e7f37a5a4f50e6d1320aca33375484a3255eddf17a38580423 \
size 5712104
<span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 9 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # there is a unique error on Leopard involving deep directories
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this patch disables these tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/66028
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/62994
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-coreutiles-leopeard-path-issues.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append \
port:gettext
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/coreutils/files/patch-coreutiles-leopeard-path-issues.diff b/sysutils/coreutils/files/patch-coreutiles-leopeard-path-issues.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..40a3790ecb7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/coreutils/files/patch-coreutiles-leopeard-path-issues.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2022-12-11 09:21:24.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2022-12-11 09:24:30.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -43016,6 +43016,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int
</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;'>++/* just skip this */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef PATH_MAX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* The Hurd doesn't define this, so getcwd can't exhibit the bug --
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ at least not on a local file system. And if we were to start worrying
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -43297,7 +43300,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* The bug is triggered when PATH_MAX < getpagesize (), so skip
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this relatively expensive and invasive test if that's not true. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef PATH_MAX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- int bug_possible = PATH_MAX < getpagesize ();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ int bug_possible = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int bug_possible = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span></pre><pre style='margin:0'>
</pre>