<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/b8e0193980a56989a137a2db225ff19aaf6d5ebf">https://github.com/macports/macports-ports/commit/b8e0193980a56989a137a2db225ff19aaf6d5ebf</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 b8e0193980a xournal: Fix implicit declaration of functions
</span>b8e0193980a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit b8e0193980a56989a137a2db225ff19aaf6d5ebf
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Sep 9 09:14:07 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> xournal: Fix implicit declaration of functions
</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/61147
</span>---
x11/xournal/Portfile | 2 ++
x11/xournal/files/implicit.patch | 52 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xournal/Portfile b/x11/xournal/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 322da5556cb..34392bc35b5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/xournal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xournal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,6 +31,8 @@ depends_lib port:gtk2 \
</span> port:poppler \
port:zlib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> require_active_variants gtk2 x11
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/xournal/files/implicit.patch b/x11/xournal/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b729b26c529
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/xournal/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,52 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix these problems:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+implicit declaration of function 'read' is invalid in C99
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+implicit declaration of function 'write' is invalid in C99
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+implicit declaration of function 'close' is invalid in C99
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+implicit declaration of function 'make_dashed' is invalid in C99
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+implicit declaration of function 'set_cursor_busy' is invalid in C99
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://sourceforge.net/p/xournal/bugs/213/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/ttsubset/sft.c.orig 2012-06-30 15:26:04.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/ttsubset/sft.c 2020-09-09 08:45:03.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -43,9 +43,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * @version 1.0
</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;'>++#ifdef HAVE_CONFIG_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include <config.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <assert.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 <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef HAVE_UNISTD_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <fcntl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "sft.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef USE_GSUB
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/ttsubset/ttcr.c.orig 2012-06-30 15:26:04.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/ttsubset/ttcr.c 2020-09-09 08:38:47.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -44,6 +44,10 @@
</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;'>++#ifdef HAVE_CONFIG_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# include <config.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef HAVE_UNISTD_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/xo-image.c.orig 2015-08-10 23:15:10.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/xo-image.c 2020-09-09 08:54:21.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -25,6 +25,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "xo-support.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "xo-image.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "xo-misc.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "xo-paint.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include "xo-selection.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // create pixbuf from buffer, or return NULL on failure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GdkPixbuf *pixbuf_from_buffer(const gchar *buf, gsize buflen)
</span></pre><pre style='margin:0'>
</pre>