<pre style='margin:0'>
Aaron Madlon-Kay (amake) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/794657e40d0104b3224967f14a666b5b042f3dfe">https://github.com/macports/macports-ports/commit/794657e40d0104b3224967f14a666b5b042f3dfe</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 794657e40d0 kakasi: fix implicit declaration of exit()
</span>794657e40d0 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 794657e40d0104b3224967f14a666b5b042f3dfe
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Wed Dec 16 19:24:06 2020 +0900

<span style='display:block; white-space:pre;color:#404040;'>    kakasi: fix implicit declaration of exit()
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Appeared as check failure during configuration:
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    configure: error: can not use EUC-JP or UTF-8 encoding on iconv
</span>---
 textproc/kakasi/Portfile                      | 13 +++++++------
 textproc/kakasi/files/patch-configure.in.diff | 12 ++++++++++++
 2 files changed, 19 insertions(+), 6 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/kakasi/Portfile b/textproc/kakasi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 91e0f0da973..343d317a907 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/kakasi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/kakasi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,16 +19,17 @@ patchfiles          patch-tests_kakasi-1.diff \
</span>                     patch-tests_kakasi-4.diff \
                     patch-tests_kakasi-5.diff \
                     patch-tests_kakasi-6.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    patch-tests_kakasi-7.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    patch-tests_kakasi-7.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    patch-configure.in.diff
</span> 
 checksums           rmd160  db4a5dcacce407c54771c2473cd6b03751dba79f \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  004276fd5619c003f514822d82d14ae83cd45fb9338e0cb56a44974b44961893
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  004276fd5619c003f514822d82d14ae83cd45fb9338e0cb56a44974b44961893 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    1352154
</span> 
 depends_lib         port:libiconv
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build       port:autoconf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:automake \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:coreutils \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    port:libtool
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build       port:coreutils
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoconf        yes
</span> 
 configure.args-append \
                     --enable-maintainer-mode
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/kakasi/files/patch-configure.in.diff b/textproc/kakasi/files/patch-configure.in.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..a2816fc9a9b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/kakasi/files/patch-configure.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.in.orig      2020-12-16 16:43:25.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.in   2020-12-16 19:20:54.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -84,7 +84,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     AM_ICONV
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     LIBS="$LIBICONV $LIBS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     AC_DEFINE(KAKASI_SUPPORT_UTF8, 1, [KAKASI_SUPPORT_UTF8])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <iconv.h>],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    AC_RUN_IFELSE([AC_LANG_PROGRAM([#include <iconv.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+               [if (iconv_open("EUC-JP", "UTF-8") == -1) exit(1);])],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   [],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+   [AC_MSG_ERROR([can not use EUC-JP or UTF-8 encoding on iconv])])
</span></pre><pre style='margin:0'>

</pre>