ite-backlight: fix build issues with GCC 13

GCC 13 stopped transitively including some headers
(such as `cstdint`) in various scenarios, causing
the build of `ite-backlight` to fail on nixos-unstable.

This change temporarily pulls in a commit from an open
upstream PR [1] that fixes the mentioned build issue via
`fetchpatch` until said PR gets merged.

[1]: https://github.com/hexagonal-sun/ite-backlight/pull/2

+9
+9
pkgs/misc/ite-backlight/default.nix
··· 1 1 { lib 2 2 , pkgs 3 3 , stdenv 4 + , fetchpatch 4 5 , ninja 5 6 , libusb1 6 7 , meson ··· 31 32 buildInputs = [ 32 33 boost 33 34 libusb1 35 + ]; 36 + 37 + patches = [ 38 + (fetchpatch { 39 + name = "fix-gcc13-build-failure.patch"; 40 + url = "https://github.com/hexagonal-sun/ite-backlight/commit/dc8c19d4785d80cbe7a82869daee1f723d3f3fb2.patch"; 41 + hash = "sha256-iTRTVy7qB2z1ip135b8k3RufTBzeJaP1wdrRWN9tPsU="; 42 + }) 34 43 ]; 35 44 36 45 meta = with lib; {