summaryrefslogtreecommitdiff
path: root/chat/zenicb/patches
diff options
context:
space:
mode:
authoryyamano <yyamano>2003-02-12 15:53:09 +0000
committeryyamano <yyamano>2003-02-12 15:53:09 +0000
commit8a7da5dc4e4814063d71b807199f31bfe256ad0c (patch)
treea3965430ba9e6d75fda3130be9a3bab02d4ec410 /chat/zenicb/patches
parent9b6e19010f3477ceed3b068bfadea9fa245ecc65 (diff)
downloadpkgsrc-8a7da5dc4e4814063d71b807199f31bfe256ad0c.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/patches')
-rw-r--r--chat/zenicb/patches/patch-ab18
1 files changed, 18 insertions, 0 deletions
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)))
+