From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 AC5E613835A for ; Sun, 10 May 2020 10:24:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8EBAE08B1; Sun, 10 May 2020 10:24:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE4E0E08B1 for ; Sun, 10 May 2020 10:24:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3735E34F243 for ; Sun, 10 May 2020 10:24:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDECD1B0 for ; Sun, 10 May 2020 10:24:28 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1589106239.94ae641f7f5f45a6a45d195105497cc72af46adf.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/d-mode/, app-emacs/d-mode/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/d-mode/d-mode-2.0.10.ebuild app-emacs/d-mode/files/d-mode-2.0.10-rx-form.patch X-VCS-Directories: app-emacs/d-mode/ app-emacs/d-mode/files/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 94ae641f7f5f45a6a45d195105497cc72af46adf X-VCS-Branch: master Date: Sun, 10 May 2020 10:24:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9aba425a-3be4-44f2-92e0-d81bd49822d0 X-Archives-Hash: 8d93c832bbec0792df5449ac07105692 commit: 94ae641f7f5f45a6a45d195105497cc72af46adf Author: Ulrich Müller gentoo org> AuthorDate: Sun May 10 09:49:49 2020 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun May 10 10:23:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ae641f app-emacs/d-mode: Fix compilation with Emacs 27. Closes: https://bugs.gentoo.org/722012 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Ulrich Müller gentoo.org> app-emacs/d-mode/d-mode-2.0.10.ebuild | 3 ++- app-emacs/d-mode/files/d-mode-2.0.10-rx-form.patch | 25 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/app-emacs/d-mode/d-mode-2.0.10.ebuild b/app-emacs/d-mode/d-mode-2.0.10.ebuild index c410ee10383..4a23ae67754 100644 --- a/app-emacs/d-mode/d-mode-2.0.10.ebuild +++ b/app-emacs/d-mode/d-mode-2.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,4 +16,5 @@ KEYWORDS="~amd64 ~x86" RESTRICT="test" S="${WORKDIR}/Emacs-D-Mode-${PV}" +PATCHES=("${FILESDIR}"/${P}-rx-form.patch) SITEFILE="50${PN}-gentoo.el" diff --git a/app-emacs/d-mode/files/d-mode-2.0.10-rx-form.patch b/app-emacs/d-mode/files/d-mode-2.0.10-rx-form.patch new file mode 100644 index 00000000000..78ed206c3a8 --- /dev/null +++ b/app-emacs/d-mode/files/d-mode-2.0.10-rx-form.patch @@ -0,0 +1,25 @@ +https://bugs.gentoo.org/722012 + +From cfd1d0869d51b7548b3fb738b2f2593c76533d44 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Per=20Nordl=C3=B6w?= +Date: Wed, 9 Oct 2019 11:03:00 +0200 +Subject: [PATCH] Use rx-to-string instead of rx-form to support Emacs master + (#97) + +--- + d-mode.el | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/d-mode.el b/d-mode.el +index f8211cd..df72b8d 100644 +--- a/d-mode.el ++++ b/d-mode.el +@@ -210,7 +210,7 @@ The expression is added to `compilation-error-regexp-alist' and + (add-to-list + 'compilation-error-regexp-alist-alist + `(,symbol +- ,(rx-form ++ ,(rx-to-string + `(and + line-start + (group-n 1 (one-or-more any)) ; File name