commit: fab2f5078f7e0f7d6899c4735ae9502d7bcad518 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Feb 14 21:26:11 2018 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Feb 14 21:27:08 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab2f507
app-emacs/mldonkey: Fix byte-compilation with Emacs 26. Closes: https://bugs.gentoo.org/647638 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch | 14 ++++++++++++++ app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch b/app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch new file mode 100644 index 00000000000..0548fd96c97 --- /dev/null +++ b/app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch @@ -0,0 +1,14 @@ +Fix byte compilation with Emacs 26. +https://bugs.gentoo.org/647638 + +--- mldonkey-el-0.0.4b-orig/mldonkey-vd.el ++++ mldonkey-el-0.0.4b/mldonkey-vd.el +@@ -801,7 +801,7 @@ + (insert "\n"))) + + +-(defun mldonkey-vd-insert (&optional ignore-1 &optional ignore-2) ++(defun mldonkey-vd-insert (&optional ignore-1 ignore-2) + + "Insert the table with the downloads in the MlDonkey buffer." + diff --git a/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild b/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild index 7f128b35f90..5c38394b6e9 100644 --- a/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild +++ b/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 @@ -16,7 +16,7 @@ SLOT="0" KEYWORDS="amd64 ppc x86" S="${WORKDIR}/${MY_P}" -ELISP_PATCHES="${P}-vd.patch" +ELISP_PATCHES="${P}-vd.patch ${P}-emacs-26.patch" SITEFILE="50${PN}-gentoo.el" src_compile() {
