From d1cebc2488091d6bcaba777ddd733140ba0756a9 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 30 Jun 2025 16:41:34 +0200 Subject: gnu: libgit2: Update to 1.9.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/version-control.scm (libgit2-1.9): Update to 1.9.1. [source]: Add ‘libgit2-path-max.patch’. * gnu/packages/patches/libgit2-path-max.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Change-Id: If78a7001eb2cc3aa2d951fe2e501ae3ec576fc80 Co-authored-by: Ashish SHUKLA --- gnu/packages/patches/libgit2-path-max.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 gnu/packages/patches/libgit2-path-max.patch (limited to 'gnu/packages/patches/libgit2-path-max.patch') diff --git a/gnu/packages/patches/libgit2-path-max.patch b/gnu/packages/patches/libgit2-path-max.patch new file mode 100644 index 00000000000..8fc7f3c1067 --- /dev/null +++ b/gnu/packages/patches/libgit2-path-max.patch @@ -0,0 +1,16 @@ +Work around lack of 'PATH_MAX' on the Hurd. +Submitted upstream: . + +diff --git a/tests/clar/clar.h b/tests/clar/clar.h +index ca72292ae..98e2b14e8 100644 +--- a/tests/clar/clar.h ++++ b/tests/clar/clar.h +@@ -14,6 +14,8 @@ + # define CLAR_MAX_PATH 4096 + #elif defined(_WIN32) + # define CLAR_MAX_PATH MAX_PATH ++#elif !defined(PATH_MAX) /* GNU/Hurd */ ++# define CLAR_MAX_PATH 4096 + #else + # define CLAR_MAX_PATH PATH_MAX + #endif -- cgit v1.3