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] c3fea07699/f/chromium-92.0.4515.107-rawhide-gcc-std-max-fix.patch
main
Maximilian Bosch 3 years ago
parent dbe99a0172
commit f8fc20df2b
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 5
      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";

Loading…
Cancel
Save