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
This commit is contained in:
parent
3688a3431f
commit
faa40966a0
1 changed files with 9 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, pkgs
|
||||
, stdenv
|
||||
, fetchpatch
|
||||
, ninja
|
||||
, libusb1
|
||||
, meson
|
||||
|
@ -33,6 +34,14 @@ stdenv.mkDerivation rec {
|
|||
libusb1
|
||||
];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-gcc13-build-failure.patch";
|
||||
url = "https://github.com/hexagonal-sun/ite-backlight/commit/dc8c19d4785d80cbe7a82869daee1f723d3f3fb2.patch";
|
||||
hash = "sha256-iTRTVy7qB2z1ip135b8k3RufTBzeJaP1wdrRWN9tPsU=";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Commands to control ite-backlight devices";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue