diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-04-06 18:45:31 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-04-06 18:45:31 +0200 |
commit | 34a3f4b81ae51f430ae37bea4ebaa395eda281f6 (patch) | |
tree | 4205996760802c231980ca710f008fcfc0ee32c5 /app-emacs | |
parent | app-emacs/volume: Fix byte-compilation with Emacs 28 (diff) | |
download | gentoo-34a3f4b81ae51f430ae37bea4ebaa395eda281f6.tar.gz gentoo-34a3f4b81ae51f430ae37bea4ebaa395eda281f6.tar.bz2 gentoo-34a3f4b81ae51f430ae37bea4ebaa395eda281f6.zip |
app-emacs/evil: Fix byte-compilation with Emacs 28
Closes: https://bugs.gentoo.org/836906
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/evil/evil-1.14.0.ebuild | 3 | ||||
-rw-r--r-- | app-emacs/evil/files/evil-1.14.0-emacs-28.patch | 13 |
2 files changed, 15 insertions, 1 deletions
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." |