summaryrefslogtreecommitdiff
path: root/chat/zenicb
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2003-05-24 07:51:34 +0000
committeruebayasi <uebayasi>2003-05-24 07:51:34 +0000
commit407c653980389b5e39fe999612f7522ee2f5844f (patch)
treeb14547ad9c3bd02e3d603db1ab0458d5c2d52f19 /chat/zenicb
parent624df020e79ecd714b7b34e26c774b1aa1097485 (diff)
downloadpkgsrc-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')
-rw-r--r--chat/zenicb/Makefile6
-rw-r--r--chat/zenicb/distinfo3
-rw-r--r--chat/zenicb/patches/patch-ac18
3 files changed, 23 insertions, 4 deletions
diff --git a/chat/zenicb/Makefile b/chat/zenicb/Makefile
index 5a78ed97663..82a77bafb21 100644
--- a/chat/zenicb/Makefile
+++ b/chat/zenicb/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2003/01/10 14:26:38 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2003/05/24 07:51:34 uebayasi Exp $
DISTNAME= zenicb-19981202
+PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_LOCAL}
@@ -11,8 +12,7 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
.include "../../mk/emacs.mk"
-# Works fine on XEmacs 21.1. XEmacs 21.5 is probably okay too.
-EMACS_VERSIONS_ACCEPTED= emacs21 emacs20 xemacs211 xemacs215
+EMACS_VERSIONS_ACCEPTED= emacs21 emacs20 xemacs214 xemacs215
.if defined(USE_XEMACS)
MAKEFLAGS+= USE_XEMACS=${USE_XEMACS}
diff --git a/chat/zenicb/distinfo b/chat/zenicb/distinfo
index 058f5231329..d71c8b2dfbb 100644
--- a/chat/zenicb/distinfo
+++ b/chat/zenicb/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2003/02/12 15:53:09 yyamano Exp $
+$NetBSD: distinfo,v 1.5 2003/05/24 07:51:35 uebayasi Exp $
SHA1 (zenicb-19981202.tar.gz) = c700e51084a123e210a8aa7335ebc1b2464a85e7
Size (zenicb-19981202.tar.gz) = 30833 bytes
SHA1 (patch-aa) = 55f84c908156edeb8c02bc43950b6ce416345b90
SHA1 (patch-ab) = 26e994ed66a0b0792f9741edaae5a2bf86e39345
+SHA1 (patch-ac) = a2ab8c0c13f440351d87be534c7500fe75f81cc6
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)))