v8: pull upstream fix for gcc-13

Without the change the build fails against `gcc-13` as:

    ../../src/base/logging.h:154:26: error: 'uint16_t' was not declared in this scope
      154 |                          uint16_t> >;
          |                          ^~~~~~~~
This commit is contained in:
Sergei Trofimovich 2024-03-10 16:49:03 +00:00
parent 3030f185ba
commit 4ef81aa190
2 changed files with 10 additions and 2 deletions

View file

@ -79,6 +79,14 @@ stdenv.mkDerivation rec {
patches = [
./darwin.patch
# gcc-13 build fix for mixxign <cstdint> includes
(fetchpatch {
name = "gcc-13.patch";
url = "https://chromium.googlesource.com/v8/v8/+/c2792e58035fcbaa16d0cb70998852fbeb5df4cc^!?format=TEXT";
decode = "base64 -d";
hash = "sha256-hoPAkSaCmzXflPFXaKUwVPLECMpt6N6/8m8mBSTAHbU=";
})
];
src = v8Src;

View file

@ -25140,7 +25140,7 @@ with pkgs;
ucommon = callPackage ../development/libraries/ucommon { };
v8 = pin-to-gcc12-if-gcc13 (callPackage ../development/libraries/v8 (
v8 = callPackage ../development/libraries/v8 (
let
stdenv' = if stdenv.cc.isClang && lib.versionAtLeast (lib.getVersion stdenv.cc.cc) "16"
then overrideLibcxx llvmPackages_15.stdenv
@ -25149,7 +25149,7 @@ with pkgs;
{
stdenv = if stdenv'.isDarwin then overrideSDK stdenv' "11.0" else stdenv';
}
));
);
intel-vaapi-driver = callPackage ../development/libraries/intel-vaapi-driver { };