all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72194] [PATCH] gnu: libgit2-1.8: Update to 1.8.1.
@ 2024-07-19 12:37 ashish.is--- via Guix-patches via
  2024-08-19 10:34 ` bug#72194: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: ashish.is--- via Guix-patches via @ 2024-07-19 12:37 UTC (permalink / raw)
  To: 72194; +Cc: Ashish SHUKLA

From: Ashish SHUKLA <ashish.is@lostca.se>

* gnu/packages/version-control.scm (libgit2-1.8): Update to 1.8.1.
  [source]: deps/http-parser does not exist so update the list
  [arguments]: semantics of -DUSE_HTTP_PARSER has changed, so
  update configure-flags to reflect the same

Change-Id: Ifd9694a93326f7c3d368bd354a5fadf4e4b93119
---
 gnu/packages/version-control.scm | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 3267a541a1..813f0cfdd1 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -978,7 +978,7 @@ (define-public libgit2-1.7
 (define-public libgit2-1.8
   (package
     (inherit libgit2-1.7)
-    (version "1.8.0")
+    (version "1.8.1")
     (source (origin
               (inherit (package-source libgit2-1.7))
               (uri (git-reference
@@ -987,7 +987,23 @@ (define-public libgit2-1.8
               (file-name (git-file-name "libgit2" version))
               (sha256
                (base32
-                "0f0vqml6fp94z07xkpim2sdj2xvpxnsrwbm1q1dibx4vqjd7mh3q"))))))
+                "1mh55804cvxl2cyl4clinajzgfn3zmlhacnv1pdvdj4w6z2w4si7"))
+	      (snippet
+               '(begin
+                  (for-each delete-file-recursively
+                            '("deps/chromium-zlib"
+                              "deps/llhttp"
+                              "deps/ntlmclient"
+                              "deps/pcre"
+                              "deps/winhttp"
+                              "deps/zlib"))))))
+    (arguments (substitute-keyword-arguments (package-arguments libgit2-1.7)
+                 ((#:configure-flags flags #~(list))
+                  #~(map (lambda (arg)
+                           (if (string= "-DUSE_HTTP_PARSER=system" arg)
+                               "-DUSE_HTTP_PARSER=http-parser"
+                               arg))
+                         #$flags))))))
 
 (define-public libgit2-1.6
   (package

base-commit: 1aa8dfaeec3c6e4e587aadf7440246f7c5c04b9f
-- 
2.45.2





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#72194: [PATCH] gnu: libgit2-1.8: Update to 1.8.1.
  2024-07-19 12:37 [bug#72194] [PATCH] gnu: libgit2-1.8: Update to 1.8.1 ashish.is--- via Guix-patches via
@ 2024-08-19 10:34 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-08-19 10:34 UTC (permalink / raw)
  To: ashish.is; +Cc: 72194-done

ashish.is@lostca.se skribis:

> From: Ashish SHUKLA <ashish.is@lostca.se>
>
> * gnu/packages/version-control.scm (libgit2-1.8): Update to 1.8.1.
>   [source]: deps/http-parser does not exist so update the list
>   [arguments]: semantics of -DUSE_HTTP_PARSER has changed, so
>   update configure-flags to reflect the same
>
> Change-Id: Ifd9694a93326f7c3d368bd354a5fadf4e4b93119

Applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-19 10:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-19 12:37 [bug#72194] [PATCH] gnu: libgit2-1.8: Update to 1.8.1 ashish.is--- via Guix-patches via
2024-08-19 10:34 ` bug#72194: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.