From d9692c43df43f61e83511d787fcbeadabb901098 Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sun, 25 Jun 2017 14:51:46 +0900 Subject: app-i18n/skkserv: add support for suffix Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- app-i18n/skkserv/files/skkserv-suffix.patch | 13 +++++++++++++ app-i18n/skkserv/skkserv-9.6-r3.ebuild | 1 + 2 files changed, 14 insertions(+) create mode 100644 app-i18n/skkserv/files/skkserv-suffix.patch diff --git a/app-i18n/skkserv/files/skkserv-suffix.patch b/app-i18n/skkserv/files/skkserv-suffix.patch new file mode 100644 index 000000000000..0e1f862fd148 --- /dev/null +++ b/app-i18n/skkserv/files/skkserv-suffix.patch @@ -0,0 +1,13 @@ +--- a/skkserv/skkserv.c ++++ a/skkserv/skkserv.c +@@ -382,6 +382,10 @@ + code = KANA_END; + + while ((c = fgetc(jisho)) != EOF) { ++ if (c == '>') { ++ fgets(buf, BUFSIZE, jisho); ++ continue; ++ } + target = ((c & 0xff)<< 8) | (fgetc(jisho) & 0xff); + if (target == STRMARK) { + fgets(buf, BUFSIZE, jisho); diff --git a/app-i18n/skkserv/skkserv-9.6-r3.ebuild b/app-i18n/skkserv/skkserv-9.6-r3.ebuild index 2ea92aff50a8..7d02084f63ab 100644 --- a/app-i18n/skkserv/skkserv-9.6-r3.ebuild +++ b/app-i18n/skkserv/skkserv-9.6-r3.ebuild @@ -20,6 +20,7 @@ S="${WORKDIR}/skk-${PV}mu" PATCHES=( "${FILESDIR}"/${PN}-segfault.patch "${FILESDIR}"/${PN}-headers.patch + "${FILESDIR}"/${PN}-suffix.patch ) src_configure() { -- cgit v1.2.3-65-gdbad