Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/namazu/, app-text/namazu/files/
Date: Tue, 05 Oct 2021 13:36:47
Message-Id: 1633440874.e76243a1745ec781ff56d367d5fabfc8409f54f2.hattya@gentoo
1 commit: e76243a1745ec781ff56d367d5fabfc8409f54f2
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 5 13:34:34 2021 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 5 13:34:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e76243a1
7
8 app-text/namazu: fix build with >=app-editors/emacs-27
9
10 Closes: https://bugs.gentoo.org/814455
11 Package-Manager: Portage-3.0.20, Repoman-3.0.3
12 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
13
14 app-text/namazu/files/namazu-emacs-27.patch | 14 ++++++++++++++
15 app-text/namazu/namazu-2.0.21.ebuild | 1 +
16 2 files changed, 15 insertions(+)
17
18 diff --git a/app-text/namazu/files/namazu-emacs-27.patch b/app-text/namazu/files/namazu-emacs-27.patch
19 new file mode 100644
20 index 00000000000..cb9dd4de959
21 --- /dev/null
22 +++ b/app-text/namazu/files/namazu-emacs-27.patch
23 @@ -0,0 +1,14 @@
24 +--- a/lisp/namazu.el
25 ++++ b/lisp/namazu.el
26 +@@ -99,9 +99,9 @@
27 + (defmacro defgroup (&rest args)
28 + nil)
29 + (defmacro defcustom (var value doc &rest args)
30 +- (` (defvar (, var) (, value) (, doc))))
31 ++ `(defvar (, var) (, value) (, doc)))
32 + (defmacro defface (var value doc &rest args)
33 +- (` (make-face (, var))))
34 ++ `(make-face (, var)))
35 + (defmacro define-widget (&rest args)
36 + nil)))
37 +
38
39 diff --git a/app-text/namazu/namazu-2.0.21.ebuild b/app-text/namazu/namazu-2.0.21.ebuild
40 index a3bcbba9f2e..ef46e76118d 100644
41 --- a/app-text/namazu/namazu-2.0.21.ebuild
42 +++ b/app-text/namazu/namazu-2.0.21.ebuild
43 @@ -35,6 +35,7 @@ BDEPEND="nls? ( sys-devel/gettext )"
44
45 PATCHES=(
46 "${FILESDIR}"/${PN}-gentoo.patch
47 + "${FILESDIR}"/${PN}-emacs-27.patch
48 "${FILESDIR}"/${PN}-perl-5.18.patch
49 "${FILESDIR}"/${PN}-perl-5.26.patch
50 "${FILESDIR}"/${P}-memmove.patch