* [gentoo-commits] repo/gentoo:master commit in: app-emacs/xrdb-mode/files/, app-emacs/xrdb-mode/
@ 2020-05-10 17:14 Ulrich Müller
0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2020-05-10 17:14 UTC (permalink / raw
To: gentoo-commits
commit: 569fcdab8974bd152a5599d11c159b0e3846ebe6
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun May 10 17:13:27 2020 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun May 10 17:13:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=569fcdab
app-emacs/xrdb-mode: Fix old-style backquotes.
Closes: https://bugs.gentoo.org/722170
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
.../xrdb-mode/files/xrdb-mode-3.0-backquotes.patch | 15 +++++++++++++++
app-emacs/xrdb-mode/xrdb-mode-3.0-r1.ebuild | 19 +++++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/app-emacs/xrdb-mode/files/xrdb-mode-3.0-backquotes.patch b/app-emacs/xrdb-mode/files/xrdb-mode-3.0-backquotes.patch
new file mode 100644
index 00000000000..f0cd950c3a3
--- /dev/null
+++ b/app-emacs/xrdb-mode/files/xrdb-mode-3.0-backquotes.patch
@@ -0,0 +1,15 @@
+--- a/xrdb-mode.el
++++ b/xrdb-mode.el
+@@ -178,9 +178,9 @@
+
+ (defmacro xrdb-safe (&rest body)
+ "Safely execute BODY, return nil if an error occurred."
+- (` (condition-case nil
+- (progn (,@ body))
+- (error nil))))
++ `(condition-case nil
++ (progn ,@ body)
++ (error nil)))
+
+ (defsubst xrdb-skip-to-separator ()
+ "Skip forward.
diff --git a/app-emacs/xrdb-mode/xrdb-mode-3.0-r1.ebuild b/app-emacs/xrdb-mode/xrdb-mode-3.0-r1.ebuild
new file mode 100644
index 00000000000..9f7879241ea
--- /dev/null
+++ b/app-emacs/xrdb-mode/xrdb-mode-3.0-r1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp
+
+DESCRIPTION="An Emacs major mode for editing X resource database files"
+HOMEPAGE="https://launchpad.net/xrdb-mode
+ https://www.emacswiki.org/emacs/ResourceFiles"
+# taken from https://launchpad.net/${PN}/trunk/3.0/+download/${PN}.el
+SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.el.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+PATCHES=("${FILESDIR}"/${P}-backquotes.patch)
+SITEFILE="50${PN}-gentoo.el"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-10 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-10 17:14 [gentoo-commits] repo/gentoo:master commit in: app-emacs/xrdb-mode/files/, app-emacs/xrdb-mode/ Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox