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

[avro-c] update to 1.12.0 #43954

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions ports/avro-c/avro.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/lang/c/CMakeLists.txt b/lang/c/CMakeLists.txt
index aa923e1..9ee7937 100644
index 123676b..d5797b4 100644
--- a/lang/c/CMakeLists.txt
+++ b/lang/c/CMakeLists.txt
@@ -22,6 +22,9 @@ enable_testing()
Expand All @@ -20,7 +20,7 @@ index aa923e1..9ee7937 100644
-if (SNAPPY_FOUND AND ZLIB_FOUND) # Snappy borrows crc32 from zlib
+find_package(Snappy CONFIG REQUIRED)
+if (Snappy_FOUND AND ZLIB_FOUND) # Snappy borrows crc32 from zlib
set(SNAPPY_PKG libsnappy)
set(SNAPPY_PKG snappy)
add_definitions(-DSNAPPY_CODEC)
+ set(SNAPPY_LIBRARIES Snappy::snappy)
+ if (UNIX)
Expand All @@ -45,7 +45,7 @@ index aa923e1..9ee7937 100644
set(LZMA_PKG liblzma)
add_definitions(-DLZMA_CODEC)
@@ -179,20 +187,26 @@ set(CODEC_LIBRARIES ${ZLIB_LIBRARIES} ${LZMA_LIBRARIES} ${SNAPPY_LIBRARIES})
set(CODEC_PKG "@ZLIB_PKG@ @LZMA_PKG@ @SNAPPY_PKG@")
set(CODEC_PKG "${ZLIB_PKG} ${LZMA_PKG} ${SNAPPY_PKG}")

# Jansson JSON library
-pkg_check_modules(JANSSON jansson>=2.3)
Expand Down
4 changes: 2 additions & 2 deletions ports/avro-c/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO apache/avro
REF "release-${VERSION}"
SHA512 728609f562460e1115366663ede2c5d4acbdd6950c1ee3e434ffc65d28b72e3a43c3ebce93d0a8459f0c4f6c492ebb9444e2127a0385f38eb7cdf74b28f0c3ed
SHA512 8cc6ef3cf1e0a919118c8ba5817a1866dc4f891fa95873c0fe1b4b388858fbadee8ed50406fa0006882cab40807fcf00c5a2dcd500290f3868d9d06b287eacb6
HEAD_REF master
PATCHES
avro.patch # Private vcpkg build fixes
Expand Down Expand Up @@ -39,4 +39,4 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static" AND NOT VCPKG_TARGET_IS_WINDOWS)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()

file(INSTALL "${SOURCE_PATH}/lang/c/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/lang/c/LICENSE")
2 changes: 1 addition & 1 deletion ports/avro-c/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "avro-c",
"version": "1.11.3",
"version": "1.12.0",
"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-c.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9776bebec8f77c6ea2322fec051fae2d12a1f524",
"version": "1.12.0",
"port-version": 0
},
{
"git-tree": "76ef10758076c92faaae286e1d38c1770dc4f23c",
"version": "1.11.3",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@
"port-version": 1
},
"avro-c": {
"baseline": "1.11.3",
"baseline": "1.12.0",
"port-version": 0
},
"avro-cpp": {
Expand Down