Skip to content

Commit

Permalink
[breakpad] update to 2023.01.27
Browse files Browse the repository at this point in the history
  • Loading branch information
liamwhite committed Oct 5, 2023
1 parent 3b75788 commit 98936ee
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 8 deletions.
5 changes: 3 additions & 2 deletions ports/breakpad/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.8)
project(breakpad CXX)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_definitions(
Expand Down Expand Up @@ -102,6 +102,7 @@ list(APPEND TARGETS libbreakpad_client)

if(INSTALL_TOOLS)
if(LINUX)
find_package(ZLIB)
add_executable(microdump_stackwalk
src/processor/microdump_stackwalk.cc)
target_link_libraries(microdump_stackwalk PRIVATE libbreakpad libbreakpad_client)
Expand Down Expand Up @@ -150,7 +151,7 @@ if(INSTALL_TOOLS)
src/common/linux/memory_mapped_file.cc
src/common/linux/safe_readlink.cc
src/tools/linux/dump_syms/dump_syms.cc)
target_link_libraries(dump_syms PRIVATE libbreakpad_client)
target_link_libraries(dump_syms PRIVATE libbreakpad_client ZLIB::ZLIB)
install(TARGETS dump_syms DESTINATION bin)

add_executable(minidump-2-core
Expand Down
14 changes: 14 additions & 0 deletions ports/breakpad/fix-const-char.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/src/processor/disassembler_objdump.cc b/src/processor/disassembler_objdump.cc
index dfe10d58..26be029c 100644
--- a/src/processor/disassembler_objdump.cc
+++ b/src/processor/disassembler_objdump.cc
@@ -85,7 +85,7 @@ ScopedTmpFile::~ScopedTmpFile() {
}

bool ScopedTmpFile::Create() {
- fd_ = mkstemp(path_.data());
+ fd_ = mkstemp(const_cast<char*>(path_.data()));
if (fd_ < 0) {
unlink(path_.c_str());
fd_ = 0;

5 changes: 3 additions & 2 deletions ports/breakpad/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/breakpad
REF v2022.07.12
SHA512 872fa74520709d6510b798c7adfb7fed34a84b1831e774087515c23a005b0ea76ef7758bb565f0ff9f2153206cf53958621463fba0e055c9d31dc68f687e2b8f
REF v2023.01.27
SHA512 c6802c55653289780232b20e2abc0458c49f3cdff108c3ddfd6e40a2f378da34adbc158548e9c88cbfdbba9526477da9b68c2c45e205231e2802fe533b6bd6a4
HEAD_REF master
PATCHES
fix-const-char.patch
fix-unique_ptr.patch
)

Expand Down
3 changes: 1 addition & 2 deletions ports/breakpad/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "breakpad",
"version-date": "2022-07-12",
"port-version": 5,
"version-date": "2023-01-27",
"description": "a set of client and server components which implement a crash-reporting system.",
"homepage": "https://github.com/google/breakpad",
"license": "BSD-3-Clause",
Expand Down
5 changes: 5 additions & 0 deletions versions/b-/breakpad.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "de47a76b9677c15763f89e78f8115ac3067f836a",
"version-date": "2023-01-27",
"port-version": 0
},
{
"git-tree": "a451811c203f1ec086288b40dd4571d97bb7033e",
"version-date": "2022-07-12",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1293,8 +1293,8 @@
"port-version": 1
},
"breakpad": {
"baseline": "2022-07-12",
"port-version": 5
"baseline": "2023-01-27",
"port-version": 0
},
"brigand": {
"baseline": "1.3.0",
Expand Down

0 comments on commit 98936ee

Please sign in to comment.