aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/grpc/00017-add-src-upb.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/grpc/00017-add-src-upb.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/grpc/00017-add-src-upb.patch')
-rw-r--r--vcpkg/ports/grpc/00017-add-src-upb.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/vcpkg/ports/grpc/00017-add-src-upb.patch b/vcpkg/ports/grpc/00017-add-src-upb.patch
new file mode 100644
index 0000000..8cb101b
--- /dev/null
+++ b/vcpkg/ports/grpc/00017-add-src-upb.patch
@@ -0,0 +1,36 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 391d113..3774159 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -3969,6 +3969,7 @@ add_library(upb_json_lib ${_gRPC_STATIC_WIN32}
+ third_party/upb/upb/reflection/method_def.c
+ third_party/upb/upb/reflection/oneof_def.c
+ third_party/upb/upb/reflection/service_def.c
++ third_party/upb/upb/reflection/cmake/google/protobuf/descriptor.upb_minitable.c
+ )
+
+ target_compile_features(upb_json_lib PUBLIC cxx_std_17)
+@@ -3992,7 +3993,6 @@ endif()
+ target_include_directories(upb_json_lib
+ PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
+ PRIVATE
+- ${CMAKE_CURRENT_SOURCE_DIR}
+ ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
+ ${_gRPC_RE2_INCLUDE_DIR}
+ ${_gRPC_SSL_INCLUDE_DIR}
+@@ -4226,6 +4226,7 @@ add_library(upb_textformat_lib ${_gRPC_STATIC_WIN32}
+ third_party/upb/upb/reflection/service_def.c
+ third_party/upb/upb/text/encode.c
+ third_party/upb/upb/text/internal/encode.c
++ third_party/upb/upb/reflection/cmake/google/protobuf/descriptor.upb_minitable.c
+ )
+
+ target_compile_features(upb_textformat_lib PUBLIC cxx_std_17)
+@@ -4249,7 +4250,6 @@ endif()
+ target_include_directories(upb_textformat_lib
+ PUBLIC $<INSTALL_INTERFACE:${gRPC_INSTALL_INCLUDEDIR}> $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
+ PRIVATE
+- ${CMAKE_CURRENT_SOURCE_DIR}
+ ${_gRPC_ADDRESS_SORTING_INCLUDE_DIR}
+ ${_gRPC_RE2_INCLUDE_DIR}
+ ${_gRPC_SSL_INCLUDE_DIR}