<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ee0f5dbf73ed0b78d08bea8f6aa445855ced853d">https://github.com/macports/macports-ports/commit/ee0f5dbf73ed0b78d08bea8f6aa445855ced853d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ee0f5dbf73ed0b78d08bea8f6aa445855ced853d
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Tue Sep 12 16:43:34 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> vte: update to version 0.50.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Patch to provide private copy of strchrnul(), not provided
</span><span style='display:block; white-space:pre;color:#404040;'> by Apple platforms as of macOS Sierra.
</span>---
gnome/vte/Portfile | 9 +++++----
gnome/vte/files/patch-strchrnul.diff | 25 +++++++++++++++++++++++++
2 files changed, 30 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/vte/Portfile b/gnome/vte/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index aa2f816..e0d1d6f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/vte/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/vte/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup gobject_introspection 1.0
</span> PortGroup compiler_blacklist_versions 1.0
name vte
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.48.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.50.0
</span> set branch [join [lrange [split $version .] 0 1] .]
maintainers {devans @dbevans} openmaintainer
categories gnome
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,8 +23,8 @@ master_sites gnome:sources/$name/$branch/
</span>
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 70f0500df43bf62e692ec9991b95ba2d23088d7b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 a3a9fb182740b392a45cd3f46fa61a985f68bb6b1817b52daec22034c46158c3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 67ed65060e435d034840e2584aca83721ec16348 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b893ae819c77857e4f4b059e7b4b8a9a49efa397cf548d91e8e02ebe30f09656
</span>
depends_build port:pkgconfig \
port:intltool \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,7 +41,8 @@ depends_lib port:gtk3 \
</span>
depends_run port:gnome-themes-standard
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-src-pty.cc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-src-pty.cc.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-strchrnul.diff
</span>
gobject_introspection yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/vte/files/patch-strchrnul.diff b/gnome/vte/files/patch-strchrnul.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ba1f98d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/vte/files/patch-strchrnul.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,25 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/vteseq.cc.orig 2017-09-12 16:11:05.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/vteseq.cc 2017-09-12 16:23:57.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,6 +27,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/syslimits.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;'>++#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* As of Sierra, Mac OS X, macOS does not provide strchrnul() */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* Find the first occurrence of C in S or the final NUL byte. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++static char *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++strchrnul (const char *s, int c_in)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++{
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ char c = c_in;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ while (*s && (*s != c))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ s++;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return (char *) s;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++}
</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 <glib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <vte/vte.h>
</span></pre><pre style='margin:0'>
</pre>