mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:19:00 +08:00
[crashpad] update to the latest version 2024-04-11 (#38484)
<!-- If your PR fixes issues, please note that here by adding "Fixes #NNNNNN." for each fixed issue on separate lines. --> <!-- If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/. --> - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] <s>SHA512s are updated for each updated download.</s> - [ ] <s>The "supports" clause reflects platforms that may be fixed by this new version.</s> - [ ] <s>Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file.</s> - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file. <!-- If this PR adds a new port, please uncomment and fill out this checklist: - [ ] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [ ] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines. - [ ] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all `find_package` calls are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or disabled with [CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html). - [ ] The versioning scheme in `vcpkg.json` matches what upstream says. - [ ] The license declaration in `vcpkg.json` matches what upstream says. - [ ] The installed as the "copyright" file matches what upstream says. - [ ] The source code of the component installed comes from an authoritative source. - [ ] The generated "usage text" is accurate. See [adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md) for context. - [ ] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [ ] Only one version is in the new port's versions file. - [ ] Only one version is added to each modified port's versions file. END OF NEW PORT CHECKLIST (delete this line) -->
This commit is contained in:
parent
8447ad6c45
commit
e71c13fed0
@ -1,26 +0,0 @@
|
||||
diff --git a/base/logging.h b/base/logging.h
|
||||
index a123535..a87de3d 100644
|
||||
--- a/base/logging.h
|
||||
+++ b/base/logging.h
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
-
|
||||
+#include <stdint.h>
|
||||
#include <limits>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
diff --git a/base/strings/utf_string_conversion_utils.h b/base/strings/utf_string_conversion_utils.h
|
||||
index ed99a23..0ba3fea 100644
|
||||
--- a/base/strings/utf_string_conversion_utils.h
|
||||
+++ b/base/strings/utf_string_conversion_utils.h
|
||||
@@ -6,7 +6,7 @@
|
||||
#define MINI_CHROMIUM_BASE_STRINGS_UTF_STRING_CONVERSION_UTILS_H_
|
||||
|
||||
#include <string>
|
||||
-
|
||||
+#include <stdint.h>
|
||||
namespace base {
|
||||
|
||||
inline bool IsValidCodepoint(uint32_t code_point) {
|
@ -3,7 +3,7 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
vcpkg_from_git(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
URL https://chromium.googlesource.com/crashpad/crashpad
|
||||
REF 261679b3d2f3336d8531ed38e110254c3e2d1c10
|
||||
REF 7e0af1d4d45b526f01677e74a56f4a951b70517d
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON3)
|
||||
@ -18,21 +18,17 @@ function(checkout_in_path PATH URL REF)
|
||||
OUT_SOURCE_PATH DEP_SOURCE_PATH
|
||||
URL "${URL}"
|
||||
REF "${REF}"
|
||||
PATCHES
|
||||
"${PATCH_FILE}"
|
||||
)
|
||||
file(RENAME "${DEP_SOURCE_PATH}" "${PATH}")
|
||||
file(REMOVE_RECURSE "${DEP_SOURCE_PATH}")
|
||||
endfunction()
|
||||
|
||||
# mini_chromium contains the toolchains and build configuration
|
||||
set(PATCH_FILE "fix-stdint.patch")
|
||||
checkout_in_path(
|
||||
"${SOURCE_PATH}/third_party/mini_chromium/mini_chromium"
|
||||
"https://chromium.googlesource.com/chromium/mini_chromium"
|
||||
"5654edb4225bcad13901155c819febb5748e502b"
|
||||
"dce72d97d1c2e9beb5e206c6a05a702269794ca3"
|
||||
)
|
||||
set(PATCH_FILE "")
|
||||
|
||||
if(VCPKG_TARGET_IS_LINUX)
|
||||
# fetch lss
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"name": "crashpad",
|
||||
"version-date": "2022-09-05",
|
||||
"port-version": 6,
|
||||
"version-date": "2024-04-11",
|
||||
"description": [
|
||||
"Crashpad is a crash-reporting system.",
|
||||
"Crashpad is a library for capturing, storing and transmitting postmortem crash reports from a client to an upstream collection server. Crashpad aims to make it possible for clients to capture process state at the time of crash with the best possible fidelity and coverage, with the minimum of fuss."
|
||||
|
@ -1989,8 +1989,8 @@
|
||||
"port-version": 2
|
||||
},
|
||||
"crashpad": {
|
||||
"baseline": "2022-09-05",
|
||||
"port-version": 6
|
||||
"baseline": "2024-04-11",
|
||||
"port-version": 0
|
||||
},
|
||||
"crashrpt": {
|
||||
"baseline": "1.4.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "faece66eb2a9a6f95f5a11c7f4ebd3cefd70d54f",
|
||||
"version-date": "2024-04-11",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "d3d6e9473bb3047d0ba5db163765218b013809c1",
|
||||
"version-date": "2022-09-05",
|
||||
|
Loading…
Reference in New Issue
Block a user