mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 10:44:50 +03:00
humble.octomap: Fix errors related to gcc14
This commit is contained in:
parent
5d56f8e88f
commit
d994f39598
1 changed files with 15 additions and 0 deletions
|
@ -101,6 +101,21 @@ in with lib; {
|
||||||
dontFixCmake = true;
|
dontFixCmake = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
octomap = rosSuper.octomap.overrideAttrs ({
|
||||||
|
patches ? [], ...
|
||||||
|
}: {
|
||||||
|
patches = patches ++ [
|
||||||
|
# fix errors with recent compilers and C++17/20 standard
|
||||||
|
(self.fetchpatch {
|
||||||
|
url = "https://github.com/OctoMap/octomap/commit/8178b4f28c72a8c7b84ece25bda7a59df8d14eb8.patch";
|
||||||
|
hash = "sha256-vI3FEWJbAnDPNxG6s2pPX1UTorpokexOawY0AmDo8xY=";
|
||||||
|
# cmdinclude/octomap/OcTreeBase.h:46:21: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
|
||||||
|
includes = [ "include/octomap/OcTreeBase.h*" ];
|
||||||
|
stripLen = 1;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
plotjuggler-ros = rosSuper.plotjuggler-ros.overrideAttrs ({
|
plotjuggler-ros = rosSuper.plotjuggler-ros.overrideAttrs ({
|
||||||
patches ? [], nativeBuildInputs ? [], ...
|
patches ? [], nativeBuildInputs ? [], ...
|
||||||
}: {
|
}: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue