svn commit: r512179 - head/japanese/anthy
MANTANI Nobutaka
nobutaka at FreeBSD.org
Mon Sep 16 14:02:48 UTC 2019
Author: nobutaka
Date: Mon Sep 16 14:02:47 2019
New Revision: 512179
URL: https://svnweb.freebsd.org/changeset/ports/512179
Log:
Convert character encoding of src-util/rkhelper.c to fix a breakage of
anthy-agent that garbled characters are returned if a numeral or a symbol
is input.
PR: 240614
Submitted by: nyan
Modified:
head/japanese/anthy/Makefile
Modified: head/japanese/anthy/Makefile
==============================================================================
--- head/japanese/anthy/Makefile Mon Sep 16 12:43:13 2019 (r512178)
+++ head/japanese/anthy/Makefile Mon Sep 16 14:02:47 2019 (r512179)
@@ -3,6 +3,7 @@
PORTNAME= anthy
PORTVERSION= 0.4
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= japanese
MASTER_SITES= DEBIAN
@@ -16,7 +17,7 @@ LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/alt-cannadic/COPYING
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING
-USES= libtool pathfix pkgconfig
+USES= iconv libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
@@ -75,6 +76,8 @@ post-extract:
post-patch:
${REINPLACE_CMD} -e \
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
+ ${CP} ${WRKSRC}/src-util/rkhelper.c ${WRKSRC}/src-util/rkhelper.c.orig
+ ${ICONV_CMD} -f utf-8 -t euc-jp ${WRKSRC}/src-util/rkhelper.c.orig > ${WRKSRC}/src-util/rkhelper.c
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR}
More information about the svn-ports-all
mailing list