From 526f8b955ca9f4e3277379642b3f724c15f1bbc9 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 15 May 2024 21:29:54 +0200 Subject: gnu: psm2: Allow compilation with glibc 2.39. * gnu/packages/linux.scm (psm2)[source]: Add snippet. Change-Id: Iff29026da7252e4ca35bdde25b24d83bab0d5554 --- gnu/packages/linux.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9c6b778e5c..ea79c003e1 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -9193,7 +9193,15 @@ privileges.") (file-name (git-file-name name version)) (sha256 (base32 - "04nar65ac11qqx41vkfs7iip8kfiah0zms7l4rmsxncpiz2iqfik")))) + "04nar65ac11qqx41vkfs7iip8kfiah0zms7l4rmsxncpiz2iqfik")) + (modules '((guix build utils))) + (snippet + ;; That file declares its own 'strlcat' as static. To avoid a + ;; conflict with the function now in glibc 2.39, give it a + ;; different name. + #~(substitute* "ptl_ips/ips_proto_dump.c" + (("strlcat") + "psm2_custom_strlcat"))))) (build-system gnu-build-system) (arguments (list #:make-flags -- cgit v1.2.3