<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/98f7c33e5da925577e3625ea0c7be3e626cd017d">https://github.com/macports/macports-ports/commit/98f7c33e5da925577e3625ea0c7be3e626cd017d</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 98f7c33e5da php-xdebug: Fix crash when removing a breakpoint
</span>98f7c33e5da is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 98f7c33e5da925577e3625ea0c7be3e626cd017d
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Dec 2 21:27:44 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> php-xdebug: Fix crash when removing a breakpoint
</span>---
php/php-xdebug/Portfile | 4 +++-
php/php-xdebug/files/breakpoint.patch | 13 +++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-xdebug/Portfile b/php/php-xdebug/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c404227d0c6..0c2844e137e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/php/php-xdebug/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/php/php-xdebug/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,10 +21,12 @@ if {[vercmp ${php.branch} 7.2] >= 0} {
</span> legacysupport.newest_darwin_requires_legacy 15
version 3.0.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> checksums rmd160 e762af686a004f7762f8eaf5539e8c4a8ce5da29 \
sha256 845007e82c1d4e088770d1d87f5832aa3a767cb5a3664fc1615db62cecc3ca62 \
size 190176
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append breakpoint.patch
</span> } elseif {[vercmp ${php.branch} 7.1] >= 0} {
version 2.9.8
revision 0
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/php/php-xdebug/files/breakpoint.patch b/php/php-xdebug/files/breakpoint.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..c9f4f78fff4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/php/php-xdebug/files/breakpoint.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix crash when removing a breakpoint.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://bugs.xdebug.org/view.php?id=1897
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/xdebug/xdebug/pull/694
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/debugger/handler_dbgp.c.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/debugger/handler_dbgp.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -698,7 +698,6 @@ static int breakpoint_remove(int type, char *hkey)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (atoi(parts->args[1]) == brk_info->original_lineno && memcmp(ZSTR_VAL(brk_info->filename), parts->args[0], ZSTR_LEN(brk_info->filename)) == 0) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xdebug_llist_remove(XG_DBG(context).line_breakpoints, le, NULL);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ retval = SUCCESS;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- xdebug_arg_dtor(parts);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span></pre><pre style='margin:0'>
</pre>