mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[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:
parent
b33cf57de8
commit
6d6f3164e6
12
ports/crossguid/missing-include-cstdint.patch
Normal file
12
ports/crossguid/missing-include-cstdint.patch
Normal 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>
|
@ -8,6 +8,7 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
warnings.patch
|
||||
missing-include-cstdint.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
@ -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": [
|
||||
{
|
||||
|
@ -1882,7 +1882,7 @@
|
||||
},
|
||||
"crossguid": {
|
||||
"baseline": "2021-10-22",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"crow": {
|
||||
"baseline": "1.0-5",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "39a8ec44dcb709796a0ecdc4c170f67ad5ad1175",
|
||||
"version-date": "2021-10-22",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "93714099ddf83b2f3437a080c8acc08ff74cbe37",
|
||||
"version-date": "2021-10-22",
|
||||
|
Loading…
Reference in New Issue
Block a user