[crossguid] Fix compilation on gcc v13 (#31835)

* [crossguid] Fix compilation on gcc v13

Crossguid no longer compiles with gcc v13 (tested on Linux), due to a
missing include (cstdint). There is an upstream pull request to fix the
issue which has been open for some time but not yet merged [1].

Let's patch the sources in vcpkg until upstream fixes it.

Fixes #31834.

[1] https://github.com/graeme-hill/crossguid/pull/67

* [crossguid] Bump port-version
This commit is contained in:
Alex Dewar 2023-06-07 17:45:38 +01:00 committed by GitHub
parent b33cf57de8
commit 6d6f3164e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff --git a/include/crossguid/guid.hpp b/include/crossguid/guid.hpp
index 61e0f17..70966f2 100644
--- a/include/crossguid/guid.hpp
+++ b/include/crossguid/guid.hpp
@@ -29,6 +29,7 @@ THE SOFTWARE.
#include <jni.h>
#endif
+#include <cstdint>
#include <functional>
#include <iostream>
#include <array>

View File

@ -8,6 +8,7 @@ vcpkg_from_github(
HEAD_REF master
PATCHES
warnings.patch
missing-include-cstdint.patch
)
vcpkg_cmake_configure(

View File

@ -1,7 +1,7 @@
{
"name": "crossguid",
"version-date": "2021-10-22",
"port-version": 2,
"port-version": 3,
"description": "CrossGuid is a minimal, cross platform, C++ GUID library.",
"dependencies": [
{

View File

@ -1882,7 +1882,7 @@
},
"crossguid": {
"baseline": "2021-10-22",
"port-version": 2
"port-version": 3
},
"crow": {
"baseline": "1.0-5",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "39a8ec44dcb709796a0ecdc4c170f67ad5ad1175",
"version-date": "2021-10-22",
"port-version": 3
},
{
"git-tree": "93714099ddf83b2f3437a080c8acc08ff74cbe37",
"version-date": "2021-10-22",