pcl: fix build with boost 1.89 (#495172)

This commit is contained in:
Austin Horstman
2026-03-01 01:52:26 +00:00
committed by GitHub
+10
View File
@@ -3,6 +3,7 @@
stdenv,
config,
fetchFromGitHub,
fetchpatch,
# nativeBuildInputs
cmake,
@@ -42,6 +43,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-+KyaajJM0I5CAcr8AiOLC4TkGV3Gm73a0/X8LQWFZMI=";
};
patches = [
(fetchpatch {
# see https://github.com/NixOS/nixpkgs/issues/485826 to be removed at next release after 1.15.1
name = "boost-1.89.patch";
url = "https://github.com/PointCloudLibrary/pcl/commit/99333442ac63971297b4cdd05fab9d2bd2ff57a4.patch";
hash = "sha256-5vg8VjxoAfEOx9n7Tby1DXe1u4rn+zharkefUovLHv0=";
})
];
strictDeps = true;
# remove attempt to prevent (x86/x87-specific) extended precision use