diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2003-03-14 01:26:40 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2003-03-14 01:26:40 +0000 |
commit | 7c5720c27cab2adba85cb278ecd1fb1166d3f65b (patch) | |
tree | e4314730e86ebd480ded166f03a68a01d726e545 /editors/mule-ucs | |
parent | 811b2b71b749cf06de30dc2e1a90bcb45ac8ee8c (diff) | |
download | pkgsrc-7c5720c27cab2adba85cb278ecd1fb1166d3f65b.tar.gz |
Fix a problem Mule-UCS makes Emacs 21 slowing down.
http://tsukuba.m17n.org/mule-archive/2002-3/msg00000.html
Bump PKGREVISION. PR18605 from <hackerb9 at wongs dot ne>.
Diffstat (limited to 'editors/mule-ucs')
-rw-r--r-- | editors/mule-ucs/Makefile | 4 | ||||
-rw-r--r-- | editors/mule-ucs/distinfo | 3 | ||||
-rw-r--r-- | editors/mule-ucs/patches/patch-aa | 33 |
3 files changed, 37 insertions, 3 deletions
diff --git a/editors/mule-ucs/Makefile b/editors/mule-ucs/Makefile index 34108674e65..4cad23e2b64 100644 --- a/editors/mule-ucs/Makefile +++ b/editors/mule-ucs/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2002/10/04 15:43:41 kei Exp $ +# $NetBSD: Makefile,v 1.3 2003/03/14 01:26:40 uebayasi Exp $ DISTNAME= Mule-UCS-0.84 +PKGREVISION= 2 CATEGORIES= editors -PKGREVISION= 1 MASTER_SITES= ftp://ftp.m17n.org/pub/mule/Mule-UCS/ MAINTAINER= uebayasi@netbsd.org diff --git a/editors/mule-ucs/distinfo b/editors/mule-ucs/distinfo index ee91d2b76b1..9f21f89215c 100644 --- a/editors/mule-ucs/distinfo +++ b/editors/mule-ucs/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2002/09/15 06:07:03 uebayasi Exp $ +$NetBSD: distinfo,v 1.2 2003/03/14 01:26:40 uebayasi Exp $ SHA1 (Mule-UCS-0.84.tar.gz) = aa796d3d9cce8b3c444752e8a3fc74ecf3d76979 Size (Mule-UCS-0.84.tar.gz) = 565222 bytes +SHA1 (patch-aa) = 12ea72b6549e643c438171cc1ef2107d051e6ca6 diff --git a/editors/mule-ucs/patches/patch-aa b/editors/mule-ucs/patches/patch-aa new file mode 100644 index 00000000000..c0ac3976340 --- /dev/null +++ b/editors/mule-ucs/patches/patch-aa @@ -0,0 +1,33 @@ +$NetBSD: patch-aa,v 1.1 2003/03/14 01:26:41 uebayasi Exp $ + +--- lisp/un-define.el.orig Tue Mar 6 14:41:38 2001 ++++ lisp/un-define.el +@@ -610,13 +610,21 @@ by calling post-read-conversion and pre- + + (mapcar + (lambda (x) +- (mapcar +- (lambda (y) +- (mucs-define-coding-system +- (nth 0 y) (nth 1 y) (nth 2 y) +- (nth 3 y) (nth 4 y) (nth 5 y) (nth 6 y)) +- (coding-system-put (car y) 'alias-coding-systems (list (car x)))) +- (cdr x))) ++ (if (fboundp 'register-char-codings) ++ ;; Mule 5, where we don't need the eol-type specified and ++ ;; register-char-codings may be very slow for these coding ++ ;; system definitions. ++ (let ((y (cadr x))) ++ (mucs-define-coding-system ++ (car x) (nth 1 y) (nth 2 y) ++ (nth 3 y) (nth 4 y) (nth 5 y))) ++ (mapcar ++ (lambda (y) ++ (mucs-define-coding-system ++ (nth 0 y) (nth 1 y) (nth 2 y) ++ (nth 3 y) (nth 4 y) (nth 5 y) (nth 6 y)) ++ (coding-system-put (car y) 'alias-coding-systems (list (car x))))) ++ (cdr x))) + `((utf-8 + (utf-8-unix + ?u "UTF-8 coding system" |