--- /dev/null
+https://bugs.gentoo.org/652952
+
+--- vm-8.2.0b-orig/lisp/vm-pcrisis.el
++++ vm-8.2.0b/lisp/vm-pcrisis.el
+@@ -1214,7 +1214,7 @@
+ ;; Functions for vmpc-conditions:
+ ;; -------------------------------------------------------------------
+
+-(defun vmpc-none-true-yet (&optional &rest exceptions)
++(defun vmpc-none-true-yet (&rest exceptions)
+ "True if none of the previous evaluated conditions was true.
+ This is a condition that can appear in `vmpc-conditions'. If EXCEPTIONS are
+ specified, it means none were true except those. For example, if you wanted
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
-inherit elisp eutils
+inherit elisp
MY_PV="${PV/_beta/b}"
MY_P="${PN}-${MY_PV}"
IUSE="bbdb ssl"
DEPEND="bbdb? ( <app-emacs/bbdb-3 )"
-RDEPEND="!app-emacs/u-vm-color
- ${DEPEND}
+RDEPEND="${DEPEND}
ssl? ( net-misc/stunnel )"
-DEPEND="${DEPEND}
- sys-apps/texinfo"
+BDEPEND="sys-apps/texinfo"
S="${WORKDIR}/${MY_P}"
SITEFILE="50${PN}-gentoo.el"
src_prepare() {
- epatch "${FILESDIR}/${P}-datadir.patch"
- epatch "${FILESDIR}/${P}-texinfo-5.patch"
+ eapply "${FILESDIR}/${P}-datadir.patch"
+ eapply "${FILESDIR}/${P}-texinfo-5.patch"
+ eapply "${FILESDIR}/${P}-optional-args.patch"
+ eapply_user
if ! use bbdb; then
elog "Excluding vm-pcrisis.el since the \"bbdb\" USE flag is not set."
- epatch "${FILESDIR}/${PN}-8.0-no-pcrisis.patch"
+ eapply "${FILESDIR}/${PN}-8.0-no-pcrisis.patch"
fi
}