diff options
author | Andreas Enge <andreas@enge.fr> | 2025-07-20 13:08:10 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-20 13:20:21 +0200 |
commit | 70a9ee45cb13642f6135860c8cf074fe69fdd920 (patch) | |
tree | 695cedfd33ce8aa100d81d72a0ee0e6554dda133 /gnu/packages/patches | |
parent | c9f1d2315f99d4355c35d920b33bfbdffe9a4f56 (diff) |
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
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r-- | gnu/packages/patches/strutcpp-fix-includes.patch | 11 |
1 files changed, 11 insertions, 0 deletions
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 <grumbel@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" + |