From fab2f5078f7e0f7d6899c4735ae9502d7bcad518 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 14 Feb 2018 22:26:11 +0100 Subject: 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(-) create mode 100644 app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch (limited to 'app-emacs') 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 000000000000..0548fd96c97f --- /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 7f128b35f900..5c38394b6e95 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() { -- cgit v1.2.3-65-gdbad