string-machine: fix build against `gcc-13`

Without the change the build fails as
https://hydra.nixos.org/build/246390341:

sources/ui/Color.h:4:5: error: 'uint8_t' does not name a type
4 | uint8_t r, g, b, a;
| ^~~~~~~
sources/ui/Color.h:1:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
+++ |+#include <cstdint>
1 | #pragma once

+11 -1
+11 -1
pkgs/applications/audio/string-machine/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, boost, cairo, libGL, lv2, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, boost, cairo, libGL, lv2, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "string-machine"; ··· 11 11 sha256 = "0l9xrzp3f0hk6h320qh250a0n1nbd6qhjmab21sjmrlb4ngy672v"; 12 12 fetchSubmodules = true; 13 13 }; 14 + 15 + patches = [ 16 + # gcc-13 compatibility fix: 17 + # https://github.com/jpcima/string-machine/pull/36 18 + (fetchpatch { 19 + name = "gcc-13.patch"; 20 + url = "https://github.com/jpcima/string-machine/commit/e1f9c70da46e43beb2654b509bc824be5601a0a5.patch"; 21 + hash = "sha256-eS28wBuFjbx2tEb9gtVRZXfK0w2o1RCFTouNf8Adq+k="; 22 + }) 23 + ]; 14 24 15 25 postPatch = '' 16 26 patchShebangs ./dpf/utils/generate-ttl.sh