Unverified Commit 260e4422 authored by Marcin Serwin's avatar Marcin Serwin Committed by GitHub
Browse files

alttab: fix `gcc-15` build (#482086)

parents 2e6ec460 1c3ca1bc
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  coreutils,
  fetchFromGitHub,
  fetchpatch,
  autoconf,
  automake,
  pkg-config,
@@ -35,6 +36,15 @@ stdenv.mkDerivation (finalAttrs: {
    sha256 = "sha256-1+hk0OeSriXPyefv3wOgeiW781PL4VP5Luvt+RS5jmg=";
  };

  patches = [
    # Fix gcc-15 build failure: https://github.com/sagb/alttab/pull/178
    (fetchpatch {
      name = "gcc-15.patch";
      url = "https://github.com/sagb/alttab/commit/665e3e369f74ab0075c22a46a3cb3a9f76bdd762.patch";
      hash = "sha256-7l74kXs0bAyozBbgOEzDSY+4NE2pjdVfWda0XiPvCz4=";
    })
  ];

  nativeBuildInputs = [
    autoconf
    automake