prusa-slicer: fix build with GCC 14 and strictDeps
This commit is contained in:
parent
07bee95ee0
commit
910f66b28b
@ -90,10 +90,19 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
rev = "version_${finalAttrs.version}";
|
||||
};
|
||||
|
||||
# required for GCC 14
|
||||
postPatch = ''
|
||||
substituteInPlace src/libslic3r/Arrange/Core/DataStoreTraits.hpp \
|
||||
--replace-fail \
|
||||
"WritableDataStoreTraits<ArrItem>::template set" \
|
||||
"WritableDataStoreTraits<ArrItem>::set"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
wrapGAppsHook3
|
||||
wxGTK-override'
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@ -132,6 +141,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
darwin.apple_sdk_11_0.frameworks.CoreWLAN
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
# The build system uses custom logic - defined in
|
||||
|
Loading…
Reference in New Issue
Block a user