guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: emacs-list-utils: Suppress warning "Package


From: guix-commits
Subject: branch master updated: gnu: emacs-list-utils: Suppress warning "Package cl is deprecated".
Date: Sat, 12 Dec 2020 15:46:23 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 036df74  gnu: emacs-list-utils: Suppress warning "Package cl is 
deprecated".
036df74 is described below

commit 036df7468c49a123d607581138dcee65291c7c6b
Author: Michael Rohleder <mike@rohleder.de>
AuthorDate: Sun Dec 6 16:15:26 2020 +0100

    gnu: emacs-list-utils: Suppress warning "Package cl is deprecated".
    
    * gnu/packages/emacs-xyz.scm (emacs-list-utils)[arguments]: Add phase
    patch-require-cl to substitute "(require 'cl)" in a autoload section.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 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 aab881d..004c293 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15261,6 +15261,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.")



reply via email to

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