Unbreak port

PR:		228737
Submitted by:	maintainer
This commit is contained in:
Tilman Keskinoz 2018-06-13 15:06:42 +00:00
parent f8c7b78339
commit 9b05826d01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472327
2 changed files with 12 additions and 8 deletions

View File

@ -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

View File

@ -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)))