From: Giovanni Biscuolo <g@xelera.eu>
To: 43090@debbugs.gnu.org
Subject: bug#43090: [PATCH] emacs-clojure-mode 5.12.0 build failure
Date: Sat, 29 Aug 2020 16:21:53 +0200 [thread overview]
Message-ID: <87sgc5edmm.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87o8mulkrs.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me>
[-- Attachment #1.1: Type: text/plain, Size: 198 bytes --]
Hello,
this patch fixes the bug: I was able to build emacs-clojure-mode in a
./pre-inst-env
Actually I don't really know what should be the docstring content, it's
just a quick and dirt hack :-)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-emacs-clojure-mode-Fix-test.patch --]
[-- Type: text/x-diff, Size: 2575 bytes --]
From f24494b3cbcdfba7cc711ef2f9e16c9c18d1e3a4 Mon Sep 17 00:00:00 2001
From: Giovanni Biscuolo <g@xelera.eu>
Date: Sat, 29 Aug 2020 16:07:41 +0200
Subject: [PATCH] gnu: emacs-clojure-mode: Fix test
Fix missing docstring test.
Close bug#43090
* gnu/packages/emacs-xyz.scm: Add patches to origin, with emacs-clojure-mode-fix-failing-docsting-test.patch
* gnu/packages/patches/emacs-clojure-mode-fix-failing-docsting-test.patch: New file
---
gnu/packages/emacs-xyz.scm | 4 ++-
...ojure-mode-fix-failing-docsting-test.patch | 27 +++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/patches/emacs-clojure-mode-fix-failing-docsting-test.patch
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0755926ffe..01daea8a57 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7174,7 +7174,9 @@ allowing unprefixed keys to insert their respective characters as expected.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "14ipfy9ji39pnb9x7bzjp8lyqyxk168fx017m823j7a2g9i0sgp3"))))
+ (base32 "14ipfy9ji39pnb9x7bzjp8lyqyxk168fx017m823j7a2g9i0sgp3"))
+ (patches
+ (search-patches "emacs-clojure-mode-fix-failing-docsting-test.patch"))))
(build-system emacs-build-system)
(native-inputs
`(("emacs-buttercup" ,emacs-buttercup)
diff --git a/gnu/packages/patches/emacs-clojure-mode-fix-failing-docsting-test.patch b/gnu/packages/patches/emacs-clojure-mode-fix-failing-docsting-test.patch
new file mode 100644
index 0000000000..367dc3cf00
--- /dev/null
+++ b/gnu/packages/patches/emacs-clojure-mode-fix-failing-docsting-test.patch
@@ -0,0 +1,27 @@
+From 5fb8ba78f01b6e9cd2079710fc18ecc5e18ab07e Mon Sep 17 00:00:00 2001
+From: Giovanni Biscuolo <g@xelera.eu>
+Date: Sat, 29 Aug 2020 15:18:21 +0200
+Subject: [PATCH] Fix failing docsting test
+
+Fixes bug#43090
+
+* clojure-mode.el: Add docstring to (cl-defmethod project-roots...)
+---
+ clojure-mode.el | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/clojure-mode.el b/clojure-mode.el
+index 4f615bf..9f1202f 100644
+--- a/clojure-mode.el
++++ b/clojure-mode.el
+@@ -1758,6 +1758,7 @@ Return nil if not inside a project."
+
+ ;; project.el integration
+ (cl-defmethod project-roots ((project (head clojure)))
++ "project.el integration"
+ (list (cdr project)))
+
+ (defun clojure-project-relative-path (path)
+--
+2.27.0
+
--
2.27.0
[-- Attachment #1.3: Type: text/plain, Size: 71 bytes --]
Thanks, Gio'
--
Giovanni Biscuolo
Xelera IT Infrastructures
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2020-08-29 14:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-28 17:53 bug#43090: emacs-clojure-mode 5.12.0 build failure Giovanni Biscuolo
2020-08-29 14:21 ` Giovanni Biscuolo [this message]
2020-08-29 15:00 ` bug#43090: [PATCH] " Oleg Pykhalov
2020-08-29 17:35 ` Giovanni Biscuolo
2020-08-29 20:07 ` Oleg Pykhalov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sgc5edmm.fsf@roquette.i-did-not-set--mail-host-address--so-tickle-me \
--to=g@xelera.eu \
--cc=43090@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).