[trantor] Update to 1.5.3 (#21728)

* [trantor] Update to 1.5.3

* format

* version
This commit is contained in:
An Tao 2021-11-30 04:02:15 +08:00 committed by GitHub
parent 2496d23d41
commit 36de5f9de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 8 deletions

View File

@ -1,8 +1,8 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO an-tao/trantor
REF v1.5.1
SHA512 9f6664abc94943598805192ee09a98340e6e20efb15e448aac5e21480f1798b0991782d18766f5ef54399251d4980c2f68aeda3136c7e058e3c31623c8f7ce3f
REF v1.5.3
SHA512 2d032c59ad1b57bb1711fe99436fbc8eec5400d91bf310986cb4985e2c2ce1143844701a67241d0fe8dc7ab706b828feded3138aef8cf9d5620e581a1a770079
HEAD_REF master
PATCHES
vcpkg.patch

View File

@ -1,6 +1,6 @@
{
"name": "trantor",
"version-semver": "1.5.1",
"version-semver": "1.5.3",
"description": "A non-blocking I/O cross-platform TCP network library, using C++14",
"homepage": "https://github.com/an-tao/trantor",
"dependencies": [

View File

@ -1,14 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ad5a1b3..7d59844 100755
index 33b8e2c..e8c1cc2 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -133,6 +133,9 @@ if(c-ares_FOUND)
@@ -148,6 +148,9 @@ if(HAVE_C-ARES)
set(private_headers
${private_headers}
trantor/net/inner/AresResolver.h)
+ if(APPLE)
+ target_link_libraries(${PROJECT_NAME} PRIVATE resolv)
+ target_link_libraries(${PROJECT_NAME} PRIVATE resolv)
+ endif()
else(c-ares_FOUND)
else()
set(TRANTOR_SOURCES
${TRANTOR_SOURCES}

View File

@ -6861,7 +6861,7 @@
"port-version": 0
},
"trantor": {
"baseline": "1.5.1",
"baseline": "1.5.3",
"port-version": 0
},
"tre": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a5395bb6aeca297cdc2a8b052599df7a7b568c07",
"version-semver": "1.5.3",
"port-version": 0
},
{
"git-tree": "06881e6b0abf51c4df93d7bdcb5c715adf57809d",
"version-semver": "1.5.1",