shaka-packager: fix GCC15 build
Requires adding cstdlib includes wherever plain uintN_t types are used
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchpatch,
|
||||
fetchFromGitHub,
|
||||
testers,
|
||||
cmake,
|
||||
@@ -46,6 +47,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# The last step is necessary to keep the patch size to a minimum, otherwise we'd have
|
||||
# to add the namespace identifiers everywhere a dependency is used.
|
||||
./0002-Unvendor-dependencies.patch
|
||||
# GCC15 build fixes
|
||||
# Taken from https://github.com/shaka-project/shaka-packager/pull/1506,
|
||||
# but excludes the changes to the shell script as we do not use it.
|
||||
(fetchpatch {
|
||||
name = "GCC15-cstdint-includes";
|
||||
url = "https://github.com/shaka-project/shaka-packager/commit/b1c79e50521b8725117dfe0a45fe44c2f2dbd4fb.patch";
|
||||
excludes = [ "packager/testing/test_dockers.sh" ];
|
||||
hash = "sha256-8dBQ+eENZKFB9ONjmPBlxy8P/iinyeUS8zhlxz6rnQ4=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user