guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit fa0a36d486f56890036c9bfad1c7c6e143a6cd26
Author: Yelninei <[email protected]>
AuthorDate: Thu Sep 17 14:39:04 2026 +0000

    gnu: tzdata: Fix build on the Hurd.
    
    * gnu/packages/base.scm (tzdata)[#:make-flags]: Set HAVE_MEMPCPY.
---
 gnu/packages/base.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 37b5338411c..6ac5f92b059 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -1680,7 +1680,11 @@ command.")
                      ;; Many packages (particularly evolution-data-server)
                      ;; can not yet handle the latter, so we stick with
                      ;; 'fat' for now.
-                     "CPPFLAGS=-DZIC_BLOAT_DEFAULT='\"fat\"'"
+
+                     ;; The existence of mempcpy is guessed from platform maros
+                     ;; like __linux__. It does not consider __GNU__ and 
because
+                     ;; guix only has glibc it is save to always define it.
+                     "CPPFLAGS=-DZIC_BLOAT_DEFAULT='\"fat\"' -DHAVE_MEMPCPY=1"
 
                      "AWK=awk"
                      "CC=gcc"))

Reply via email to