breakpad: Upgrade to 2023.06.01 release

Add a backport to fix build with latest clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2024-01-31 21:23:22 -08:00
parent 2aaf6b75a9
commit 02fe2e388e
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 35 additions and 7 deletions

View File

@ -0,0 +1,31 @@
From 45ea097e864e566771d756c92619e984815acd1e Mon Sep 17 00:00:00 2001
From: Nathan Moinvaziri <nathan@nathanm.com>
Date: Tue, 19 Dec 2023 14:35:05 -0800
Subject: [PATCH] Fixed missing include for std::find_if.
Throws an error when compiling on Windows.
Upstream-Status: Backport [https://github.com/google/breakpad/commit/898a997855168c0e6a689072fefba89246271a5d]
Change-Id: Ieb34c00cf199aaa1b45a440086c48b8ed363b3c7
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/5137658
Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/common/module.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/common/module.cc b/src/common/module.cc
index 0eb5aad8..b6f5da7e 100644
--- a/src/common/module.cc
+++ b/src/common/module.cc
@@ -42,6 +42,7 @@
#include <stdio.h>
#include <string.h>
+#include <algorithm>
#include <functional>
#include <iostream>
#include <memory>
--
2.43.0

View File

@ -18,22 +18,18 @@ BBCLASSEXTEND = "native"
PE = "2"
PV = "1.0"
SRCREV_FORMAT = "breakpad_gtest_protobuf_lss"
SRCREV_FORMAT = "breakpad_gtest_protobuf_lss_gyp"
SRCREV_breakpad = "7a1a190f4f68e8a3e06788498f50a4d5520a69f3"
#v1.10.0
SRCREV_breakpad = "8988364bcddd9b194b0bf931c10bc125987330ed"
#v1.11.0
SRCREV_gtest = "e2239ee6043f73722e7aa812a459f54a28552929"
SRCREV_protobuf = "cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac"
SRCREV_lss = "9719c1e1e676814c456b55f5f070eabad6709d31"
SRCREV_gyp = "324dd166b7c0b39d513026fa52d6280ac6d56770"
SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=https \
git://github.com/google/googletest.git;destsuffix=git/src/testing/gtest;name=gtest;branch=main;protocol=https \
git://github.com/protocolbuffers/protobuf.git;destsuffix=git/src/third_party/protobuf/protobuf;name=protobuf;branch=master;protocol=https \
git://chromium.googlesource.com/linux-syscall-support;protocol=https;branch=main;destsuffix=git/src/third_party/lss;name=lss \
git://chromium.googlesource.com/external/gyp;protocol=https;destsuffix=git/src/tools/gyp;name=gyp;branch=master \
file://0001-include-sys-reg.h-to-get-__WORDSIZE-on-musl-libc.patch \
file://0003-Fix-conflict-between-musl-libc-dirent.h-and-lss.patch \
file://0001-Turn-off-sign-compare-for-musl-libc.patch \
@ -41,6 +37,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=h
file://0004-elf_reader.cc-include-sys-reg.h-to-get-__WORDSIZE-on.patch \
file://mcontext.patch \
file://0001-Remove-HAVE_GETCONTEXT-check-to-add-local-implementa.patch \
file://0001-Fixed-missing-include-for-std-find_if.patch \
file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \
file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \
"