vowpal-wabbit: fix `gcc-13` build failure

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

In file included from /build/source/vowpalwabbit/core/src/named_labels.cc:5:
/build/source/vowpalwabbit/core/include/vw/core/named_labels.h:28:3: error: 'uint32_t' does not name a type
28 | uint32_t getK() const;
| ^~~~~~~~

+9
+9
pkgs/applications/science/machine-learning/vowpal-wabbit/default.nix
··· 18 url = "https://github.com/VowpalWabbit/vowpal_wabbit/commit/0cb410dfc885ca1ecafd1f8a962b481574fb3b82.patch"; 19 sha256 = "sha256-bX3eJ+vMTEMAo3EiESQTDryBP0h2GtnMa/Fz0rTeaNY="; 20 }) 21 ]; 22 23 nativeBuildInputs = [ cmake ];
··· 18 url = "https://github.com/VowpalWabbit/vowpal_wabbit/commit/0cb410dfc885ca1ecafd1f8a962b481574fb3b82.patch"; 19 sha256 = "sha256-bX3eJ+vMTEMAo3EiESQTDryBP0h2GtnMa/Fz0rTeaNY="; 20 }) 21 + 22 + # Fix gcc-13 build: 23 + # https://github.com/VowpalWabbit/vowpal_wabbit/pull/4657 24 + (fetchpatch { 25 + name = "gcc-13.patch"; 26 + url = "https://github.com/VowpalWabbit/vowpal_wabbit/commit/a541d85a66088d2b74fa2562d32fecb68af33c58.patch"; 27 + includes = [ "vowpalwabbit/core/include/vw/core/named_labels.h" ]; 28 + hash = "sha256-JAuLDe5JtlE7/043RSIKM20Qr77rmuE0rVg/DGc95MY="; 29 + }) 30 ]; 31 32 nativeBuildInputs = [ cmake ];