commit: 34a3f4b81ae51f430ae37bea4ebaa395eda281f6 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Apr 6 16:45:31 2022 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Apr 6 16:45:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34a3f4b8
app-emacs/evil: Fix byte-compilation with Emacs 28 Closes: https://bugs.gentoo.org/836906 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> app-emacs/evil/evil-1.14.0.ebuild | 3 ++- app-emacs/evil/files/evil-1.14.0-emacs-28.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app-emacs/evil/evil-1.14.0.ebuild b/app-emacs/evil/evil-1.14.0.ebuild index 7bbcef190ae2..d0449cbc8999 100644 --- a/app-emacs/evil/evil-1.14.0.ebuild +++ b/app-emacs/evil/evil-1.14.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,6 +18,7 @@ RDEPEND=">=app-emacs/undo-tree-0.6.3" BDEPEND="${RDEPEND} sys-apps/texinfo" +PATCHES=( "${FILESDIR}"/${P}-emacs-28.patch ) ELISP_REMOVE="evil-pkg.el evil-tests.el evil-test-helpers.el" ELISP_TEXINFO="doc/build/texinfo/evil.texi" SITEFILE="50${PN}-gentoo.el" diff --git a/app-emacs/evil/files/evil-1.14.0-emacs-28.patch b/app-emacs/evil/files/evil-1.14.0-emacs-28.patch new file mode 100644 index 000000000000..eb54a125232c --- /dev/null +++ b/app-emacs/evil/files/evil-1.14.0-emacs-28.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/836906 + +--- evil-1.2.14/evil-ex.el ++++ evil-1.2.14/evil-ex.el +@@ -592,7 +592,7 @@ + + (define-obsolete-function-alias + 'evil-ex-shell-command-completion-at-point +- 'comint-completion-at-point) ++ 'comint-completion-at-point "") + + (evil-ex-define-argument-type shell + "Shell argument type, supports completion."
