aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2023-08-22 16:02:20 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2023-08-22 16:02:20 +0000
commit0f183642283fd3eadca5918a4d8ca33697c0bef7 (patch)
tree3e20e344eef912d36a3721f51f4f55ea4d3db22d
parentec06aff4d8821e97187ed86918f0225ad59661d4 (diff)
downloadports-0f183642283fd3eadca5918a4d8ca33697c0bef7.tar.gz
ports-0f183642283fd3eadca5918a4d8ca33697c0bef7.zip
textproc/uim-el: Fix breakage with Emacs 29
-rw-r--r--textproc/uim-el/Makefile2
-rw-r--r--textproc/uim-el/files/patch-emacs_uim-var.el20
2 files changed, 21 insertions, 1 deletions
diff --git a/textproc/uim-el/Makefile b/textproc/uim-el/Makefile
index 589da0b57f3a..70ae57b1c745 100644
--- a/textproc/uim-el/Makefile
+++ b/textproc/uim-el/Makefile
@@ -1,6 +1,6 @@
PORTNAME= uim-el
PORTVERSION= 1.9.0.b.${SNAPDATE}
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= textproc
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
diff --git a/textproc/uim-el/files/patch-emacs_uim-var.el b/textproc/uim-el/files/patch-emacs_uim-var.el
new file mode 100644
index 000000000000..b4b926167dda
--- /dev/null
+++ b/textproc/uim-el/files/patch-emacs_uim-var.el
@@ -0,0 +1,20 @@
+--- emacs/uim-var.el.orig 2023-08-22 15:31:18 UTC
++++ emacs/uim-var.el
+@@ -435,7 +435,7 @@ keeps the size of it when showing the candidates.")
+ (make-face 'uim-preedit-face)
+
+ (copy-face 'uim-preedit-face 'uim-preedit-underline-face)
+-(set-face-underline-p 'uim-preedit-underline-face t)
++(set-face-underline 'uim-preedit-underline-face t)
+
+ ;; highlight
+ (make-face 'uim-preedit-highlight-face)
+@@ -443,7 +443,7 @@ keeps the size of it when showing the candidates.")
+ (set-face-background 'uim-preedit-highlight-face "Blue3")
+
+ (copy-face 'uim-preedit-highlight-face 'uim-preedit-highlight-underline-face)
+-(set-face-underline-p 'uim-preedit-highlight-underline-face t)
++(set-face-underline 'uim-preedit-highlight-underline-face t)
+
+ ;; separator
+ (make-face 'uim-separator-face)