Date: Thu, 7 Sep 2023 14:19:03 GMT From: "Vanilla I. Shu" <vanilla@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 258b11f5701f - main - devel/pecl-grpc: update to 1.58.0. Message-ID: <202309071419.387EJ3wQ050292@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by vanilla: URL: https://cgit.FreeBSD.org/ports/commit/?id=258b11f5701f494bdcb60b9e988f1f4c05832bc6 commit 258b11f5701f494bdcb60b9e988f1f4c05832bc6 Author: Vanilla I. Shu <vanilla@FreeBSD.org> AuthorDate: 2023-09-07 14:18:30 +0000 Commit: Vanilla I. Shu <vanilla@FreeBSD.org> CommitDate: 2023-09-07 14:18:56 +0000 devel/pecl-grpc: update to 1.58.0. --- devel/pecl-grpc/Makefile | 2 +- devel/pecl-grpc/distinfo | 6 ++-- ..._party_abseil-cpp_absl_base_internal_sysinfo.cc | 33 ++++++++++++++++++++++ ...sl_time_internal_cctz_src_time__zone__format.cc | 11 ++++++++ 4 files changed, 48 insertions(+), 4 deletions(-) diff --git a/devel/pecl-grpc/Makefile b/devel/pecl-grpc/Makefile index a3f40399dd2f..3036f464fd32 100644 --- a/devel/pecl-grpc/Makefile +++ b/devel/pecl-grpc/Makefile @@ -1,5 +1,5 @@ PORTNAME= grpc -PORTVERSION= 1.57.0 +PORTVERSION= 1.58.0 CATEGORIES= devel net MAINTAINER= vanilla@FreeBSD.org diff --git a/devel/pecl-grpc/distinfo b/devel/pecl-grpc/distinfo index 07e2dbdc9044..6f860fa1f5ed 100644 --- a/devel/pecl-grpc/distinfo +++ b/devel/pecl-grpc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1692163866 -SHA256 (PECL/grpc-1.57.0.tgz) = b1ae19706fd3968584ed3079986b4cf1d6e557fc336761a336d73a435b9a7e60 -SIZE (PECL/grpc-1.57.0.tgz) = 5969739 +TIMESTAMP = 1694061701 +SHA256 (PECL/grpc-1.58.0.tgz) = 083e6460e111cc09a12f749329eac1bb40b21ec728a10230f8942111500625f9 +SIZE (PECL/grpc-1.58.0.tgz) = 5977746 diff --git a/devel/pecl-grpc/files/patch-third__party_abseil-cpp_absl_base_internal_sysinfo.cc b/devel/pecl-grpc/files/patch-third__party_abseil-cpp_absl_base_internal_sysinfo.cc new file mode 100644 index 000000000000..1c4921f8a4dd --- /dev/null +++ b/devel/pecl-grpc/files/patch-third__party_abseil-cpp_absl_base_internal_sysinfo.cc @@ -0,0 +1,33 @@ +--- third_party/abseil-cpp/absl/base/internal/sysinfo.cc.orig 2023-09-07 04:54:32 UTC ++++ third_party/abseil-cpp/absl/base/internal/sysinfo.cc +@@ -34,6 +34,10 @@ + #include <sys/sysctl.h> + #endif + ++#ifdef __FreeBSD__ ++#include <pthread_np.h> ++#endif ++ + #if defined(__myriad2__) + #include <rtems.h> + #endif +@@ -421,14 +425,18 @@ pid_t GetTID() { + return tid; + } + +-#elif defined(__APPLE__) ++#elif defined(__APPLE__) || defined(__FreeBSD__) + + pid_t GetTID() { + uint64_t tid; + // `nullptr` here implies this thread. This only fails if the specified + // thread is invalid or the pointer-to-tid is null, so we needn't worry about + // it. ++#if __FreeBSD__ ++ tid = pthread_getthreadid_np(); ++#else + pthread_threadid_np(nullptr, &tid); ++#endif + return static_cast<pid_t>(tid); + } + diff --git a/devel/pecl-grpc/files/patch-third__party_abseil-cpp_absl_time_internal_cctz_src_time__zone__format.cc b/devel/pecl-grpc/files/patch-third__party_abseil-cpp_absl_time_internal_cctz_src_time__zone__format.cc new file mode 100644 index 000000000000..024635f9a5df --- /dev/null +++ b/devel/pecl-grpc/files/patch-third__party_abseil-cpp_absl_time_internal_cctz_src_time__zone__format.cc @@ -0,0 +1,11 @@ +--- third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc.orig 2023-09-07 14:13:10 UTC ++++ third_party/abseil-cpp/absl/time/internal/cctz/src/time_zone_format.cc +@@ -19,7 +19,7 @@ + #endif + + #if defined(HAS_STRPTIME) && HAS_STRPTIME +-#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__) ++#if !defined(_XOPEN_SOURCE) && !defined(__OpenBSD__) && !defined(__FreeBSD__) + #define _XOPEN_SOURCE 500 // Exposes definitions for SUSv2 (UNIX 98). + #endif + #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309071419.387EJ3wQ050292>