bambu-studio: fix build with gcc15 (#472188)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
lib,
|
||||
binutils,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
ninja,
|
||||
pkg-config,
|
||||
@@ -121,6 +122,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
./patches/no-cereal.patch
|
||||
# Cmake 4 support
|
||||
./patches/cmake.patch
|
||||
# Fix build with gcc15
|
||||
# https://github.com/bambulab/BambuStudio/pull/8555
|
||||
(fetchpatch {
|
||||
name = "bambu-studio-include-stdint-header.patch";
|
||||
url = "https://github.com/bambulab/BambuStudio/commit/434752bf643933f22348d78335abe7f60550e736.patch";
|
||||
hash = "sha256-vWqTM6IHL/gBncLk6gZHw+dFe0sdVuPdUqYeVJUbTis=";
|
||||
})
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
Reference in New Issue
Block a user