<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/29af321b6d9530e7b69483741dc08675ca0ef3b0">https://github.com/macports/macports-ports/commit/29af321b6d9530e7b69483741dc08675ca0ef3b0</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 29af321b6d9 py-meson: Update patch-meson64-32bit-apple.diff
</span>29af321b6d9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 29af321b6d9530e7b69483741dc08675ca0ef3b0
</span>Author: Dentcho Bankov <dbankov@gmail.com>
AuthorDate: Sun Jul 28 18:30:39 2024 +0300
<span style='display:block; white-space:pre;color:#404040;'> py-meson: Update patch-meson64-32bit-apple.diff
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> "sudo port install glib2" was failing on OS X 10.4 Tiger (32-bit) with
</span><span style='display:block; white-space:pre;color:#404040;'> meson build reporting "subprocess" being an undefined symbol. The above
</span><span style='display:block; white-space:pre;color:#404040;'> used to happen because patch-meson64-32bit-apple.diff introduces some
</span><span style='display:block; white-space:pre;color:#404040;'> code which depends on "subprocess" python module but the module itself
</span><span style='display:block; white-space:pre;color:#404040;'> is not imported. This change updates patch-meson64-32bit-apple.diff file
</span><span style='display:block; white-space:pre;color:#404040;'> to include an import statement for the "subprocess" module to resolve
</span><span style='display:block; white-space:pre;color:#404040;'> the described failure.
</span>---
python/py-meson/files/patch-meson64-32bit-apple.diff | 8 ++++++++
1 file changed, 8 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-meson/files/patch-meson64-32bit-apple.diff b/python/py-meson/files/patch-meson64-32bit-apple.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 0dbc4e2bbcc..333268155f5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-meson/files/patch-meson64-32bit-apple.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-meson/files/patch-meson64-32bit-apple.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,13 @@
</span> --- mesonbuild/environment.py.orig 2020-07-05 13:13:14.000000000 -0700
+++ mesonbuild/environment.py 2020-07-14 13:46:43.000000000 -0700
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,6 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ import itertools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ import os, platform, re, sys, shutil
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++import subprocess
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ import typing as T
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ import collections
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> @@ -314,6 +314,23 @@
return 'x86'
return os_arch
</pre><pre style='margin:0'>
</pre>