From fffe3ea8a2b8331c409eb7ec05ecbf2013def585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernd=20M=C3=BCller?= Date: Mon, 12 May 2025 09:04:31 +0200 Subject: [PATCH] [fix] grid-map-cv and grid-map-filters --- distros/humble/overrides.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/distros/humble/overrides.nix b/distros/humble/overrides.nix index a6b54aa131..d394d495cd 100644 --- a/distros/humble/overrides.nix +++ b/distros/humble/overrides.nix @@ -48,6 +48,24 @@ in with lib; { fetchgitArgs.hash = "sha256-h/e2vJacUp7PITez9HPzGc5+ofz7Oplso44VibECmsI="; }; + grid-map-cv = rosSuper.grid-map-cv.overrideAttrs ({ + ... + }: { + env.NIX_CFLAGS_COMPILE = toString [ + # Needed with GCC 12 + "-Wno-error=stringop-overflow" + "-Wno-error=uninitialized" + # Needed for GCC 13 + "-Wno-error=array-bounds" + ]; + }); + + grid-map-filters = rosSuper.grid-map-filters.overrideAttrs ({ + nativeBuildInputs ? [], ... + }: { + nativeBuildInputs = nativeBuildInputs ++ [self.pkg-config]; + }); + iceoryx-hoofs = rosSuper.iceoryx-hoofs.overrideAttrs ({ patches ? [], ... }: {