diff options
author | minskim <minskim> | 2011-10-11 19:30:40 +0000 |
---|---|---|
committer | minskim <minskim> | 2011-10-11 19:30:40 +0000 |
commit | 1249ae02995bbedde3fa8eaf56ff7dffd42b03d0 (patch) | |
tree | 2ef222064da474fa0eb311989361e8bc827b57ac /misc/bbdb | |
parent | f4de231a5d921620403080360433743de67032b1 (diff) | |
download | pkgsrc-1249ae02995bbedde3fa8eaf56ff7dffd42b03d0.tar.gz |
Make bbdb build with emacs-24.
Without this patch, build fails with the following error:
bbdb-mhe.el:56:1:Error: Invalid function: ...
Emacs is partially responsible for this, but the upstream won't fix it
since the cause of this (old-style backquote) will be removed in
emacs-25.
Patch provided by Makoto Fujiwara in PR 44963.
Diffstat (limited to 'misc/bbdb')
-rw-r--r-- | misc/bbdb/Makefile | 5 | ||||
-rw-r--r-- | misc/bbdb/distinfo | 3 | ||||
-rw-r--r-- | misc/bbdb/patches/patch-lisp_bbdb-mhe.el | 15 |
3 files changed, 20 insertions, 3 deletions
diff --git a/misc/bbdb/Makefile b/misc/bbdb/Makefile index 13ffb1f848f..d75a4ae3db8 100644 --- a/misc/bbdb/Makefile +++ b/misc/bbdb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2011/08/29 02:55:30 hiramatsu Exp $ +# $NetBSD: Makefile,v 1.25 2011/10/11 19:30:40 minskim Exp $ # DISTNAME= bbdb-2.34 @@ -12,7 +12,8 @@ HOMEPAGE= http://sourceforge.net/projects/bbdb/ COMMENT= Insidious Big Brother DataBase, a rolodex-like database Emacs program # bbdb is included in xemacs-packages -EMACS_VERSIONS_ACCEPTED= emacs23 emacs23nox emacs22 emacs22nox emacs21 emacs21nox \ +EMACS_VERSIONS_ACCEPTED= emacs24 emacs24nox emacs23 emacs23nox \ + emacs22 emacs22nox emacs21 emacs21nox \ emacs20 CONFLICTS+= xemacs-packages-[0-9]* diff --git a/misc/bbdb/distinfo b/misc/bbdb/distinfo index 22789f7eb69..1eeba251df3 100644 --- a/misc/bbdb/distinfo +++ b/misc/bbdb/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2008/11/19 13:03:37 obache Exp $ +$NetBSD: distinfo,v 1.4 2011/10/11 19:30:40 minskim Exp $ SHA1 (bbdb-2.34.tar.gz) = f5664a86a28ba4bc52b78a0ad19441d2efe8e28b RMD160 (bbdb-2.34.tar.gz) = 24e4606cb94b5c311139fab910af909f5b95e0fa Size (bbdb-2.34.tar.gz) = 363841 bytes SHA1 (patch-aa) = 4b9942a4b1f8e2675cdaca67777c80d6490d01ac +SHA1 (patch-lisp_bbdb-mhe.el) = c5b83ce06528db10d0f468d2d10d73ccb6dc453e diff --git a/misc/bbdb/patches/patch-lisp_bbdb-mhe.el b/misc/bbdb/patches/patch-lisp_bbdb-mhe.el new file mode 100644 index 00000000000..31042fcd2cb --- /dev/null +++ b/misc/bbdb/patches/patch-lisp_bbdb-mhe.el @@ -0,0 +1,15 @@ +$NetBSD: patch-lisp_bbdb-mhe.el,v 1.1 2011/10/11 19:30:40 minskim Exp $ + +Make bbdb build with emacs-24. + +--- lisp/bbdb-mhe.el.orig 2001-08-31 15:07:47.000000000 +0000 ++++ lisp/bbdb-mhe.el +@@ -37,7 +37,7 @@ + + (defmacro bbdb/mh-cache-key (message) + "Return a (numeric) key for MESSAGE" +- (`(let* ((attrs (file-attributes (, message))) ++ ( ` (let* ((attrs (file-attributes (, message))) + (status-time (nth 6 attrs)) + (status-time-2 (cdr status-time)) + (inode (nth 10 attrs))) |