diff options
author | Akinori Hattori <hattya@gentoo.org> | 2021-10-05 22:34:34 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2021-10-05 22:34:34 +0900 |
commit | e76243a1745ec781ff56d367d5fabfc8409f54f2 (patch) | |
tree | 474c3cb11e7a463a61825a4fa200412227a28ae4 /app-text/namazu | |
parent | app-text/namazu: update LICENSE (diff) | |
download | gentoo-e76243a1745ec781ff56d367d5fabfc8409f54f2.tar.gz gentoo-e76243a1745ec781ff56d367d5fabfc8409f54f2.tar.bz2 gentoo-e76243a1745ec781ff56d367d5fabfc8409f54f2.zip |
app-text/namazu: fix build with >=app-editors/emacs-27
Closes: https://bugs.gentoo.org/814455
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-text/namazu')
-rw-r--r-- | app-text/namazu/files/namazu-emacs-27.patch | 14 | ||||
-rw-r--r-- | app-text/namazu/namazu-2.0.21.ebuild | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/app-text/namazu/files/namazu-emacs-27.patch b/app-text/namazu/files/namazu-emacs-27.patch new file mode 100644 index 000000000000..cb9dd4de9590 --- /dev/null +++ b/app-text/namazu/files/namazu-emacs-27.patch @@ -0,0 +1,14 @@ +--- a/lisp/namazu.el ++++ b/lisp/namazu.el +@@ -99,9 +99,9 @@ + (defmacro defgroup (&rest args) + nil) + (defmacro defcustom (var value doc &rest args) +- (` (defvar (, var) (, value) (, doc)))) ++ `(defvar (, var) (, value) (, doc))) + (defmacro defface (var value doc &rest args) +- (` (make-face (, var)))) ++ `(make-face (, var))) + (defmacro define-widget (&rest args) + nil))) + diff --git a/app-text/namazu/namazu-2.0.21.ebuild b/app-text/namazu/namazu-2.0.21.ebuild index a3bcbba9f2e0..ef46e76118df 100644 --- a/app-text/namazu/namazu-2.0.21.ebuild +++ b/app-text/namazu/namazu-2.0.21.ebuild @@ -35,6 +35,7 @@ BDEPEND="nls? ( sys-devel/gettext )" PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch + "${FILESDIR}"/${PN}-emacs-27.patch "${FILESDIR}"/${PN}-perl-5.18.patch "${FILESDIR}"/${PN}-perl-5.26.patch "${FILESDIR}"/${P}-memmove.patch |