From c8fb2236f9d8fc4213c5f5e47f624dd725e77522 Mon Sep 17 00:00:00 2001 From: Aleksandr Smyslov Date: Fri, 6 Dec 2024 15:35:47 +0100 Subject: [PATCH 1/3] Fix avro cpp compilation under linux --- ports/avro-cpp/fix-std32_t.patch | 12 ++++++++++++ ports/avro-cpp/portfile.cmake | 1 + 2 files changed, 13 insertions(+) create mode 100644 ports/avro-cpp/fix-std32_t.patch diff --git a/ports/avro-cpp/fix-std32_t.patch b/ports/avro-cpp/fix-std32_t.patch new file mode 100644 index 00000000000000..1f0ff42a2db476 --- /dev/null +++ b/ports/avro-cpp/fix-std32_t.patch @@ -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 + + #include "Config.hh" ++#include + + namespace avro { + diff --git a/ports/avro-cpp/portfile.cmake b/ports/avro-cpp/portfile.cmake index b6a2d8ea370f25..d3b3a5dd83b847 100644 --- a/ports/avro-cpp/portfile.cmake +++ b/ports/avro-cpp/portfile.cmake @@ -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 From 75171080e94c05586f8876a5007171e360dbb912 Mon Sep 17 00:00:00 2001 From: Aleksandr Smyslov Date: Fri, 6 Dec 2024 15:39:34 +0100 Subject: [PATCH 2/3] version update --- ports/avro-cpp/vcpkg.json | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/avro-cpp/vcpkg.json b/ports/avro-cpp/vcpkg.json index 9756896069eb9d..ab8cf5e819759c 100644 --- a/ports/avro-cpp/vcpkg.json +++ b/ports/avro-cpp/vcpkg.json @@ -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", From 233507f68337aad8bf4c1961a420db0bdc55816e Mon Sep 17 00:00:00 2001 From: Aleksandr Smyslov Date: Fri, 6 Dec 2024 15:43:32 +0100 Subject: [PATCH 3/3] update hash --- versions/a-/avro-cpp.json | 5 +++++ versions/baseline.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/versions/a-/avro-cpp.json b/versions/a-/avro-cpp.json index 192ebc80522105..a5eab3933fb7a9 100644 --- a/versions/a-/avro-cpp.json +++ b/versions/a-/avro-cpp.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "4ef85ccd3feb1c611ad245ab1ead9796b09b1bc9", + "version": "1.12.0", + "port-version": 2 + }, { "git-tree": "d177503c9c4f90f723a50e01156fbb79b479237d", "version": "1.12.0", diff --git a/versions/baseline.json b/versions/baseline.json index 3bf25305a41fd7..c9e822c439ba3b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -382,7 +382,7 @@ }, "avro-cpp": { "baseline": "1.12.0", - "port-version": 0 + "port-version": 2 }, "awlib": { "baseline": "2024-04-06",