natron: fix `gcc-13` build

Without the change the build fails on` master as
https://hydra.nixos.org/build/247702188:

../Global/GlobalDefines.h:69:14: error: no type named 'uint32_t' in namespace 'std'

+18
+18
pkgs/applications/video/natron/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , cmake 5 6 , pkg-config 6 7 , wrapQtAppsHook ··· 36 37 fetchSubmodules = true; 37 38 hash = "sha256-dgScbfyulZPlrngqSw7xwipldoRd8uFO8VP9mlJyhQ8="; 38 39 }; 40 + 41 + patches = [ 42 + # Fix gcc-13 build: 43 + # https://github.com/NatronGitHub/Natron/pull/929 44 + (fetchpatch { 45 + name = "gcc-13.patch"; 46 + url = "https://github.com/NatronGitHub/Natron/commit/4b44fb18293035873b35c3a2d2aa29da78cb8740.patch"; 47 + includes = ["Global/GlobalDefines.h"]; 48 + hash = "sha256-9E1tJCvO7zA1iQAhrlL3GaBFIGpkjxNOr31behQXdhQ="; 49 + }) 50 + (fetchpatch { 51 + name = "gcc-13.patch"; 52 + url = "https://github.com/NatronGitHub/Natron/commit/f21f58622e32c1684567c82e2ab361f33030bda7.patch"; 53 + includes = ["Engine/Noise.cpp"]; 54 + hash = "sha256-t2mzTsRuXVs8d1BB/5uAY1OPxWRa3JTK1iAWLAMsrgs="; 55 + }) 56 + ]; 39 57 40 58 cmakeFlags = [ "-DNATRON_SYSTEM_LIBS=ON" ]; 41 59