guix_mirror_bot pushed a commit to branch ungrafting
in repository guix.

commit 95830fe856cb8f8d9d1b18c43bd8e3fc35c85c5d
Author: Ludovic Courtès <[email protected]>
AuthorDate: Thu Nov 19 08:14:58 2026 +0100

    gnu: libgit2: Ungraft.
    
    * gnu/packages/version-control.scm (libgit2-1.9)[source]: Add
    ‘libgit2-fix-remote-fd-leak.patch’.
    [replacement]: Remove.
    (libgit2-1.9/fixed): Remove.
    
    Signed-off-by: Andreas Enge <[email protected]>
    Merges: guix/guix#12653
---
 gnu/packages/version-control.scm | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 486a9a0bb4c..6f7eebc2c4a 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1442,7 +1442,8 @@ other git-like projects such as @code{libgit2}.")
                (base32 "0jhm723bc9v18yanlqvmwn9kpmnvbcavnlhd4jcw0n082d7jl54h"))
               (patches
                (search-patches "libgit2-proxy-reconnection.patch"
-                               "libgit2-path-max.patch"))
+                               "libgit2-path-max.patch"
+                               "libgit2-fix-remote-fd-leak.patch"))
               (modules '((guix build utils)))
               (snippet
                #~(begin
@@ -1453,7 +1454,6 @@ other git-like projects such as @code{libgit2}.")
                                "deps/pcre2"
                                "deps/winhttp"
                                "deps/zlib"))))))
-    (replacement libgit2-1.9/fixed)
     (build-system cmake-build-system)
     (outputs '("out" "debug"))
     (arguments
@@ -1497,15 +1497,6 @@ write native speed custom Git applications in any 
language with bindings.")
     ;; GPLv2 with linking exception
     (license license:gpl2)))
 
-(define-public libgit2-1.9/fixed
-  (package
-    (inherit libgit2-1.9)
-    (source
-     (origin
-       (inherit (package-source libgit2-1.9))
-       (patches (append (origin-patches (package-source libgit2-1.9))
-                        (search-patches 
"libgit2-fix-remote-fd-leak.patch")))))))
-
 (define-public libgit2-1.8
   (package
     (inherit libgit2-1.9)

Reply via email to