<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/242a0f256493e845cac1b8d8a594556ba7da2e53">https://github.com/macports/macports-ports/commit/242a0f256493e845cac1b8d8a594556ba7da2e53</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 242a0f2 gdl: Fix build failure due to non-UTF-8 headers
</span>242a0f2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 242a0f256493e845cac1b8d8a594556ba7da2e53
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Oct 18 15:03:53 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> gdl: Fix build failure due to non-UTF-8 headers
</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/55776
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Since the headers get installed, increase the revision.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also disable silent rules and modernize checksums.
</span>---
gnome/gdl/Portfile | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gdl/Portfile b/gnome/gdl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ea47a6d..5159921 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gdl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gdl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span>
name gdl
version 2.30.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 6
</span> license LGPL
set branch [join [lrange [split ${version} .] 0 1] .]
categories gnome devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,9 +20,9 @@ homepage http://www.anjuta.org/
</span> master_sites gnome:sources/${name}/${branch}/
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 4af16be490b47ce4e828a2fb93633856 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 c3b3e288fb84ddd9b81d8cae41699ec0828f689f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 56cdb623c627504bceaffba91d338cae5bbe2955
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 56cdb623c627504bceaffba91d338cae5bbe2955 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 027dd1cd0191996fe1a0dc902da857698cc79564cb057ba13b09097e56e30cc1 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 569211
</span>
depends_build port:pkgconfig \
port:intltool \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,6 +30,7 @@ depends_build port:pkgconfig \
</span> port:gnome-common \
port:autoconf \
port:automake \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libiconv \
</span> port:libtool
depends_lib port:gtk2 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,13 +39,20 @@ depends_lib port:gtk2 \
</span> patchfiles returns.patch \
patch_glib_2.30_G_CONST_RETURN.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# reconfigure using upstream autogen.sh for intltool 0.51 compatibility
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # reconfigure using upstream autogen.sh for intltool 0.51 compatibility
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 ${filespath}/autogen.sh ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Convert files processed by glib-mkenums to UTF-8 to avoid:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 7: ordinal not in range(128)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f {gdl-dock-item.h gdl-dock-layout.h gdl-dock-master.h gdl-dock-object.h gdl-dock-placeholder.h} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/gdl "${prefix}/bin/iconv -f ISO8859-1 -t UTF-8 ${f} > ${f}.tmp && mv ${f}.tmp ${f}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
configure.cmd ./autogen.sh
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # this is the last stable version of gdl that provides gdl-2.0
livecheck.type none
</pre><pre style='margin:0'>
</pre>