unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#55418] [PATCH] gnu: emacs-dash: Fix build with emacs28.
@ 2022-05-14 21:39 Michael Rohleder
  2022-05-14 23:38 ` bug#55418: " Liliana Marie Prikler
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2022-05-14 21:39 UTC (permalink / raw)
  To: 55418; +Cc: Michael Rohleder

* gnu/packages/emacs-xyz.scm (emacs-dash)[phase]:
Add phase 'disable-byte-compile-error-on-warn.
---
 gnu/packages/emacs-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c18505a681..928ca1c120 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3677,7 +3677,14 @@ (define-public emacs-dash
                (base32
                 "0z6f8y1m9amhg427iz1d4xcyr6n0kj5w7kmiz134p320ixsdnzd8"))))
     (build-system emacs-build-system)
-    (arguments `(#:tests? #t))
+    (arguments `(#:tests? #t
+                 #:phases
+                 (modify-phases %standard-phases
+                   (add-after 'unpack 'disable-byte-compile-error-on-warn
+                     (lambda _
+                       (substitute* "Makefile"
+                         (("\\(setq byte-compile-error-on-warn t\\)")
+                          "(setq byte-compile-error-on-warn nil)")))))))
     (home-page "https://github.com/magnars/dash.el")
     (synopsis "Modern list library for Emacs")
     (description "This package provides a modern list API library for Emacs.")
-- 
2.36.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#55418: [PATCH] gnu: emacs-dash: Fix build with emacs28.
  2022-05-14 21:39 [bug#55418] [PATCH] gnu: emacs-dash: Fix build with emacs28 Michael Rohleder
@ 2022-05-14 23:38 ` Liliana Marie Prikler
  0 siblings, 0 replies; 2+ messages in thread
From: Liliana Marie Prikler @ 2022-05-14 23:38 UTC (permalink / raw)
  To: Michael Rohleder, 55418-done

Am Samstag, dem 14.05.2022 um 23:39 +0200 schrieb Michael Rohleder:
> * gnu/packages/emacs-xyz.scm (emacs-dash)[phase]:
> Add phase 'disable-byte-compile-error-on-warn.
> ---
Applied with a small fix in the commit message.

Thanks




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-14 23:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-14 21:39 [bug#55418] [PATCH] gnu: emacs-dash: Fix build with emacs28 Michael Rohleder
2022-05-14 23:38 ` bug#55418: " Liliana Marie Prikler

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