From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1327337-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 6230A158086
	for <garchives@archives.gentoo.org>; Tue,  5 Oct 2021 13:36:47 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 941C0E0866;
	Tue,  5 Oct 2021 13:36:46 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5A6A6E0866
	for <gentoo-commits@lists.gentoo.org>; Tue,  5 Oct 2021 13:36:46 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C23613430FA
	for <gentoo-commits@lists.gentoo.org>; Tue,  5 Oct 2021 13:36:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B60912F
	for <gentoo-commits@lists.gentoo.org>; Tue,  5 Oct 2021 13:36:43 +0000 (UTC)
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Akinori Hattori" <hattya@gentoo.org>
Message-ID: <1633440874.e76243a1745ec781ff56d367d5fabfc8409f54f2.hattya@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/namazu/, app-text/namazu/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-text/namazu/files/namazu-emacs-27.patch app-text/namazu/namazu-2.0.21.ebuild
X-VCS-Directories: app-text/namazu/files/ app-text/namazu/
X-VCS-Committer: hattya
X-VCS-Committer-Name: Akinori Hattori
X-VCS-Revision: e76243a1745ec781ff56d367d5fabfc8409f54f2
X-VCS-Branch: master
Date: Tue,  5 Oct 2021 13:36:43 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1ef68981-fbaf-472d-b4d6-329bf0cc4d08
X-Archives-Hash: 3920ae97834f44f32896d12451c68e5d

commit:     e76243a1745ec781ff56d367d5fabfc8409f54f2
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  5 13:34:34 2021 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue Oct  5 13:34:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e76243a1

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 <AT> gentoo.org>

 app-text/namazu/files/namazu-emacs-27.patch | 14 ++++++++++++++
 app-text/namazu/namazu-2.0.21.ebuild        |  1 +
 2 files changed, 15 insertions(+)

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 00000000000..cb9dd4de959
--- /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 a3bcbba9f2e..ef46e76118d 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