Merge pull request #287333 from mfrischknecht/fix-ite-backlight-build

ite-backlight: fix build issues with GCC 13

authored by a-n-n-a-l-e-e and committed by GitHub 8968441d 5ae22a91

+9
+9
pkgs/misc/ite-backlight/default.nix
··· 1 { lib 2 , pkgs 3 , stdenv 4 , ninja 5 , libusb1 6 , meson ··· 31 buildInputs = [ 32 boost 33 libusb1 34 ]; 35 36 meta = with lib; {
··· 1 { lib 2 , pkgs 3 , stdenv 4 + , fetchpatch 5 , ninja 6 , libusb1 7 , meson ··· 32 buildInputs = [ 33 boost 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 + }) 43 ]; 44 45 meta = with lib; {