[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/09: gnu: gnutls@3.8: Do not rely expect ‘PATH_MAX’ definition on GNU/
From: |
guix-commits |
Subject: |
03/09: gnu: gnutls@3.8: Do not rely expect ‘PATH_MAX’ definition on GNU/Hurd. |
Date: |
Mon, 23 Oct 2023 18:04:04 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a1ac534f8a509bc7ddf11bcd5987fa65adf8c9ca
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Oct 23 23:26:31 2023 +0200
gnu: gnutls@3.8: Do not rely expect ‘PATH_MAX’ definition on GNU/Hurd.
Fixes <https://issues.guix.gnu.org/66691>.
* gnu/packages/tls.scm (gnutls-3.8.1)[arguments]: New field.
Change-Id: If208591d78d5d023220bd3a7e3841af172c605ff
---
gnu/packages/tls.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index d62c00dcff..6a0aaf7f14 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -318,7 +318,20 @@ required structures.")
(patches (search-patches "gnutls-skip-trust-store-test.patch"))
(sha256
(base32
- "1742jiigwsfhx7nj5rz7dwqr8d46npsph6b68j7siar0mqarx2xs"))))))
+ "1742jiigwsfhx7nj5rz7dwqr8d46npsph6b68j7siar0mqarx2xs"))))
+ (arguments
+ (if (target-hurd?)
+ ;; Fix reference to undefined 'PATH_MAX'. This is fixed in GnuTLS
+ ;; commit 3b6ec1e01de4e96d36276dfe34ee9e183f285264.
+ (substitute-keyword-arguments (package-arguments gnutls)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'set-path-max
+ (lambda _
+ (substitute* "lib/pathbuf.h"
+ (("^#define GNUTLS_PATH_MAX PATH_MAX")
+ "#define GNUTLS_PATH_MAX 8192\n")))))))
+ (package-arguments gnutls)))))
(define-public gnutls/dane
;; GnuTLS with build libgnutls-dane, implementing DNS-based
- branch master updated (cbd20d6274 -> 4d748d344b), guix-commits, 2023/10/23
- 02/09: gnu: cmake-minimal: Remove ‘hidden’ property., guix-commits, 2023/10/23
- 03/09: gnu: gnutls@3.8: Do not rely expect ‘PATH_MAX’ definition on GNU/Hurd.,
guix-commits <=
- 01/09: gnu: gcc@10: Update to 10.5.0., guix-commits, 2023/10/23
- 05/09: gnu: Add emacs-nerd-icons., guix-commits, 2023/10/23
- 06/09: gnu: Add emacs-imenu-anywhere., guix-commits, 2023/10/23
- 04/09: gnu: kokkos: Restrict builds to 64-bit architectures., guix-commits, 2023/10/23
- 07/09: gnu: Fix python-tortoise-orm's sanity-check., guix-commits, 2023/10/23
- 08/09: gnu: python-pypika-tortoise: Update to 0.1.6., guix-commits, 2023/10/23
- 09/09: gnu: python-tortoise-orm: Update to 0.20.0., guix-commits, 2023/10/23