Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix avro cpp compilation under linux #42573

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions ports/avro-cpp/fix-std32_t.patch
Original file line number Diff line number Diff line change
@@ -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 {

1 change: 1 addition & 0 deletions ports/avro-cpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions ports/avro-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 5 additions & 0 deletions versions/a-/avro-cpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4ef85ccd3feb1c611ad245ab1ead9796b09b1bc9",
"version": "1.12.0",
"port-version": 2
},
{
"git-tree": "d177503c9c4f90f723a50e01156fbb79b479237d",
"version": "1.12.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@
},
"avro-cpp": {
"baseline": "1.12.0",
"port-version": 0
"port-version": 2
},
"awlib": {
"baseline": "2024-04-06",
Expand Down