This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 70a9ee45cb gnu: strutcpp: Fix build.
70a9ee45cb is described below

commit 70a9ee45cb13642f6135860c8cf074fe69fdd920
Author: Andreas Enge <andr...@enge.fr>
AuthorDate: Sun Jul 20 13:08:10 2025 +0200

    gnu: strutcpp: Fix build.
    
    * gnu/packages/patches/strutcpp-fix-includes.patch: New file.
    * gnu/local.mk (dist_patch_DATA): Register patch.
    * gnu/packages/cpp.scm (strutcpp): Apply patch.
    
    Change-Id: I459f2774d98341417cbec6c271417b97e2477269
---
 gnu/local.mk                                     |  1 +
 gnu/packages/cpp.scm                             |  3 ++-
 gnu/packages/patches/strutcpp-fix-includes.patch | 11 +++++++++++
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 9d8bbf230c..7acb4833be 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2336,6 +2336,7 @@ dist_patch_DATA =                                         
\
   %D%/packages/patches/sssd-system-directories.patch           \
   %D%/packages/patches/steghide-fixes.patch                    \
   %D%/packages/patches/suitesparse-mongoose-cmake.patch                \
+  %D%/packages/patches/strutcpp-fix-includes.patch              \
   %D%/packages/patches/superlu-dist-awpm-grid.patch            \
   %D%/packages/patches/superlu-dist-scotchmetis.patch          \
   %D%/packages/patches/supertux-unbundle-squirrel.patch                \
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 559a275cee..74f2407e19 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -3970,7 +3970,8 @@ for C++17 string-view.")
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "0m344qq3d57balzvc26fjx985nj2xwnfb1a7prkv3njj5lfcf127"))))
+          (base32 "0m344qq3d57balzvc26fjx985nj2xwnfb1a7prkv3njj5lfcf127"))
+         (patches (search-patches "strutcpp-fix-includes.patch"))))
       (build-system cmake-build-system)
       (arguments
        (list
diff --git a/gnu/packages/patches/strutcpp-fix-includes.patch 
b/gnu/packages/patches/strutcpp-fix-includes.patch
new file mode 100644
index 0000000000..7f21cc6e4e
--- /dev/null
+++ b/gnu/packages/patches/strutcpp-fix-includes.patch
@@ -0,0 +1,11 @@
+Reported upstream by email to Ingo Ruhnke <grum...@gmail.com>.
+
+diff -u -r a/test/numeric_less_test.cpp b/test/numeric_less_test.cpp
+--- a/test/numeric_less_test.cpp       2025-07-20 13:02:31.088465392 +0200
++++ b/test/numeric_less_test.cpp       2025-07-20 13:03:49.283025547 +0200
+@@ -1,4 +1,5 @@
+ #include <gtest/gtest.h>
++#include <algorithm>
+ 
+ #include "strut/numeric_less.hpp"
+

Reply via email to