pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(inputmethod/tc) partial fix for emacs-29



Module Name:	pkgsrc-wip
Committed By:	Makoto mef20 Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Wed Apr 9 23:08:49 2025 +0900
Changeset:	5ea030adb84ec0828eb5185b0bfe415a5531544f

Modified Files:
	tc/Makefile
	tc/distinfo
Added Files:
	tc/patches/patch-lisp_tc-mazegaki.el

Log Message:
(inputmethod/tc) partial fix for emacs-29

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5ea030adb84ec0828eb5185b0bfe415a5531544f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 tc/Makefile                          | 13 +++++++++++++
 tc/distinfo                          |  3 ++-
 tc/patches/patch-lisp_tc-mazegaki.el | 18 ++++++++++++++++++
 3 files changed, 33 insertions(+), 1 deletion(-)

diffs:
diff --git a/tc/Makefile b/tc/Makefile
index f5320b5183..eb7842abc0 100644
--- a/tc/Makefile
+++ b/tc/Makefile
@@ -4,6 +4,7 @@ DISTNAME=		tc-2.99.3
 PKGNAME=		${EMACS_PKGNAME_PREFIX}${DISTNAME}
 MASTER_SITES=		${MASTER_SITE_GITHUB:=makoto-fujiwara/}
 CATEGORIES=		inputmethod
+PKGREVISION=		1
 
 MAINTAINER=		makoto%ki.nu@localhost
 HOMEPAGE=		http://openlab.ring.gr.jp/tcode/index.html
@@ -68,6 +69,18 @@ SUBST_STAGE.s2i=	post-patch
 SUBST_FILES.s2i=	lisp/eelll.el lisp/tc-is22.el lisp/tc-is20.el lisp/tc-is19.el lisp/tc-pre.el
 SUBST_SED.s2i=		-e s/string-to-int/string-to-number/g
 
+SUBST_CLASSES+=		l2e
+SUBST_MESSAGE.l2e=	last-command-char is an obsolete function; use `last-command-event' instead
+SUBST_STAGE.l2e=	post-patch
+SUBST_FILES.l2e=	\
+			lisp/tc-ja-alnum.el \
+			lisp/tc-mazegaki.el \
+			lisp/tc-util.el \
+			lisp/tc-is22.el \
+			lisp/tc-is20.el \
+			lisp/tc-is19.el
+SUBST_SED.l2e=		-e s/last-command-char/last-command-event/g
+
 .include "options.mk"
 
 pre-configure:
diff --git a/tc/distinfo b/tc/distinfo
index 626baced78..56a2df038d 100644
--- a/tc/distinfo
+++ b/tc/distinfo
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.9 2014/10/08 03:57:37 makoto Exp $
 
-RMD160 (tc-2.99.3.tar.gz) = bde546dc95bad875c62c57222e6733a75cf5215b
+BLAKE2s (tc-2.99.3.tar.gz) = eb3d5461fabe94a3663c80c72efbf5b6a60bd6d7f1e0ca03d4dc3085f4101176
 SHA512 (tc-2.99.3.tar.gz) = 274cc5eb6a385cef6ae755af931a47acd56553e9be9a81345ade6d2d3dfae5ff864ab6fc4b27cb02fb7c08f014052c68f5dea93db299feadc95b5999b0afbd1e
 Size (tc-2.99.3.tar.gz) = 1115797 bytes
 SHA1 (patch-BATCH-SORT) = fed628d0f512638934ca16b4b7d0906d4be650c9
@@ -15,6 +15,7 @@ SHA1 (patch-etc_mk-bdic) = 37a5ed85e1bff4b06ac35ae2e3208fac977233ef
 SHA1 (patch-lisp_Makefile.am) = b80c93ae0ed60e8816a7cae452f5d300d9964781
 SHA1 (patch-lisp_Makefile.in) = 1bf559a29f2b186fa274fc5d7ce4289e6f6c3ba8
 SHA1 (patch-lisp_eelll.el) = c0fbebc9bfd444eadf5ff183978f618d961bbd8e
+SHA1 (patch-lisp_tc-mazegaki.el) = 57b791ba6e0843eae8a96f84687b38a311620c78
 SHA1 (patch-lisp_tc-pre-base.in) = 9b057ed2639f5badce5c1ee8ba20ad3229ff5108
 SHA1 (patch-lisp_tc-recover.el) = 8426353463fb59723597604e1cbbda30c635ee5a
 SHA1 (patch-lisp_tc-sysdep.el) = 28ad243d0d77ddb8e2325807e06a8df181508658
diff --git a/tc/patches/patch-lisp_tc-mazegaki.el b/tc/patches/patch-lisp_tc-mazegaki.el
new file mode 100644
index 0000000000..b43f18c791
--- /dev/null
+++ b/tc/patches/patch-lisp_tc-mazegaki.el
@@ -0,0 +1,18 @@
+$NetBSD$
+
+convert obsolete set-face-underline-p to
+                 set-face-underline
+
+(be carefull, for 'cat this file', that may confuse terminal session
+
+--- lisp/tc-mazegaki.el.orig	2025-04-09 22:00:43.000000000 +0900
++++ lisp/tc-mazegaki.el	2025-04-09 22:04:29.000000000 +0900
+@@ -93,7 +93,7 @@ nil �ξ��ˤ�����������")
+       nil
+     (prog1
+ 	(make-face 'mazegaki-conversion)
+-      (set-face-underline-p 'mazegaki-conversion t)))
++      (set-face-underline 'mazegaki-conversion t)))
+   "* �򤼽�Ѵ���Ѵ���ݤ��ʸ�������ce��
+ mule2 �ʾ�����XEmacs �ξ��Τ����
+ (defvar tcode-mazegaki-prefix-overlay nil)


Home | Main Index | Thread Index | Old Index