Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/mldonkey/files/, app-emacs/mldonkey/
Date: Wed, 14 Feb 2018 21:31:16
Message-Id: 1518643628.fab2f5078f7e0f7d6899c4735ae9502d7bcad518.ulm@gentoo
1 commit: fab2f5078f7e0f7d6899c4735ae9502d7bcad518
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 14 21:26:11 2018 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 14 21:27:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fab2f507
7
8 app-emacs/mldonkey: Fix byte-compilation with Emacs 26.
9
10 Closes: https://bugs.gentoo.org/647638
11 Package-Manager: Portage-2.3.24, Repoman-2.3.6
12
13 app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch | 14 ++++++++++++++
14 app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild | 4 ++--
15 2 files changed, 16 insertions(+), 2 deletions(-)
16
17 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
18 new file mode 100644
19 index 00000000000..0548fd96c97
20 --- /dev/null
21 +++ b/app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch
22 @@ -0,0 +1,14 @@
23 +Fix byte compilation with Emacs 26.
24 +https://bugs.gentoo.org/647638
25 +
26 +--- mldonkey-el-0.0.4b-orig/mldonkey-vd.el
27 ++++ mldonkey-el-0.0.4b/mldonkey-vd.el
28 +@@ -801,7 +801,7 @@
29 + (insert "\n")))
30 +
31 +
32 +-(defun mldonkey-vd-insert (&optional ignore-1 &optional ignore-2)
33 ++(defun mldonkey-vd-insert (&optional ignore-1 ignore-2)
34 +
35 + "Insert the table with the downloads in the MlDonkey buffer."
36 +
37
38 diff --git a/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild b/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild
39 index 7f128b35f90..5c38394b6e9 100644
40 --- a/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild
41 +++ b/app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild
42 @@ -1,4 +1,4 @@
43 -# Copyright 1999-2015 Gentoo Foundation
44 +# Copyright 1999-2018 Gentoo Foundation
45 # Distributed under the terms of the GNU General Public License v2
46
47 EAPI=4
48 @@ -16,7 +16,7 @@ SLOT="0"
49 KEYWORDS="amd64 ppc x86"
50
51 S="${WORKDIR}/${MY_P}"
52 -ELISP_PATCHES="${P}-vd.patch"
53 +ELISP_PATCHES="${P}-vd.patch ${P}-emacs-26.patch"
54 SITEFILE="50${PN}-gentoo.el"
55
56 src_compile() {