<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/3e3668e590aa3bac061d4ebae48216411e2c6308">https://github.com/macports/macports-ports/commit/3e3668e590aa3bac061d4ebae48216411e2c6308</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 3e3668e590a fig2dev: fix getline on < 11
</span>3e3668e590a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3e3668e590aa3bac061d4ebae48216411e2c6308
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Wed Dec 23 16:48:51 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> fig2dev: fix getline on < 11
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> one missing header
</span><span style='display:block; white-space:pre;color:#404040;'> does well on test suite
</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/61905
</span>---
print/fig2dev/Portfile | 4 ++++
print/fig2dev/files/patch-fig2dev-getline-c.diff | 10 ++++++++++
2 files changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/fig2dev/Portfile b/print/fig2dev/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ef473fb82c5..3f3caa7d478 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/print/fig2dev/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/fig2dev/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +40,10 @@ variant universal {}
</span>
patchfiles patch-fig2dev-dev-genemf.h.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 11} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-fig2dev-getline-c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
set docdir ${destroot}${prefix}/share/doc/${name}
xinstall -d ${docdir}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/print/fig2dev/files/patch-fig2dev-getline-c.diff b/print/fig2dev/files/patch-fig2dev-getline-c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..84add8d6585
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/print/fig2dev/files/patch-fig2dev-getline-c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./fig2dev/lib/getline.c.orig 2020-12-23 16:41:59.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./fig2dev/lib/getline.c 2020-12-23 16:42:35.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,6 +27,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ssize_t
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ getline(char **restrict line, size_t *restrict n, FILE *restrict fp)
</span></pre><pre style='margin:0'>
</pre>