z572 pushed a commit to branch master
in repository guix.

commit 05da43104c37dfa548559d4d43a54c3083be2e86
Author: Zheng Junjie <[email protected]>
AuthorDate: Sun Oct 6 01:01:20 2024 +0800

    gnu: lsof: Update to 4.99.3.
    
    * gnu/packages/lsof.scm (lsof): Update to 4.99.3.
    [native-inputs]: Add libtool.
    [arguments]<#:phases>: Add fix-configure-ac-version phase.
    
    Change-Id: Id086d46c5dbef6028e5eae4df1d2f0b24d4c3d76
---
 gnu/packages/lsof.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lsof.scm b/gnu/packages/lsof.scm
index 8fd932daaf..f3f808ad90 100644
--- a/gnu/packages/lsof.scm
+++ b/gnu/packages/lsof.scm
@@ -36,7 +36,7 @@
 (define-public lsof
   (package
     (name "lsof")
-    (version "4.98.0")
+    (version "4.99.3")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -45,17 +45,25 @@
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0cjmhd01p5a9cy52lirv1rkidrzhyn366f4h212jcf1cmp8xh0hd"))))
+                "1v32407al4j0hhcph95lv4xvr9h012lii29iyq41iwj39zwfavax"))))
     (build-system gnu-build-system)
     (native-inputs (list automake
                          autoconf
                          groff ;for soelim
+                         libtool
                          perl
                          pkg-config
                          procps ;for ps
                          util-linux)) ;for unshare
     (arguments
      `(#:phases (modify-phases %standard-phases
+                  (add-after 'unpack 'fix-configure-ac-version
+                    ;; see 
https://github.com/lsof-org/lsof/commit/932a0b3b1992497e23fd9b8d31116b9ca9b0f98d
+                    ;; to fix tests/case-01-version.bash test fail.
+                    (lambda _
+                      (substitute* "configure.ac"
+                        (("4\\.99\\.0")
+                         "4.99.3"))))
                   (add-before 'bootstrap 'disable-failing-tests
                     (lambda _
                       (substitute* "Makefile.am"

Reply via email to