japanese/anthy: Fix runtime error of anthy.el with editors/emacs-devel

This commit is contained in:
MANTANI Nobutaka 2023-01-28 21:37:59 +09:00
parent 7c9bb96a47
commit a2d5d78319
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= anthy
PORTVERSION= 0.4
PORTREVISION= 3
PORTREVISION= 4
PORTEPOCH= 1
CATEGORIES= japanese
MASTER_SITES= DEBIAN

View File

@ -1,5 +1,14 @@
--- src-util/anthy.el.orig 2019-07-05 02:37:13 UTC
+++ src-util/anthy.el
@@ -71,7 +71,7 @@
(defvar anthy-highlight-face nil)
(defvar anthy-underline-face nil)
(copy-face 'highlight 'anthy-highlight-face)
-(set-face-underline-p 'anthy-highlight-face t)
+(set-face-underline 'anthy-highlight-face t)
(copy-face 'underline 'anthy-underline-face)
;;
@@ -745,7 +745,7 @@
(if anthy-agent-process
(kill-process anthy-agent-process))