Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tur-pypi-310/python3.10-grpcio/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="High performance, open source, general RPC framework tha
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux-user-repository"
TERMUX_PKG_SRCURL=git+https://github.com/grpc/grpc
TERMUX_PKG_VERSION="1.71.0"
TERMUX_PKG_VERSION="1.72.0"
TERMUX_PKG_DEPENDS="ca-certificates, libc++, openssl, python3.10, zlib"
TERMUX_PKG_BUILD_DEPENDS="python3.10-cross"
TERMUX_PKG_PYTHON_COMMON_DEPS="wheel, setuptools, 'Cython>=3.0.0'"
Expand Down
29 changes: 0 additions & 29 deletions tur-pypi-310/python3.10-grpcio/protobuf-disable-android-log.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,3 @@
inline void DefaultLogHandler(LogLevel level, const char* filename, int line,
const string& message) {
if (level < GOOGLE_PROTOBUF_MIN_LOG_LEVEL) {
--- a/third_party/protobuf/third_party/abseil-cpp/absl/log/internal/log_sink_set.cc
+++ b/third_party/protobuf/third_party/abseil-cpp/absl/log/internal/log_sink_set.cc
@@ -19,7 +19,7 @@
#include <pthread.h>
#endif

-#ifdef __ANDROID__
+#if defined(__ANDROID__) && !defined(__TERMUX__)
#include <android/log.h>
#endif

@@ -116,7 +116,7 @@
}
};

-#if defined(__ANDROID__)
+#if defined(__ANDROID__) && !defined(__TERMUX__)
class AndroidLogSink final : public LogSink {
public:
~AndroidLogSink() override = default;
@@ -172,7 +172,7 @@
static absl::NoDestructor<StderrLogSink> stderr_log_sink;
AddLogSink(stderr_log_sink.get());
#endif
-#ifdef __ANDROID__
+#if defined(__ANDROID__) && !defined(__TERMUX__)
static absl::NoDestructor<AndroidLogSink> android_log_sink;
AddLogSink(android_log_sink.get());
#endif
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- a/src/core/lib/security/security_connector/load_system_roots_supported.cc
+++ b/src/core/lib/security/security_connector/load_system_roots_supported.cc
--- a/src/core/credentials/transport/tls/load_system_roots_supported.cc
+++ b/src/core/credentials/transport/tls/load_system_roots_supported.cc
@@ -52,12 +52,12 @@

#if defined(GPR_LINUX) || defined(GPR_ANDROID)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- a/src/core/lib/security/security_connector/ssl_utils.cc
+++ b/src/core/lib/security/security_connector/ssl_utils.cc
--- a/src/core/credentials/transport/tls/ssl_utils.cc
+++ b/src/core/credentials/transport/tls/ssl_utils.cc
@@ -45,9 +45,9 @@
static const char* installed_roots_path = GRPC_ROOT_PEM_PATH;
#elif defined(INSTALL_PREFIX)
Expand Down