<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/92fd7524837325413c6c57879526edfc49b05482">https://github.com/macports/macports-ports/commit/92fd7524837325413c6c57879526edfc49b05482</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 92fd7524837 gdb: Update python patchfile
</span>92fd7524837 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 92fd7524837325413c6c57879526edfc49b05482
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Apr 8 17:09:00 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> gdb: Update python patchfile
</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/67207
</span>---
devel/gdb/Portfile | 1 -
devel/gdb/files/patch-python-config.py.diff | 8 ++++----
2 files changed, 4 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gdb/Portfile b/devel/gdb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 66a3f9f006b..6923334c998 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +28,6 @@ the same machine as GDB (native) or on another machine (remote). GDB \
</span> can run on most popular UNIX and Microsoft Windows variants.
homepage https://www.gnu.org/software/gdb/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> supported_archs x86_64 i386
master_sites gnu
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gdb/files/patch-python-config.py.diff b/devel/gdb/files/patch-python-config.py.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 6285c9e5270..d57cdfff2bb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gdb/files/patch-python-config.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gdb/files/patch-python-config.py.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- gdb/python/python-config.py 2017-06-04 10:51:27.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ gdb/python/python-config.py 2017-11-17 10:14:07.000000000 -0600
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -77,7 +77,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gdb/python/python-config.py.orig 2023-02-01 22:45:52.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gdb/python/python-config.py 2023-04-08 17:07:57.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -77,6 +77,6 @@
</span> libs.insert(0, "-L" + getvar("LIBPL"))
elif os.name == "nt":
<span style='display:block; white-space:pre;background:#ffe0e0;'>- libs.insert(0, "-L" + sysconfig.PREFIX + "/libs")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libs.insert(0, "-L" + os.path.normpath(sys.prefix) + "/libs")
</span> - if getvar("LINKFORSHARED") is not None:
+ if not getvar("PYTHONFRAMEWORK"):
libs.extend(getvar("LINKFORSHARED").split())
</pre><pre style='margin:0'>
</pre>