localproxy: fix `gcc-13` build failure

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

In file included from /build/source/src/ProxySettings.cpp:6:
/build/source/src/ProxySettings.h:24:17: error: 'int32_t' in namespace 'std' does not name a type
24 | extern std::int32_t const DEFAULT_TCP_CONNECTION_RETRY_COUNT;
| ^~~~~~~

+16
+16
pkgs/applications/networking/localproxy/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , cmake 5 6 , openssl 6 7 , protobuf_21 ··· 22 23 rev = "v${finalAttrs.version}"; 23 24 hash = "sha256-voUKfXa43mOltePQEXgmJ2EBaN06E6R/2Zz6O09ogyY="; 24 25 }; 26 + 27 + patches = [ 28 + # gcc-13 compatibility fix: 29 + # https://github.com/aws-samples/aws-iot-securetunneling-localproxy/pull/136 30 + (fetchpatch { 31 + name = "gcc-13-part-1.patch"; 32 + url = "https://github.com/aws-samples/aws-iot-securetunneling-localproxy/commit/f6ba73eaede61841534623cdb01b69d793124f4b.patch"; 33 + hash = "sha256-sB9GuEuHLyj6DXNPuYAMibUJXdkThKbS/fxvnJU3rS4="; 34 + }) 35 + (fetchpatch { 36 + name = "gcc-13-part-2.patch"; 37 + url = "https://github.com/aws-samples/aws-iot-securetunneling-localproxy/commit/de8779630d14e4f4969c9b171d826acfa847822b.patch"; 38 + hash = "sha256-11k6mRvCx72+5G/5LZZx2qnx10yfKpcAZofn8t8BD3E="; 39 + }) 40 + ]; 25 41 26 42 nativeBuildInputs = [ cmake ]; 27 43