mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
[cnats] Update to 3.8.2 (#39718)
This commit is contained in:
parent
ee26e5a38b
commit
56d3761d82
19
ports/cnats/lowercase_ws2_32.patch
Normal file
19
ports/cnats/lowercase_ws2_32.patch
Normal file
@ -0,0 +1,19 @@
|
||||
Subject: [PATCH] Change "Ws2_32" to "ws2_32" for MinGW compatibility with no adverse effect for native Windows build.
|
||||
---
|
||||
Index: CMakeLists.txt
|
||||
IDEA additional info:
|
||||
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||||
<+>UTF-8
|
||||
===================================================================
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
--- a/CMakeLists.txt (revision 1cb8d8cacec14bb9760a50f712b5f62d16ddc91e)
|
||||
+++ b/CMakeLists.txt (revision c1d98cd1d3484e3d41b7236fbd272295e9ef72ce)
|
||||
@@ -196,7 +196,7 @@
|
||||
elseif(WIN32)
|
||||
set(NATS_LIBDIR "lib")
|
||||
set(NATS_INCLUDE_DIR "include")
|
||||
- set(NATS_EXTRA_LIB "Ws2_32")
|
||||
+ set(NATS_EXTRA_LIB "ws2_32")
|
||||
set(NATS_OS "_WIN32")
|
||||
set(NATS_PLATFORM_INCLUDE "win")
|
||||
if(sodium_USE_STATIC_LIBS)
|
@ -2,11 +2,12 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO nats-io/nats.c
|
||||
REF "v${VERSION}"
|
||||
SHA512 d32979a686420fe23af96b58efcf366ff9ff315531ca54962f2ae8ae7126174b5ca10a74152cc14f49be1143d0ad7dd5a68beeb31126410c76dbaa0468a45382
|
||||
SHA512 4cc127a461a5074d8a49d8cee633577951152cd54f57b4118ff6e4a8c0da73e2f61e9e54546a34c9e79a4557165a80bedc7e9cf6ed0fde28134019eb59a241b9
|
||||
HEAD_REF main
|
||||
PATCHES
|
||||
fix-sodium-dep.patch
|
||||
fix_install_path.patch
|
||||
lowercase_ws2_32.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cnats",
|
||||
"version": "3.8.0",
|
||||
"version": "3.8.2",
|
||||
"description": "A C client for the NATS messaging system",
|
||||
"homepage": "https://github.com/nats-io/nats.c",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -1733,7 +1733,7 @@
|
||||
"port-version": 3
|
||||
},
|
||||
"cnats": {
|
||||
"baseline": "3.8.0",
|
||||
"baseline": "3.8.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"cnl": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a521d9641d065db79cce09b63daef612a0a34c41",
|
||||
"version": "3.8.2",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "963d6b12fba8001c650cc6d56a21a1a5122cf845",
|
||||
"version": "3.8.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user