summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-06-25 14:51:46 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-06-25 14:51:46 +0900
commitd9692c43df43f61e83511d787fcbeadabb901098 (patch)
tree91053a14eb3bd2a20632deeea2c2bad436856c6e /app-i18n
parentapp-i18n/skkserv: update to EAPI 6 (diff)
downloadgentoo-d9692c43df43f61e83511d787fcbeadabb901098.tar.gz
gentoo-d9692c43df43f61e83511d787fcbeadabb901098.tar.bz2
gentoo-d9692c43df43f61e83511d787fcbeadabb901098.zip
app-i18n/skkserv: add support for suffix
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/skkserv/files/skkserv-suffix.patch13
-rw-r--r--app-i18n/skkserv/skkserv-9.6-r3.ebuild1
2 files changed, 14 insertions, 0 deletions
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() {