1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00

foxy: yaml-cpp-vendor: add upstream patch to fix build

This commit is contained in:
Ben Wolsieffer 2021-10-25 12:10:07 -04:00
parent 012cfc042c
commit 20efe114c6

View file

@ -30,4 +30,16 @@ rosSelf: rosSuper: with rosSelf.lib; {
url = "https://github.com/OGRECave/ogre/archive/v1.12.1.zip";
sha256 = "1iv6k0dwdzg5nnzw2mcgcl663q4f7p2kj7nhs8afnsikrzxxgsi4";
};
yaml-cpp-vendor = rosSuper.yaml-cpp-vendor.overrideAttrs ({
patches ? [], ...
}: {
patches = [
# Fix "CMake Error: Unknown argument -std=c++14 -w"
(self.fetchpatch {
url = "https://github.com/ros2/yaml_cpp_vendor/pull/24.patch";
sha256 = "0via2vcvx0r0w8n626n7ghljadd2apdqn0wcqygmgbd7dmvfr97h";
})
] ++ patches;
});
}