noetic: Make laser-geometry compile against new Boost

This commit is contained in:
Michal Sojka 2025-03-08 12:49:50 +01:00 committed by Ben Wolsieffer
parent 2fdc733e0d
commit d166e477c8

View file

@ -52,6 +52,16 @@ in {
nativeBuildInputs = nativeBuildInputs ++ [ self.pkg-config ];
});
laser-geometry = rosSuper.laser-geometry.overrideAttrs ({
postPatch ? "", ...
}: {
# Boost.Math 1.87 requires C++14
postPatch = postPatch + ''
substituteInPlace CMakeLists.txt \
--replace-fail 'set(CMAKE_CXX_STANDARD 11)' 'set(CMAKE_CXX_STANDARD 14)'
'';
});
libfranka = rosSuper.libfranka.overrideAttrs ({
cmakeFlags ? [], ...
}: {