From 036df7468c49a123d607581138dcee65291c7c6b Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Sun, 6 Dec 2020 16:15:26 +0100 Subject: 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 --- 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 aab881d43b..004c293f52 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.") -- cgit v1.2.3