mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
devel/py-grpcio: update to 1.68.0.
This commit is contained in:
parent
fa693a439b
commit
cbcc55f313
@ -1,5 +1,5 @@
|
||||
PORTNAME= grpcio
|
||||
PORTVERSION= 1.67.1
|
||||
PORTVERSION= 1.68.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1731570416
|
||||
SHA256 (grpcio-1.67.1.tar.gz) = 3dc2ed4cabea4dc14d5e708c2b426205956077cc5de419b4d4079315017e9732
|
||||
SIZE (grpcio-1.67.1.tar.gz) = 12580022
|
||||
TIMESTAMP = 1732059444
|
||||
SHA256 (grpcio-1.68.0.tar.gz) = 7e7483d39b4a4fddb9906671e9ea21aaad4f031cdfc349fec76bdfa1e404543a
|
||||
SIZE (grpcio-1.68.0.tar.gz) = 12682655
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- src/core/tsi/ssl_transport_security.cc.orig 2020-06-22 21:42:25 UTC
|
||||
+++ src/core/tsi/ssl_transport_security.cc
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "src/core/tsi/ssl_transport_security.h"
|
||||
|
||||
+#include <sys/socket.h>
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
@ -1,33 +0,0 @@
|
||||
--- third_party/abseil-cpp/absl/base/internal/sysinfo.cc.orig 2023-09-08 14:23:50 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user