<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/401909b0792bf4f2b0b65f30d9ac17fd610b2068">https://github.com/macports/macports-ports/commit/401909b0792bf4f2b0b65f30d9ac17fd610b2068</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 401909b0792 scribus: Fix build with clang 11
</span>401909b0792 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 401909b0792bf4f2b0b65f30d9ac17fd610b2068
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jul 7 17:54:01 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> scribus: Fix build with clang 11
</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/66704
</span>---
print/scribus/Portfile | 1 +
print/scribus/files/lib2geom.patch | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/scribus/Portfile b/print/scribus/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bfc90319d06..256b7720734 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/print/scribus/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/scribus/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,6 +53,7 @@ depends_lib-append port:hunspell \
</span> port:zlib
patchfiles arch-and-deployment-target.patch \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ lib2geom.patch \
</span> ordered-comparison.patch
# podofo requires C++11 with TLS
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/scribus/files/lib2geom.patch b/print/scribus/files/lib2geom.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..295056d3cee
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/scribus/files/lib2geom.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Remove broken unused constructor. Fixes build error with clang 11:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: no viable overloaded '='
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://bugs.scribus.net/view.php?id=16605
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/scribusproject/scribus/commit/34dee8142844a7ee70ddff95253d0299896bcc16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://gitlab.com/inkscape/lib2geom/-/commit/014438214a837e8193edd342c9f701b1858e493c#ab2e5db20b80be8d13059370abeebc3ca83bff73_178_250
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- scribus/plugins/tools/2geomtools/lib2geom/path.h.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ scribus/plugins/tools/2geomtools/lib2geom/path.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -250,15 +250,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ double valueAt(double t, Dim2 d) const { return inner[d].valueAt(t); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ D2<SBasis> toSBasis() const {return inner.toSBasis(); }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-protected:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BezierCurve(Point c[]) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- Coord x[order+1], y[order+1];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- for(unsigned i = 0; i <= order; i++) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- x[i] = c[i][X]; y[i] = c[i][Y];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- inner = Bezier(x, y);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // BezierCurve<0> is meaningless; specialize it out
</span></pre><pre style='margin:0'>
</pre>