diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2021-10-13 19:18:49 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2022-02-27 10:26:49 +0100 |
commit | f8fc20df2b7bdae96c8b8abfae13f70437cc80bd (patch) | |
tree | 457f0dab96c4fa635807af485827bbc5e3bd6576 /pkgs/development/misc | |
parent | dbe99a0172e9316cf5f3a9c6a3935efeecb1b1fc (diff) |
breakpad: fix build w/glibc-2.34
Failing Hydra build: https://hydra.nixos.org/build/155160812 Fix derived from Fedora's Chromium fix[1]. [1] https://src.fedoraproject.org/rpms/chromium/blob/c3fea076996d62bff1404d06de5ef3adf93426db/f/chromium-92.0.4515.107-rawhide-gcc-std-max-fix.patch
Diffstat (limited to 'pkgs/development/misc')
-rw-r--r-- | pkgs/development/misc/breakpad/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/misc/breakpad/default.nix b/pkgs/development/misc/breakpad/default.nix index 7fb2b329667d4..045e2e8f9a6e4 100644 --- a/pkgs/development/misc/breakpad/default.nix +++ b/pkgs/development/misc/breakpad/default.nix @@ -20,6 +20,11 @@ in stdenv.mkDerivation { ln -s ${lss} $sourceRoot/src/third_party/lss ''; + postPatch = '' + substituteInPlace src/client/linux/handler/exception_handler.cc \ + --replace "max(16384" "max(static_cast<long>(16384)" + ''; + meta = with lib; { description = "An open-source multi-platform crash reporting system"; homepage = "https://chromium.googlesource.com/breakpad"; |