Re: git: a2d5d783191e - main - japanese/anthy: Fix runtime error of anthy.el with editors/emacs-devel

From: MANTANI Nobutaka <nobutaka_at_FreeBSD.org>
Date: Sat, 28 Jan 2023 13:24:03 UTC
Oops, I forgot to add these lines.

PR:	 269161
Reported by:	yasu

On Sat, 28 Jan 2023 21:46:58 +0900,
MANTANI Nobutaka wrote:
> 
> The branch main has been updated by nobutaka:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=a2d5d783191e4cb94f51c3a1ddc996b0da8b16a3
> 
> commit a2d5d783191e4cb94f51c3a1ddc996b0da8b16a3
> Author:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
> AuthorDate: 2023-01-28 12:37:59 +0000
> Commit:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
> CommitDate: 2023-01-28 12:37:59 +0000
> 
>     japanese/anthy: Fix runtime error of anthy.el with editors/emacs-devel
> ---
>  japanese/anthy/Makefile                      | 2 +-
>  japanese/anthy/files/patch-src-util_anthy.el | 9 +++++++++
>  2 files changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/japanese/anthy/Makefile b/japanese/anthy/Makefile
> index 2cd6d6d44969..f80dd0c3b327 100644
> --- a/japanese/anthy/Makefile
> +++ b/japanese/anthy/Makefile
> @@ -1,6 +1,6 @@
>  PORTNAME=	anthy
>  PORTVERSION=	0.4
> -PORTREVISION=	3
> +PORTREVISION=	4
>  PORTEPOCH=	1
>  CATEGORIES=	japanese
>  MASTER_SITES=	DEBIAN
> diff --git a/japanese/anthy/files/patch-src-util_anthy.el b/japanese/anthy/files/patch-src-util_anthy.el
> index b2052a38b369..e8b6d1da7a6d 100644
> --- a/japanese/anthy/files/patch-src-util_anthy.el
> +++ b/japanese/anthy/files/patch-src-util_anthy.el
> @@ -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))
>