vcpkg/ports/crossguid/missing-include-cstdint.patch
Alex Dewar 6d6f3164e6
[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
2023-06-07 09:45:38 -07:00

13 lines
307 B
Diff

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>