<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2b77d81c558bbd1ef1907483fc169a4cee71897b">https://github.com/macports/macports-ports/commit/2b77d81c558bbd1ef1907483fc169a4cee71897b</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 2b77d81 putty: fix build
</span>2b77d81 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2b77d81c558bbd1ef1907483fc169a4cee71897b
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Sat Apr 29 15:43:58 2017 +0000
<span style='display:block; white-space:pre;color:#404040;'> putty: fix build
</span>---
security/putty/Portfile | 4 ++--
security/putty/files/patch-unix-gtkwin.c.diff | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/putty/Portfile b/security/putty/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bef0dc8..783bf3f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/putty/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/putty/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,8 +27,8 @@ worksrcdir ${worksrcdir}/unix
</span> depends_build port:pkgconfig
# unix configure calls the configure in top folder
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.pre_args -d ${worksrcpath}/../
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patch.post_args -d ${worksrcpath}/../
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-configure.diff patch-unix-gtkwin.c.diff
</span>
configure.args-append --without-gtk
configure.cppflags-delete -I${prefix}/include
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/putty/files/patch-unix-gtkwin.c.diff b/security/putty/files/patch-unix-gtkwin.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..3ef6596
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/putty/files/patch-unix-gtkwin.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- unix/gtkwin.c.orig 2017-04-24 13:52:45.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ unix/gtkwin.c 2017-04-29 15:36:25.000000000 +0000
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2188,11 +2188,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ free(data);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ free(col_css);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (gtk_widget_get_window(win)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (gtk_widget_get_window(widget)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* For GTK1, which doesn't have a 'const' on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * gdk_window_set_background's second parameter type. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GdkColor col_mutable = *col;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- gdk_window_set_background(gtk_widget_get_window(win), &col_mutable);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ gdk_window_set_background(gtk_widget_get_window(widget), &col_mutable);
</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></pre><pre style='margin:0'>
</pre>