<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/9c273527410c7b091068065e8b98e2109cddd64a">https://github.com/macports/macports-ports/commit/9c273527410c7b091068065e8b98e2109cddd64a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9c273527410c7b091068065e8b98e2109cddd64a
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sun Jul 16 07:48:56 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> libgtop: update to version 2.36.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Apply upstream bugfix.
</span>---
gnome/libgtop/Portfile | 9 ++++----
.../files/patch-add-null-pointer-checker.diff | 24 ++++++++++++++++++++++
2 files changed, 29 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libgtop/Portfile b/gnome/libgtop/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bb83de4..2260c2c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/libgtop/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/libgtop/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup gobject_introspection 1.0
name libgtop
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.34.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.36.0
</span> license GPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,15 +21,16 @@ master_sites gnome:sources/${name}/${branch}/
</span>
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 daed0755f3c097065d1327a21a3f4cc077b2d168 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 268ad1478363e8c0955ea842fa134f6eb88965ab5e03166c20d8df9e7a1f8ef8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f3380ce02650080f0391c16fe07bc46e87dd4a9f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 13bfe34c150b2b00b03df4732e8c7ccfae09ab15897ee4f4ebf0d16b0f3ba12b
</span>
depends_build port:pkgconfig \
port:gtk-doc
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-libgtop-sysdeps.m4.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-libgtop-sysdeps.m4.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-add-null-pointer-checker.diff
</span>
gobject_introspection yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/libgtop/files/patch-add-null-pointer-checker.diff b/gnome/libgtop/files/patch-add-null-pointer-checker.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..75b90b2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/libgtop/files/patch-add-null-pointer-checker.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From e0f97e7dbd6ec87103705d3e114876d44cb0ca4c Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: =?UTF-8?q?Beno=C3=AEt=20Dejean?= <bdejean@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Mon, 1 May 2017 06:31:54 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: Add NULL pointer checker (bug found with scan-build).
</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;'>+ sysdeps/common/error.c | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/sysdeps/common/error.c b/sysdeps/common/error.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0502271..6ca947b 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- sysdeps/common/error.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ sysdeps/common/error.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -46,7 +46,7 @@ print_message (const glibtop *server, int message_level, const char *format, int
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_string_printf(message, "%s", (server && server->name ? server->name : DEFAULT_NAME));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (server->pid) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (server && server->pid) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_string_append_printf(message, "(c=%u/s=%u)", getpid(), server->pid);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cgit v0.12
</span></pre><pre style='margin:0'>
</pre>