aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2018-06-13 15:06:42 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2018-06-13 15:06:42 +0000
commit9b05826d01feeff619e33adc7f05e9af5abb143c (patch)
treeb2b50c7018fa1f5b3d0cafe573dd51c3889726cb /japanese
parentf8c7b78339d1b6f2655872aacffc05ce4b03954d (diff)
downloadports-9b05826d01feeff619e33adc7f05e9af5abb143c.tar.gz
ports-9b05826d01feeff619e33adc7f05e9af5abb143c.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/yc.el/Makefile7
-rw-r--r--japanese/yc.el/files/patch-yc.el13
2 files changed, 12 insertions, 8 deletions
diff --git a/japanese/yc.el/Makefile b/japanese/yc.el/Makefile
index cab9fb6c2f3c..423ae0575481 100644
--- a/japanese/yc.el/Makefile
+++ b/japanese/yc.el/Makefile
@@ -3,7 +3,7 @@
PORTNAME= yc.el
PORTVERSION= 5.2.1
-PORTREVISION= 13
+PORTREVISION= 14
PORTEPOCH= 1
CATEGORIES= japanese elisp
MASTER_SITES= http://www.ceres.dti.ne.jp/~knak/
@@ -14,11 +14,6 @@ EXTRACT_SUFX= .gz
MAINTAINER= t@nakao.org
COMMENT= Yet another Canna client for Emacs
-.if ${FLAVOR:U} != devel && ${FLAVOR:U} != devel_nox
-# http://pkg.awarnach.mathstat.dal.ca/data/11i386-default/2018-05-30_07h36m11s/logs/errors/ja-yc.el-emacs26-5.2.1_14,1.log
-BROKEN= fails to build
-.endif
-
EXTRACT_CMD= ${GZCAT}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= > yc.el
diff --git a/japanese/yc.el/files/patch-yc.el b/japanese/yc.el/files/patch-yc.el
index 1cb2dbe37c23..a1efd46737cb 100644
--- a/japanese/yc.el/files/patch-yc.el
+++ b/japanese/yc.el/files/patch-yc.el
@@ -1,5 +1,5 @@
---- yc.el.orig 2010-09-30 13:22:22.000000000 +0900
-+++ yc.el 2010-09-30 13:26:09.000000000 +0900
+--- yc.el.orig 2018-06-04 13:46:33.083915000 +0900
++++ yc.el 2018-06-04 14:48:21.116298000 +0900
@@ -1736,6 +1736,7 @@
(error nil))))
(yc-eval-sexp (car expr)))))
@@ -8,3 +8,12 @@
(if romkana-table
(setq yc-rH-conv-dic (yc-search-file-first-in-path
romkana-table (list "." (getenv "HOME")
+@@ -2071,7 +2072,7 @@
+ ;; $BJ8@a$r;XDj$7$J$$>l9g!"8=:_$NJ8@a$,BP>]$H$J$k(B
+ ;; $BFI$_$r<hF@$7$?J8@a$O$=$NFI$_$r%-%c%C%7%e$9$k(B
+ ;; cut $B$,(B $BHs(Bnil $B$N>l9g!";XDjJ8@a0J9_$NFI$_$r:o=|$9$k(B
+-(defun yc-yomi (&optional idx &optional cut)
++(defun yc-yomi (&optional idx cut)
+ (if (integerp idx)
+ (yc-put-bunsetsu-yomi idx (yc-get-bunsetsu-yomi idx cut) cut)
+ (yc-put-bunsetsu-yomi yc-mark (yc-get-bunsetsu-yomi yc-mark cut) cut)))