summaryrefslogtreecommitdiff
path: root/chat/zenicb/patches
diff options
context:
space:
mode:
Diffstat (limited to 'chat/zenicb/patches')
-rw-r--r--chat/zenicb/patches/patch-ac18
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)))