Skip to content

Commit 48d2430

Browse files
authored
Freecad: fix build with vtk 9.5 (#421276)
2 parents 9bbcfea + 51fb016 commit 48d2430

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pkgs/by-name/fr/freecad/package.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,15 @@ freecad-utils.makeCustomizable (
114114
url = "https://github.com/FreeCAD/FreeCAD/commit/8e04c0a3dd9435df0c2dec813b17d02f7b723b19.patch?full_index=1";
115115
hash = "sha256-H6WbJFTY5/IqEdoi5N+7D4A6pVAmZR4D+SqDglwS18c=";
116116
})
117+
# https://github.com/FreeCAD/FreeCAD/pull/22221
118+
(fetchpatch {
119+
url = "https://github.com/FreeCAD/FreeCAD/commit/3d2b7dc9c7ac898b30fe469b7cbd424ed1bca0a2.patch?full_index=1";
120+
hash = "sha256-XCQdv/+dYdJ/ptA2VKrD63qYILyaP276ISMkmWLtT30=";
121+
})
117122
];
118123

119124
cmakeFlags = [
120125
"-Wno-dev" # turns off warnings which otherwise makes it hard to see what is going on
121-
"-DBUILD_FLAT_MESH:BOOL=ON"
122126
"-DBUILD_DRAWING=ON"
123127
"-DBUILD_FLAT_MESH:BOOL=ON"
124128
"-DINSTALL_TO_SITEPACKAGES=OFF"

0 commit comments

Comments
 (0)