diff --git a/pkgs/by-name/br/breakpad/package.nix b/pkgs/by-name/br/breakpad/package.nix index 5539543a33ac..a3bdd857bc40 100644 --- a/pkgs/by-name/br/breakpad/package.nix +++ b/pkgs/by-name/br/breakpad/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchgit, + fetchpatch, zlib, }: let @@ -22,6 +23,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-8AkC/8oX4OWAcV21laJ0AeMRB9G04rFc6UJFy7Wus4A="; }; + patches = [ + (fetchpatch { + name = "gcc-14-fixes.patch"; + url = "https://github.com/google/breakpad/commit/898a997855168c0e6a689072fefba89246271a5d.patch"; + hash = "sha256-OxodMx7XfKiD9j6b8oFvloslYagSSpQn7BPdpMVOoDY="; + }) + ]; + buildInputs = [ zlib ]; postUnpack = ''