From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 6 03:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A651F264 for ; Thu, 6 Feb 2014 03:50:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8C7A81FBA for ; Thu, 6 Feb 2014 03:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s163o1dY012732 for ; Thu, 6 Feb 2014 03:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s163o1Dc012731; Thu, 6 Feb 2014 03:50:01 GMT (envelope-from gnats) Date: Thu, 6 Feb 2014 03:50:01 GMT Message-Id: <201402060350.s163o1Dc012731@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Yoshihiro Ota Subject: Re: ports/186470: japanese/kakasi for libiconv change X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Yoshihiro Ota List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Feb 2014 03:50:01 -0000 The following reply was made to PR ports/186470; it has been noted by GNATS. From: Yoshihiro Ota To: bug-followup@FreeBSD.org Cc: ota@j.email.ne.jp Subject: Re: ports/186470: japanese/kakasi for libiconv change Date: Wed, 5 Feb 2014 22:29:29 -0500 This is a multi-part message in MIME format. --Multipart=_Wed__5_Feb_2014_22_29_29_-0500_uMM1hUlLhr8WA2NT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit It looks "configure" in the bundle does not detect iconv correctly. It will need more work. So, instead, I updated to 2.3.5 first while disabling iconv support. I attached changes for version up. I will work on libiconv handling on after settling this down. Hiro --Multipart=_Wed__5_Feb_2014_22_29_29_-0500_uMM1hUlLhr8WA2NT Content-Type: text/plain; name="kakasi-2.3.5-patch.txt" Content-Disposition: attachment; filename="kakasi-2.3.5-patch.txt" Content-Transfer-Encoding: 7bit diff -urN kakasi.orig/Makefile kakasi/Makefile --- kakasi.orig/Makefile 2014-01-16 19:15:09.000000000 -0500 +++ kakasi/Makefile 2014-02-05 22:23:42.000000000 -0500 @@ -2,7 +2,7 @@ # $FreeBSD: tags/RELEASE_10_0_0/japanese/kakasi/Makefile 327737 2013-09-20 18:47:54Z bapt $ PORTNAME= kakasi -PORTVERSION= 2.3.4 +PORTVERSION= 2.3.5 CATEGORIES= japanese textproc MASTER_SITES= http://kakasi.namazu.org/stable/ @@ -15,15 +15,18 @@ MANLANG= ja MAN1= kakasi.1 USE_LDCONFIG= yes +CONFIGURE_ARGS+=--disable-utf8 # configure doesn't handle correct and need more work DOCS= NEWS README README-ja TODO \ doc/ChangeLog.lib doc/JISYO \ doc/README.lib doc/README.wakati NO_STAGE= yes +.include + post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/kakasi.1 ${PREFIX}/man/${MANLANG}/man1 -.if !defined(NOPORTDOCS) + ${INSTALL_MAN} ${WRKSRC}/man/kakasi.1 ${PREFIX}/man/${MANLANG}/man1 +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for f in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/ diff -urN kakasi.orig/distinfo kakasi/distinfo --- kakasi.orig/distinfo 2014-01-16 19:15:09.000000000 -0500 +++ kakasi/distinfo 2014-02-05 09:04:32.000000000 -0500 @@ -1,2 +1,2 @@ -SHA256 (kakasi-2.3.4.tar.gz) = c272560f5c11fe45b011c4e26ada66218fb0109d5582c5876aa49c5e24718534 -SIZE (kakasi-2.3.4.tar.gz) = 1099258 +SHA256 (kakasi-2.3.5.tar.gz) = f332c008f03a8d017b09221a1ded9c0c7b61212b49a74d96f6eca3f93ba329eb +SIZE (kakasi-2.3.5.tar.gz) = 1351215 diff -urN kakasi.orig/files/patch-configure kakasi/files/patch-configure --- kakasi.orig/files/patch-configure 1969-12-31 19:00:00.000000000 -0500 +++ kakasi/files/patch-configure 2014-02-05 13:27:14.000000000 -0500 @@ -0,0 +1,20 @@ +--- configure.orig 2014-02-05 13:23:21.000000000 -0500 ++++ configure 2014-02-05 13:26:30.000000000 -0500 +@@ -3889,7 +3889,7 @@ + + + if test -n "$GCC"; then +- CFLAGS="$CFLAGS -Wall -Wunused -Wuninitialized -Wmissing-prototypes -Wmissing-declarations -pedantic -Wno-unused-result" ++ CFLAGS="$CFLAGS -Wall -Wunused -Wuninitialized -Wmissing-prototypes -Wmissing-declarations -pedantic" + fi + + +@@ -12557,7 +12557,7 @@ + int + main () + { +-if (iconv_open("EUC-JP", "UTF-8") == -1) exit(1); ++if (iconv_open("EUC-JP", "UTF-8") == (iconv_t)-1) exit(1); + ; + return 0; + } diff -urN kakasi.orig/files/patch-configure.in kakasi/files/patch-configure.in --- kakasi.orig/files/patch-configure.in 1969-12-31 19:00:00.000000000 -0500 +++ kakasi/files/patch-configure.in 2014-02-05 13:28:06.000000000 -0500 @@ -0,0 +1,20 @@ +--- configure.in.orig 2014-01-18 01:47:21.000000000 -0500 ++++ configure.in 2014-02-05 13:27:41.000000000 -0500 +@@ -15,7 +15,7 @@ + AC_PROG_MAKE_SET + + if test -n "$GCC"; then +- CFLAGS="$CFLAGS -Wall -Wunused -Wuninitialized -Wmissing-prototypes -Wmissing-declarations -pedantic -Wno-unused-result" ++ CFLAGS="$CFLAGS -Wall -Wunused -Wuninitialized -Wmissing-prototypes -Wmissing-declarations -pedantic" + fi + + dnl OS specific. +@@ -85,7 +85,7 @@ + LIBS="$LIBICONV $LIBS" + AC_DEFINE(KAKASI_SUPPORT_UTF8, 1, [KAKASI_SUPPORT_UTF8]) + AC_RUN_IFELSE([AC_LANG_PROGRAM([#include ], +- [if (iconv_open("EUC-JP", "UTF-8") == -1) exit(1);])], ++ [if (iconv_open("EUC-JP", "UTF-8") == (iconv_t)-1) exit(1);])], + [], + [AC_MSG_ERROR([can not use EUC-JP or UTF-8 encoding on iconv])]) + fi --Multipart=_Wed__5_Feb_2014_22_29_29_-0500_uMM1hUlLhr8WA2NT--