[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: libgit@1.1: Patch time-dependent unit test.
From: |
guix-commits |
Subject: |
01/08: gnu: libgit@1.1: Patch time-dependent unit test. |
Date: |
Mon, 9 May 2022 06:28:05 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 4668454f644705d4aa9c8e232ec23a3da9db7704
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon May 9 11:28:00 2022 +0200
gnu: libgit@1.1: Patch time-dependent unit test.
This is a followup to e48b5484afde93294c4ed7215e88ed450842b2e5.
* gnu/packages/version-control.scm (libgit2-1.1)[source]: Add
"revparse.c" snippet.
---
gnu/packages/version-control.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index b02b6e8493..49b53789f9 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic
Courtès <ludo@gnu.org>
+;;; Copyright © 2013-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
@@ -874,7 +874,14 @@ write native speed custom Git applications in any language
with bindings.")
"1fjdglkh04qv3b4alg621pxa689i0wlf8m7nf2755zawjr2zhwxd"))
(patches (search-patches "libgit2-mtime-0.patch"))
(snippet '(begin
- (delete-file-recursively "deps") #t))
+ (delete-file-recursively "deps")
+
+ ;; The "refs:revparse::date" test is time-dependent:
it
+ ;; assumes "HEAD@{10 years ago}" doesn't match
anything,
+ ;; which is no longer true. Adjust that test.
+ (substitute* "tests/refs/revparse.c"
+ (("10 years ago")
+ "100 years ago"))))
(modules '((guix build utils)))))))
(define-public git-crypt
- branch master updated (9f9c2f200b -> 4980630d1e), guix-commits, 2022/05/09
- 03/08: gnu: valgrind: Allow ld.so symbols to be found., guix-commits, 2022/05/09
- 05/08: gnu: kicad: Update to 6.0.5., guix-commits, 2022/05/09
- 02/08: gnu: valgrind: Sort imports alphabetically., guix-commits, 2022/05/09
- 06/08: gnu: LLVM, Clang: Update to 14.0.3., guix-commits, 2022/05/09
- 07/08: gnu: Add xkblayout., guix-commits, 2022/05/09
- 01/08: gnu: libgit@1.1: Patch time-dependent unit test.,
guix-commits <=
- 04/08: gnu: valgrind: Remove input labels., guix-commits, 2022/05/09
- 08/08: gnu: python-numpy-next: Update to 1.22.3., guix-commits, 2022/05/09