Fix avro cpp compilation under linux (#42573)

This commit is contained in:
Alexander Smyslov 2024-12-06 21:18:46 +01:00 committed by GitHub
parent fd10d76991
commit 7d23867a7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff --git a/lang/c++/include/avro/LogicalType.hh b/lang/c++/include/avro/LogicalType.hh
index b2a7d0294..7b113b3aa 100644
--- a/lang/c++/include/avro/LogicalType.hh
+++ b/lang/c++/include/avro/LogicalType.hh
@@ -22,6 +22,7 @@
#include <iostream>
#include "Config.hh"
+#include <cstdint>
namespace avro {

View File

@ -7,6 +7,7 @@ vcpkg_from_github(
PATCHES
fix-cmake.patch
fix-fmt.patch
fix-std32_t.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,6 +1,7 @@
{
"name": "avro-cpp",
"version": "1.12.0",
"port-version": 2,
"description": "Apache Avro is a data serialization system",
"homepage": "https://github.com/apache/avro",
"license": "Apache-2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4ef85ccd3feb1c611ad245ab1ead9796b09b1bc9",
"version": "1.12.0",
"port-version": 2
},
{
"git-tree": "d177503c9c4f90f723a50e01156fbb79b479237d",
"version": "1.12.0",

View File

@ -382,7 +382,7 @@
},
"avro-cpp": {
"baseline": "1.12.0",
"port-version": 0
"port-version": 2
},
"awlib": {
"baseline": "2024-04-06",