<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/3a29566610b022445114eec74cd1092df982a7d9">https://github.com/macports/macports-ports/commit/3a29566610b022445114eec74cd1092df982a7d9</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 3a29566610b py-libxml2: fix build with older gcc compilers
</span>3a29566610b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3a29566610b022445114eec74cd1092df982a7d9
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Wed Oct 12 18:17:49 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> py-libxml2: fix build with older gcc compilers
</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/65984
</span>---
python/py-libxml2/Portfile | 4 ++++
python/py-libxml2/files/patch-py-libxml-deprecation-typo.diff | 11 +++++++++++
2 files changed, 15 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-libxml2/Portfile b/python/py-libxml2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 91b7b033d42..07b466f220a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-libxml2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-libxml2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,6 +44,10 @@ if {${name} ne ${subport}} {
</span>
patchfiles patch-setup.py.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fix a typo that shows up with older gcc compilers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/65984
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-py-libxml-deprecation-typo.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
reinplace "s|@LIBXML_VERSION@|${version}|g;s|@prefix@|${prefix}|g" ${worksrcpath}/setup.py
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-libxml2/files/patch-py-libxml-deprecation-typo.diff b/python/py-libxml2/files/patch-py-libxml-deprecation-typo.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..ddbcd05a484
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-libxml2/files/patch-py-libxml-deprecation-typo.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- libxml_wrap.h.orig 2022-10-12 17:40:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ libxml_wrap.h 2022-10-12 17:41:04.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -71,7 +71,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define XML_POP_WARNINGS \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _Pragma("GCC diagnostic pop")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#define XML_IGNORE_PEDANTIC_WARNINGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define XML_IGNORE_DEPRECATION_WARNINGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define XML_POP_WARNINGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>