mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 09:31:08 +08:00
Fix avro cpp compilation under linux (#42573)
This commit is contained in:
parent
fd10d76991
commit
7d23867a7e
12
ports/avro-cpp/fix-std32_t.patch
Normal file
12
ports/avro-cpp/fix-std32_t.patch
Normal 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 {
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4ef85ccd3feb1c611ad245ab1ead9796b09b1bc9",
|
||||
"version": "1.12.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "d177503c9c4f90f723a50e01156fbb79b479237d",
|
||||
"version": "1.12.0",
|
||||
|
@ -382,7 +382,7 @@
|
||||
},
|
||||
"avro-cpp": {
|
||||
"baseline": "1.12.0",
|
||||
"port-version": 0
|
||||
"port-version": 2
|
||||
},
|
||||
"awlib": {
|
||||
"baseline": "2024-04-06",
|
||||
|
Loading…
x
Reference in New Issue
Block a user