[libhv] Update version (#32959)

* update libhv version to 1.3.1

* update vcpkg version information

* modify SHA512 value

* modify vcpkg version information

* delete patch file

* modify vcpkg version information

* Update ports/libhv/vcpkg.json

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* revert version

* update version baseline

---------

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
Co-authored-by: Frank <1433351828@qq.com>
This commit is contained in:
endingly 2023-08-04 21:45:20 +08:00 committed by GitHub
parent d37333570f
commit 9dacc3bc01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 44 deletions

View File

@ -1,36 +0,0 @@
From d77287e954f02706502028baadc8c87e7382301b Mon Sep 17 00:00:00 2001
From: ithewei <ithewei@163.com>
Date: Tue, 29 Nov 2022 10:37:21 +0800
Subject: [PATCH] judge BYTE_ORDER
---
base/hplatform.h | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/base/hplatform.h b/base/hplatform.h
index 60023230..5e0a290c 100644
--- a/base/hplatform.h
+++ b/base/hplatform.h
@@ -237,13 +237,19 @@
// BYTE_ORDER
#ifndef BYTE_ORDER
-#if defined(ARCH_X86) || defined(ARCH_X86_64) || \
- defined(__ARMEL__) || defined(__AARCH64EL__) || \
- defined(__MIPSEL) || defined(__MIPS64EL)
+#if defined(__BYTE_ORDER)
+ #define BYTE_ORDER __BYTE_ORDER
+#elif defined(__BYTE_ORDER__)
+ #define BYTE_ORDER __BYTE_ORDER__
+#elif defined(ARCH_X86) || defined(ARCH_X86_64) || \
+ defined(__ARMEL__) || defined(__AARCH64EL__) || \
+ defined(__MIPSEL) || defined(__MIPS64EL)
#define BYTE_ORDER LITTLE_ENDIAN
#elif defined(__ARMEB__) || defined(__AARCH64EB__) || \
defined(__MIPSEB) || defined(__MIPS64EB)
#define BYTE_ORDER BIG_ENDIAN
+#elif defined(OS_WIN)
+ #define BYTE_ORDER LITTLE_ENDIAN
#else
#warning "Unknown byte order!"
#endif

View File

@ -1,11 +1,9 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ithewei/libhv
REF 3a67fe506a291ee94ed80bbdd73553fcb6a6b1ef #v1.3.0
SHA512 3aa341a94950b0d4f3351a6f62a4c34947b481bb59f1954dd8d031313e73d9c6add1017cf386c507b231b114d80cfc0739a50bed179bdbc31052c86e2f1321a3
REF v${VERSION} #v1.3.0
SHA512 7d8f552947eb464a8dd644515b9543a7961631e427033de4e1f51f1e9d2b9ca1801553a478b0a20935b50dbc274632e38a6f0438732efed9fcbf0738738ddac5
HEAD_REF master
PATCHES
d77287e954f02706502028baadc8c87e7382301b.patch
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)

View File

@ -1,7 +1,6 @@
{
"name": "libhv",
"version": "1.3.0",
"port-version": 1,
"version": "1.3.1",
"description": "Libhv is a C/C++ network library similar to libevent/libuv.",
"homepage": "https://github.com/ithewei/libhv",
"license": "BSD-3-Clause",

View File

@ -4189,8 +4189,8 @@
"port-version": 0
},
"libhv": {
"baseline": "1.3.0",
"port-version": 1
"baseline": "1.3.1",
"port-version": 0
},
"libhydrogen": {
"baseline": "2022-06-21",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3cccf7a4fde6f5c23138ac228d6d581dba11a76b",
"version": "1.3.1",
"port-version": 0
},
{
"git-tree": "13870ce60cbe4c1f12030a7d2319f9f08e860d03",
"version": "1.3.0",