bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#43090: [PATCH] emacs-clojure-mode 5.12.0 build failure


From: Giovanni Biscuolo
Subject: bug#43090: [PATCH] emacs-clojure-mode 5.12.0 build failure
Date: Sat, 29 Aug 2020 16:21:53 +0200

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 :-)

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

Thanks, Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]