From bdd292b3c6cc0666e4af0ac14b038e8924a2a98e Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Sat, 1 Mar 2025 12:30:26 -0500 Subject: [PATCH] noetic: tf: fix Boost compatibility --- distros/noetic/overrides.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/distros/noetic/overrides.nix b/distros/noetic/overrides.nix index 48018efc56..9169d55538 100644 --- a/distros/noetic/overrides.nix +++ b/distros/noetic/overrides.nix @@ -168,6 +168,17 @@ in { ''; }); + tf = rosSuper.tf.overrideAttrs ({ + postPatch ? "", ... + }: { + # Boost.Math 1.87 requires C++14 + postPatch = postPatch + '' + substituteInPlace CMakeLists.txt \ + --replace-fail COMPILER_SUPPORTS_CXX11 COMPILER_SUPPORTS_CXX14 \ + --replace-fail '-std=c++11' '-std=c++14' + ''; + }); + tf2 = rosSuper.tf2.overrideAttrs ({ patches ? [], ... }: {