Skip to content

Commit

Permalink
grpc: Fix upb NaN. Update brpc to 1.11.0 and add official protobuf v5…
Browse files Browse the repository at this point in the history
…. Download official srpc protobuf v5 patch
  • Loading branch information
Tradias committed Nov 6, 2024
1 parent b78dfd8 commit 48dd7f7
Show file tree
Hide file tree
Showing 13 changed files with 63 additions and 642 deletions.
11 changes: 9 additions & 2 deletions ports/brpc/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
vcpkg_download_distfile(
PROTOBUF_V5_PATCH
URLS https://github.com/apache/brpc/commit/282776acaf2c894791d2b5d4c294a28cfa2d4138.patch?full_index=1
SHA512 2e62617ed56047a037f0e673a7dcc43e02c9bff46b6c9d1ae0098e4c73630f1a9a67c113e770bf1cc12d86d273f88f504f83af1ed69ee771f35cccac1a472990
FILENAME 282776acaf2c894791d2b5d4c294a28cfa2d4138.patch
)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO apache/brpc
REF "${VERSION}"
SHA512 cc1a373d94752c43376a731b4f08dc559bffcd67bdad7e22268a2a20a1034b40d658d591d946d4c1aa94287060146eb041626e0354188ee7dc41554512d72490
SHA512 eb2f9528f055a31db5b2bbf57d302b17d2229d387c3bc6afd7dec5f3d21d1f882275d43d49c04cb5190442c2daa746ac2a174b3741d943e531ebbbd82526d510
HEAD_REF master
PATCHES
fix-build.patch
fix-warnings.patch
protobuf.patch
${PROTOBUF_V5_PATCH}
)

vcpkg_cmake_configure(
Expand Down
363 changes: 0 additions & 363 deletions ports/brpc/protobuf.patch

This file was deleted.

3 changes: 1 addition & 2 deletions ports/brpc/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "brpc",
"version": "1.10.0",
"port-version": 1,
"version": "1.11.0",
"description": "Industrial-grade RPC framework used throughout Baidu, with 1,000,000+ instances and thousands kinds of services, called \"baidu-rpc\" inside Baidu.",
"homepage": "https://github.com/apache/brpc",
"license": "Apache-2.0",
Expand Down
Loading

0 comments on commit 48dd7f7

Please sign in to comment.