mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
c9f1d2315f
commit
70a9ee45cb
3 changed files with 14 additions and 1 deletions
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
11
gnu/packages/patches/strutcpp-fix-includes.patch
Normal file
11
gnu/packages/patches/strutcpp-fix-includes.patch
Normal file
|
@ -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"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue