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

[influxdb-cxx] Update to v0.7.1 #31145

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
15 changes: 15 additions & 0 deletions ports/influxdb-cxx/fix-dllexports.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index df7e7a3..4879802 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,6 +26,10 @@ project(influxdb-cxx
LANGUAGES CXX
)

+if (BUILD_SHARED_LIBS)
+ add_definitions(-DInfluxDB_EXPORTS)
+endif()
+
message(STATUS "~~~ ${PROJECT_NAME} v${PROJECT_VERSION} ~~~")


7 changes: 4 additions & 3 deletions ports/influxdb-cxx/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO offa/influxdb-cxx
REF 141ef6c3f9ee933262a35abe3ac5900da821078a #Commit on 2022-08-20
SHA512 d19a7dfd410375a47e5fcb425045732878b09ec6b5eb01740696d57064c739cebcf4a4141c8f592d0c985f10cd8b05c538cef32193cb7226d74bc3462754b8fa
REF "v${VERSION}"
SHA512 3be45353635df28803bd57927db292fc93db28fbec56007bbf694badcbfa277672b168c3b41cd228c9570a8b8f56212369ce7eabedca581307f4c8488a69ef27
HEAD_REF master
PATCHES fix-dllexports.patch
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
Expand All @@ -25,4 +26,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

vcpkg_cmake_config_fixup(PACKAGE_NAME InfluxDB CONFIG_PATH lib/cmake/InfluxDB)

file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
4 changes: 2 additions & 2 deletions ports/influxdb-cxx/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "influxdb-cxx",
"version-date": "2022-09-02",
"version": "0.7.1",
"description": "InfluxDB C++ client library",
"homepage": "https://github.com/offa/influxdb-cxx",
"license": "MIT",
"dependencies": [
"curl",
"cpr",
{
"name": "vcpkg-cmake",
"host": true
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3325,7 +3325,7 @@
"port-version": 0
},
"influxdb-cxx": {
"baseline": "2022-09-02",
"baseline": "0.7.1",
"port-version": 0
},
"infoware": {
Expand Down
5 changes: 5 additions & 0 deletions versions/i-/influxdb-cxx.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d03720b58912770380a8101fdbb729a57598a904",
"version": "0.7.1",
"port-version": 0
},
{
"git-tree": "4eba82142d2afb448bc5295fe22e0849cd0f8ca7",
"version-date": "2022-09-02",
Expand Down