summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-02-14 22:26:11 +0100
committerUlrich Müller <ulm@gentoo.org>2018-02-14 22:27:08 +0100
commitfab2f5078f7e0f7d6899c4735ae9502d7bcad518 (patch)
treea8b5fffe5d596381d345450c3f680792f75d55c1 /app-emacs
parentapp-misc/ckb: Version bump to 0.2.9 (ckb-next) (diff)
downloadgentoo-fab2f5078f7e0f7d6899c4735ae9502d7bcad518.tar.gz
gentoo-fab2f5078f7e0f7d6899c4735ae9502d7bcad518.tar.bz2
gentoo-fab2f5078f7e0f7d6899c4735ae9502d7bcad518.zip
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
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/mldonkey/files/mldonkey-0.0.4b-emacs-26.patch14
-rw-r--r--app-emacs/mldonkey/mldonkey-0.0.4b-r1.ebuild4
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() {