Browse Source

libgrpc: update to 1.27.3

master
Leonid Plyushch 5 years ago
parent
commit
13fb1adcd3
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 22
      packages/libgrpc/CMakeLists.txt.patch
  2. 3
      packages/libgrpc/build.sh

22
packages/libgrpc/CMakeLists.txt.patch

@ -1,24 +1,26 @@
--- ./CMakeLists.txt 2017-06-28 01:16:01.000000000 +0530 diff --git a/CMakeLists.txt b/CMakeLists.txt
+++ ../CMakeLists.txt 2017-07-08 22:10:35.062570096 +0530 index f6de091a0c..d21e04a24d 100644
@@ -272,7 +272,7 @@ --- a/CMakeLists.txt
if(_gRPC_PLATFORM_MAC) +++ b/CMakeLists.txt
set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m pthread) @@ -205,7 +205,7 @@ if(_gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_IOS)
elseif(_gRPC_PLATFORM_ANDROID)
set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m)
elseif(UNIX) elseif(UNIX)
- set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread) - set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread)
+ set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m) + set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m)
endif() endif()
if(WIN32 AND MSVC) if(WIN32 AND MSVC)
@@ -813,12 +813,6 @@ @@ -1432,12 +1432,6 @@ target_link_libraries(gpr
target_link_libraries(gpr absl::strings
${_gRPC_ALLTARGETS_LIBRARIES} absl::optional
) )
-if (_gRPC_PLATFORM_ANDROID) -if(_gRPC_PLATFORM_ANDROID)
- target_link_libraries(gpr - target_link_libraries(gpr
- android - android
- log - log
- ) - )
-endif (_gRPC_PLATFORM_ANDROID) -endif()
foreach(_hdr foreach(_hdr
include/grpc/support/alloc.h include/grpc/support/alloc.h

3
packages/libgrpc/build.sh

@ -2,8 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://grpc.io/
TERMUX_PKG_DESCRIPTION="High performance, open source, general RPC framework that puts mobile and HTTP/2 first" TERMUX_PKG_DESCRIPTION="High performance, open source, general RPC framework that puts mobile and HTTP/2 first"
TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas" TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
TERMUX_PKG_VERSION=1.25.0 TERMUX_PKG_VERSION=1.27.3
TERMUX_PKG_REVISION=2
TERMUX_PKG_DEPENDS="libc++, openssl, protobuf, c-ares, zlib" TERMUX_PKG_DEPENDS="libc++, openssl, protobuf, c-ares, zlib"
TERMUX_PKG_BREAKS="libgrpc-dev" TERMUX_PKG_BREAKS="libgrpc-dev"
TERMUX_PKG_REPLACES="libgrpc-dev" TERMUX_PKG_REPLACES="libgrpc-dev"

Loading…
Cancel
Save