summaryrefslogtreecommitdiff
path: root/chat/zenicb
diff options
context:
space:
mode:
authoryyamano <yyamano@pkgsrc.org>2003-02-12 15:53:09 +0000
committeryyamano <yyamano@pkgsrc.org>2003-02-12 15:53:09 +0000
commita9e87292b555e0af81091770959c6f9623637705 (patch)
treea3965430ba9e6d75fda3130be9a3bab02d4ec410 /chat/zenicb
parent158f2d7434cfed0dda6dfd76fa852c25def5d06f (diff)
downloadpkgsrc-a9e87292b555e0af81091770959c6f9623637705.tar.gz
Don't set a non exixtent function to read-passwd on FSF Emacs 20.x
or later (They actually have read-passwd).
Diffstat (limited to 'chat/zenicb')
-rw-r--r--chat/zenicb/distinfo3
-rw-r--r--chat/zenicb/patches/patch-ab18
2 files changed, 20 insertions, 1 deletions
diff --git a/chat/zenicb/distinfo b/chat/zenicb/distinfo
index 1dc3ccd61b0..058f5231329 100644
--- a/chat/zenicb/distinfo
+++ b/chat/zenicb/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2001/11/02 10:56:02 martin Exp $
+$NetBSD: distinfo,v 1.4 2003/02/12 15:53:09 yyamano Exp $
SHA1 (zenicb-19981202.tar.gz) = c700e51084a123e210a8aa7335ebc1b2464a85e7
Size (zenicb-19981202.tar.gz) = 30833 bytes
SHA1 (patch-aa) = 55f84c908156edeb8c02bc43950b6ce416345b90
+SHA1 (patch-ab) = 26e994ed66a0b0792f9741edaae5a2bf86e39345
diff --git a/chat/zenicb/patches/patch-ab b/chat/zenicb/patches/patch-ab
new file mode 100644
index 00000000000..90dd978db24
--- /dev/null
+++ b/chat/zenicb/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1 2003/02/12 15:53:09 yyamano Exp $
+
+--- src/zenicb-example.el.orig Mon Jul 20 07:12:55 1998
++++ src/zenicb-example.el
+@@ -89,10 +89,11 @@
+ ;;; insert time-stamps into the buffer at least every 10 minutes.
+ (load-library "zenicb-stamp")
+
+-;;; fsf emacs doesn't have read-passwd
++;;; fsf emacs 18.x and 19.x don't have read-passwd
+ (cond ((= (string-to-int emacs-version) 18)
+ (fset 'read-passwd 'read-from-minibuffer))
+- ((not (string-match "XEmacs" emacs-version))
++ ((and (not (string-match "XEmacs" emacs-version))
++ (= (string-to-int emacs-version) 19))
+ (require 'ange-ftp)
+ (fset 'read-passwd 'ange-ftp-read-passwd)))
+