[ngtcp2] update to 1.8.1 (#41808)

This commit is contained in:
Alexis La Goutte 2024-11-05 21:50:09 +01:00 committed by GitHub
parent 1fa19b06cc
commit eef8a934d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 19 deletions

View File

@ -1,13 +0,0 @@
diff --git a/lib/ngtcp2_ringbuf.c b/lib/ngtcp2_ringbuf.c
index c381c23..73d9230 100644
--- a/lib/ngtcp2_ringbuf.c
+++ b/lib/ngtcp2_ringbuf.c
@@ -32,7 +32,7 @@
#include "ngtcp2_macro.h"
#if defined(_MSC_VER) && !defined(__clang__) && \
- (defined(_M_ARM) || defined(_M_ARM64))
+ (defined(_M_ARM) || (defined(_M_ARM64) && _MSC_VER < 1941))
static unsigned int __popcnt(unsigned int x) {
unsigned int c = 0;
for (; x; ++c) {

View File

@ -2,11 +2,10 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ngtcp2/ngtcp2
REF "v${VERSION}"
SHA512 891a7339122f60b1796bb24d29ab75d0316717c2a64a45bade805242b70cb8713abc7642cdf0ec646ab9e80085d65117f0ea9b1e671d76bcd54038b0ea9bc868
SHA512 de38eaa8b7761ed1f7d8b07bfd8dd274820694b4438f224a4984e045a6c866ec5c4f23a142885883e2ea005994b40914e2aafc2724e3860cb9d72b759d947a9b
HEAD_REF main
PATCHES
openssl_required.patch
popcnt_intrinsic.patch # https://github.com/ngtcp2/ngtcp2/pull/1351
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" ENABLE_STATIC_LIB)

View File

@ -1,7 +1,6 @@
{
"name": "ngtcp2",
"version": "1.7.0",
"port-version": 1,
"version": "1.8.1",
"description": "ngtcp2 project is an effort to implement RFC9000 QUIC protocol.",
"homepage": "https://github.com/ngtcp2/ngtcp2",
"license": "MIT",

View File

@ -6333,8 +6333,8 @@
"port-version": 0
},
"ngtcp2": {
"baseline": "1.7.0",
"port-version": 1
"baseline": "1.8.1",
"port-version": 0
},
"nifly": {
"baseline": "1.0.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3a0befe8767508d567f8f3eca44020eaca5a450f",
"version": "1.8.1",
"port-version": 0
},
{
"git-tree": "b0694dae4b89a7212beb478571821e45c3715335",
"version": "1.7.0",