View | Details | Raw Unified | Return to bug 277496
Collapse All | Expand All

(-)b/editors/tamago/Makefile (-1 / +1 lines)
Lines 1-6 Link Here
1
PORTNAME=	tamago
1
PORTNAME=	tamago
2
PORTVERSION=	4.0.6.0.20041122.19.15
2
PORTVERSION=	4.0.6.0.20041122.19.15
3
PORTREVISION=	6
3
PORTREVISION=	7
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
CATEGORIES=	editors elisp
5
CATEGORIES=	editors elisp
6
PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
6
PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
(-)b/editors/tamago/files/patch-its.el (-1 / +55 lines)
Added Link Here
0
- 
1
From cb3938b8783f068660a63d95ca8afb4da09f2259 Mon Sep 17 00:00:00 2001
2
From: Yasuhiro Kimura <yasu@utahime.org>
3
Date: Sat, 9 Mar 2024 09:34:15 +0900
4
Subject: [PATCH] Fix build and runtime error with recent master branch of
5
 Emacs git repository
6
7
---
8
 its.el | 10 ++++------
9
 1 file changed, 4 insertions(+), 6 deletions(-)
10
11
diff --git its.el its.el
12
index a785694..8f4de21 100644
13
--- its.el
14
+++ its.el
15
@@ -695,7 +695,7 @@ This variable override `its-delete-by-keystroke'."
16
 
17
 (defun its-map-compaction (map)
18
   (if its-compaction-enable
19
-      (let ((its-compaction-hash-table (make-vector 1000 nil))
20
+      (let ((its-compaction-hash-table (obarray-make 1000))
21
 	    (its-compaction-integer-table (make-vector 138 nil))
22
 	    (its-compaction-counter-1 1)
23
 	    (its-compaction-counter-2 0)
24
@@ -1357,8 +1357,8 @@ Return last state."
25
   (interactive)
26
   (its-convert (lambda (str lang) (japanese-katakana str))))
27
 
28
-(defconst its-full-half-table (make-vector 100 nil))
29
-(defconst its-half-full-table (make-vector 100 nil))
30
+(defconst its-full-half-table (obarray-make 100))
31
+(defconst its-half-full-table (obarray-make 100))
32
 
33
 (let ((table '((Japanese
34
 		(?$B!!(B . ?\ ) (?$B!$(B . ?,)  (?$B!%(B . ?.)  (?$B!"(B . ?,)  (?$B!#(B . ?.)
35
@@ -1468,7 +1468,6 @@ Return last state."
36
 		(?$(C#p(B . ?p)  (?$(C#q(B . ?q)  (?$(C#r(B . ?r)  (?$(C#s(B . ?s)  (?$(C#t(B . ?t)
37
 		(?$(C#u(B . ?u)  (?$(C#v(B . ?v)  (?$(C#w(B . ?w)  (?$(C#x(B . ?x)  (?$(C#y(B . ?y)
38
 		(?$(C#z(B . ?z))))
39
-      (hash (make-vector 100 nil))
40
       lang pair)
41
   (while table
42
     (setq lang (caar table)
43
@@ -1480,8 +1479,7 @@ Return last state."
44
       (set (intern (concat (symbol-name lang) (char-to-string (cdar pair)))
45
 		   its-half-full-table)
46
 	   (caar pair))
47
-      (setq pair (cdr pair)))
48
-    hash))
49
+      (setq pair (cdr pair)))))
50
 
51
 ;;; its-half-width : half-width-region for input-buffer
52
 (defun its-half-width ()
53
-- 
54
2.44.0
55

Return to bug 277496