Subject: [bug#64217] [PATCH 3/3] gnu: emacs-wanderlust: Update to 2.15.9-789.3a827f7.

From: Hilton Chain <[email-masked]>
Date: Thu, 22 Jun 2023 16:16:38 +0800

* gnu/packages/emacs-xyz.scm (emacs-wanderlust): Update to 2.15.9-789.3a827f7.
[snippet]: Require missing feature for build script.
---
 gnu/packages/emacs-xyz.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7899e25d49..f32327eae7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -37118,8 +37118,8 @@ (define-public emacs-wanderlust
   ;; macro-expansion failure at runtime, so don't rewrite emacs input of this
   ;; package.
   (let ((version "2.15.9")
-        (revision "779")
-        (commit "f5cb2f0cf5e2c893acf2e669fd549836828dfdfc"))
+        (revision "789")
+        (commit "3a827f7a1faf7853367902800fc4841636f657df"))
     (package
       (name "emacs-wanderlust")
       (version (git-version version revision commit))
@@ -37137,10 +37137,15 @@ (define-public emacs-wanderlust
                                            "(setq WL_PREFIX \"\")" "\n"
                                            "(setq ELMO_PREFIX \"\")" "\n")))
                          (substitute* "Makefile"
-                           (("package-user-dir") "NONE"))))
+                           (("package-user-dir") "NONE"))
+                         ;; error: (void-function install-file)
+                         ;; <https://github.com/wanderlust/wanderlust/pull/212>
+                         (substitute* "WL-MK"
+                           (("wl-texinfo-install \\(\\)" all)
+                            (string-append all "\n(require 'install)")))))
                 (sha256
                  (base32
-                  "1ijs57wv1vrh33vn311hgkp42vlmjyi998nc4qdrqi7yy9j8hl1h"))))
+                  "178rw2xvm74n71pamwznvnj4lbzvfkvji6rrsi6f8yd8bds10202"))))
       (build-system emacs-build-system)
       (arguments
        (list #:phases
-- 
2.40.1