<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/3fa393c752d0b0fad3c091706005bf4bedf4d0c7">https://github.com/macports/macports-ports/commit/3fa393c752d0b0fad3c091706005bf4bedf4d0c7</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 3fa393c752d python37: prevent overlinking with libuuid
</span>3fa393c752d is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 3fa393c752d0b0fad3c091706005bf4bedf4d0c7
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Oct 26 17:10:55 2023 +1100

<span style='display:block; white-space:pre;color:#404040;'>    python37: prevent overlinking with libuuid
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/68183
</span>---
 lang/python37/files/patch-setup.py.diff | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python37/files/patch-setup.py.diff b/lang/python37/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 27216b4512d..d5b8e443bd4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python37/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python37/files/patch-setup.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- setup.py.orig  2018-03-29 22:57:55.000000000 +1100
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ setup.py       2018-04-27 05:55:22.000000000 +1000
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -43,7 +43,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- setup.py.orig  2023-06-06 06:45:13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py       2023-10-26 17:08:21
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -48,7 +48,7 @@
</span>  COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS"))
  
  # This global variable is used to hold the list of modules to be disabled.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@
</span>  
  def add_dir_to_list(dirlist, dir):
      """Add the directory 'dir' to the list 'dirlist' (after any relative
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -540,9 +540,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -584,9 +584,6 @@
</span>          # Ensure that /usr/local is always used, but the local build
          # directories (i.e. '.' and 'Include') must be first.  See issue
          # 10520.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,7 +19,19 @@
</span>          # only change this for cross builds for 3.3, issues on Mageia
          if cross_compiling:
              self.add_gcc_paths()
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1789,9 +1786,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1671,10 +1668,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         # Build the _uuid module if possible
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         uuid_incs = find_file("uuid.h", inc_dirs, ["/usr/include/uuid"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         if uuid_incs is not None:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-            if self.compiler.find_library_file(lib_dirs, 'uuid'):
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-                uuid_libs = ['uuid']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-            else:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-                uuid_libs = []
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++            uuid_libs = []
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             self.extensions.append(Extension('_uuid', ['_uuidmodule.c'],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                    libraries=uuid_libs,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                                    include_dirs=uuid_incs))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1829,9 +1823,8 @@
</span>          # Rather than complicate the code below, detecting and building
          # AquaTk is a separate method. Only one Tkinter will be built on
          # Darwin - either AquaTk, if it is found, or X11 based Tk.
</pre><pre style='margin:0'>

</pre>