summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2021-11-24 09:15:21 -0500
committerGravatar Chris Xiong <chirs241097@gmail.com> 2021-11-24 09:15:21 -0500
commitd1395ba5b51b99b1529a119fc54e5b22496e5cb0 (patch)
treeb4331b73139b7839ff50f5bd7975218a2c3ad207 /www-client/chromium/files
parent29eae51064c6a2277ce2d5e5a83b64376a826dee (diff)
downloadppo-d1395ba5b51b99b1529a119fc54e5b22496e5cb0.tar.xz
why didn't fail the first time?
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-98-breakpad-max.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-98-breakpad-max.patch b/www-client/chromium/files/chromium-98-breakpad-max.patch
new file mode 100644
index 0000000..889632d
--- /dev/null
+++ b/www-client/chromium/files/chromium-98-breakpad-max.patch
@@ -0,0 +1,13 @@
+diff --git a/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc b/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
+index ca353c409..c0f20975d 100644
+--- a/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
++++ b/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc
+@@ -138,7 +138,7 @@ void InstallAlternateStackLocked() {
+ // SIGSTKSZ may be too small to prevent the signal handlers from overrunning
+ // the alternative stack. Ensure that the size of the alternative stack is
+ // large enough.
+- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ);
++ static const unsigned kSigStackSize = std::max((long)16384, SIGSTKSZ);
+
+ // Only set an alternative stack if there isn't already one, or if the current
+ // one is too small.