diff options
author | uebayasi <uebayasi> | 2003-05-24 07:51:34 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2003-05-24 07:51:34 +0000 |
commit | 407c653980389b5e39fe999612f7522ee2f5844f (patch) | |
tree | b14547ad9c3bd02e3d603db1ab0458d5c2d52f19 /chat/zenicb/patches | |
parent | 624df020e79ecd714b7b34e26c774b1aa1097485 (diff) | |
download | pkgsrc-407c653980389b5e39fe999612f7522ee2f5844f.tar.gz |
Apply a patch to work with XEmacs. Tested with XEmacs 21.4.12.
The fix is from Andrew J Cosgriff <Andrew dot Cosgriff at cc dot
monash dot edu dot au> via misc@openbsd.org. Addresses PR21260.
Bumps revision to 1.
Diffstat (limited to 'chat/zenicb/patches')
-rw-r--r-- | chat/zenicb/patches/patch-ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/chat/zenicb/patches/patch-ac b/chat/zenicb/patches/patch-ac new file mode 100644 index 00000000000..c33cb195e6a --- /dev/null +++ b/chat/zenicb/patches/patch-ac @@ -0,0 +1,18 @@ +$NetBSD: patch-ac,v 1.1 2003/05/24 07:51:36 uebayasi Exp $ + +--- src/zenicb.el.orig Mon Jul 20 07:37:51 1998 ++++ src/zenicb.el +@@ -279,8 +279,12 @@ + (set-buffer orig-buffer) + (store-match-data data)))) + ++(if (not (fboundp 'char-int)) ++ (defun char-int (a) ++ a)) ++ + (defun zenicb-parselines (proc string) +- (while (let ((length (+ (aref string 0)))) ++ (while (let ((length (+ (char-int (aref string 0))))) + (and (> (length string) length) + (let ((type (aref string 1)) + (line (substring string 2 length))) |