[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/17: gnu: tinydir: Update to 1.2.6.
From: |
guix-commits |
Subject: |
02/17: gnu: tinydir: Update to 1.2.6. |
Date: |
Tue, 13 Feb 2024 06:34:48 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 5a8079e219e9052b036bc5d29be9692640d415dd
Author: David Elsing <david.elsing@posteo.net>
AuthorDate: Sun Jan 28 23:01:54 2024 +0000
gnu: tinydir: Update to 1.2.6.
* gnu/packages/c.scm (tinydir): Update to 1.2.6.
* gnu/packages/patches/tinydir-fix-cbehave-test.patch: Adjust patch.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/c.scm | 6 +++---
gnu/packages/patches/tinydir-fix-cbehave-test.patch | 16 ++++++++++++++--
2 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 1346605c71..b558145ea0 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -20,7 +20,7 @@
;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
;;; Copyright © 2023 zamfofex <zamfofex@twdb.moe>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
-;;; Copyright © 2023 David Elsing <david.elsing@posteo.net>
+;;; Copyright © 2023, 2024 David Elsing <david.elsing@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1349,7 +1349,7 @@ performance concurrent systems developed in C99+.")
(define-public tinydir
(package
(name "tinydir")
- (version "1.2.5")
+ (version "1.2.6")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1358,7 +1358,7 @@ performance concurrent systems developed in C99+.")
(file-name (git-file-name name version))
(sha256
(base32
- "1nprgdfx4i8wzc1idw6chan4fjfa75b5ll8kghdc0q2278pny259"))
+ "143n6yabznxk032gv5g2k8glf0kzicarg9cx0714zsbfmzj8lr07"))
(patches (search-patches "tinydir-fix-cbehave-test.patch"))
(modules '((guix build utils)))
(snippet '(delete-file-recursively "tests/cbehave"))))
diff --git a/gnu/packages/patches/tinydir-fix-cbehave-test.patch
b/gnu/packages/patches/tinydir-fix-cbehave-test.patch
index 84ecee12c2..1cad42c7a0 100644
--- a/gnu/packages/patches/tinydir-fix-cbehave-test.patch
+++ b/gnu/packages/patches/tinydir-fix-cbehave-test.patch
@@ -2,10 +2,22 @@ Make test work with upstream cbehave
(tinydir bundles a modified version)
diff --git a/tests/file_open_test.c b/tests/file_open_test.c
-index 3e659bc..9f6f88d 100644
+index 09b856e..92b13ca 100644
--- a/tests/file_open_test.c
+++ b/tests/file_open_test.c
-@@ -19,4 +19,7 @@ FEATURE(file_open, "File open")
+@@ -4,6 +4,11 @@
+ #include "cbehave.h"
+ #include "util.h"
+
++#define ASSERT(cond, ret) \
++if (!(cond)) {\
++ cbehave_feature_return(__FILE__, __LINE__, ret, _state); \
++ goto _feature_over; \
++}\
+
+ FEATURE(file_open, "File open")
+ SCENARIO("Open file in current directory")
+@@ -34,4 +39,7 @@ FEATURE(file_open, "File open")
SCENARIO_END
FEATURE_END
- branch master updated (5f86eebd24 -> 85e67f7fea), guix-commits, 2024/02/13
- 01/17: gnu: opencv: Update to 4.8.1., guix-commits, 2024/02/13
- 02/17: gnu: tinydir: Update to 1.2.6.,
guix-commits <=
- 03/17: gnu: fast-float: Update to 6.0.0., guix-commits, 2024/02/13
- 07/17: gnu: yaehmop: Update to 2023.03.1., guix-commits, 2024/02/13
- 11/17: gnu: anubis: Update to 4.3., guix-commits, 2024/02/13
- 09/17: gnu: freesasa: Fix memerr tests., guix-commits, 2024/02/13
- 14/17: gnu: emacs-org-dailies: Update to 0-1.58e58d4., guix-commits, 2024/02/13
- 16/17: gnu: retroarch: Update to 1.17.0., guix-commits, 2024/02/13
- 17/17: gnu: runc: Update to 1.1.12 [security fixes]., guix-commits, 2024/02/13
- 06/17: gnu: coordgenlibs: Update to 3.0.2., guix-commits, 2024/02/13
- 04/17: gnu: gemmi: Update to 0.6.4., guix-commits, 2024/02/13
- 08/17: gnu: avalon-toolkit: Update to 2.0.5a., guix-commits, 2024/02/13