Skip to content

Commit

Permalink
app-i18n/skkserv: add support for suffix
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.6, Repoman-2.3.1
  • Loading branch information
hattya committed Jun 25, 2017
1 parent 3e28127 commit d9692c4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app-i18n/skkserv/files/skkserv-suffix.patch
Original file line number Diff line number Diff line change
@@ -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);
1 change: 1 addition & 0 deletions app-i18n/skkserv/skkserv-9.6-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ S="${WORKDIR}/skk-${PV}mu"
PATCHES=(
"${FILESDIR}"/${PN}-segfault.patch
"${FILESDIR}"/${PN}-headers.patch
"${FILESDIR}"/${PN}-suffix.patch
)

src_configure() {
Expand Down

0 comments on commit d9692c4

Please sign in to comment.