diff --git a/pkgs/by-name/fi/filebench/package.nix b/pkgs/by-name/fi/filebench/package.nix index 1fd8500f7f2c..aaeb6cc49f4b 100644 --- a/pkgs/by-name/fi/filebench/package.nix +++ b/pkgs/by-name/fi/filebench/package.nix @@ -2,6 +2,8 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, + autoreconfHook, bison, flex, @@ -18,6 +20,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-IVQSEUZOC+X3C994tnk0n3NI7yu2yPAWlPA7zdSbvlg="; }; + patches = [ + (fetchpatch { + name = "gcc-15.patch"; + url = "https://github.com/filebench/filebench/commit/82191902e44b7a136adb9285bcce3d4a52551b9e.patch?full_index=1"; + hash = "sha256-Uf4DrHZl94m502C7MynMtYpon1886RLbXGKW6lYq1SI="; + }) + ]; + nativeBuildInputs = [ autoreconfHook bison