unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Rohleder <mike@rohleder.de>
To: 55418@debbugs.gnu.org
Cc: Michael Rohleder <mike@rohleder.de>
Subject: [bug#55418] [PATCH] gnu: emacs-dash: Fix build with emacs28.
Date: Sat, 14 May 2022 23:39:57 +0200	[thread overview]
Message-ID: <20220514213957.21292-1-mike@rohleder.de> (raw)

* 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





             reply	other threads:[~2022-05-14 21:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14 21:39 Michael Rohleder [this message]
2022-05-14 23:38 ` bug#55418: [PATCH] gnu: emacs-dash: Fix build with emacs28 Liliana Marie Prikler

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=20220514213957.21292-1-mike@rohleder.de \
    --to=mike@rohleder.de \
    --cc=55418@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).