GNU bug report logs - #45073
[PATCH] gnu: emacs-list-utils: Suppress warning "Package cl is deprecated".

Previous Next

Package: guix-patches;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Sun, 6 Dec 2020 15:16:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Rohleder <mike <at> rohleder.de>
Subject: bug#45073: closed (Re: [bug#45073] [PATCH] gnu: emacs-list-utils:
 Suppress warning "Package cl is deprecated".)
Date: Sat, 12 Dec 2020 20:47:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#45073: [PATCH] gnu: emacs-list-utils: Suppress warning "Package cl is deprecated".

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 45073 <at> debbugs.gnu.org.

-- 
45073: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45073
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 45073-done <at> debbugs.gnu.org
Subject: Re: [bug#45073] [PATCH] gnu: emacs-list-utils: Suppress warning
 "Package cl is deprecated".
Date: Sat, 12 Dec 2020 21:46:16 +0100
Hello,

Michael Rohleder <mike <at> rohleder.de> writes:

> * gnu/packages/emacs-xyz.scm (emacs-list-utils)[arguments]: Add phase
> patch-require-cl to substitute "(require 'cl)" in a autoload section.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou

[Message part 3 (message/rfc822, inline)]
From: Michael Rohleder <mike <at> rohleder.de>
To: guix-patches <at> gnu.org
Cc: Michael Rohleder <mike <at> rohleder.de>
Subject: [PATCH] gnu: emacs-list-utils: Suppress warning "Package cl is
 deprecated".
Date: Sun,  6 Dec 2020 16:15:26 +0100
* gnu/packages/emacs-xyz.scm (emacs-list-utils)[arguments]: Add phase
patch-require-cl to substitute "(require 'cl)" in a autoload section.
---
 gnu/packages/emacs-xyz.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 74ea690602..565f4b8b98 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15237,6 +15237,14 @@ and @code{erc-send-modify-hook} to download and show images.")
        (sha256
         (base32 "07hbz2md52ccy95gv4d5n6szrfmpfqf3w4kwqdg2cf54c7kgf7hw"))))
     (build-system emacs-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-require-cl
+           (lambda _
+             (substitute* "list-utils.el"
+               (("\\(require 'cl\\)") "(require 'cl-lib)"))
+             #t)))))
     (home-page "https://github.com/rolandwalker/list-utils")
     (synopsis "List-manipulation utility functions")
     (description "This package provides a list manipulation library for Emacs.")
-- 
2.29.2




This bug report was last modified 4 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.