git: 2136ed0e30e3 - main - Update to 1.37.0.

Vanilla I. Shu vanilla at FreeBSD.org
Sat Apr 10 03:21:58 UTC 2021


The branch main has been updated by vanilla:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2136ed0e30e345a9a864b29e8d91561906c86ae4

commit 2136ed0e30e345a9a864b29e8d91561906c86ae4
Author:     Vanilla I. Shu <vanilla at FreeBSD.org>
AuthorDate: 2021-04-10 03:20:33 +0000
Commit:     Vanilla I. Shu <vanilla at FreeBSD.org>
CommitDate: 2021-04-10 03:20:33 +0000

    Update to 1.37.0.
---
 devel/py-grpcio-tools/Makefile                                |  2 +-
 devel/py-grpcio-tools/distinfo                                |  6 +++---
 ...ird__party_protobuf_src_google_protobuf_io_coded__stream.h | 11 +++++++++++
 ...tch-third__party_protobuf_src_google_protobuf_stubs_port.h | 11 +++++++++++
 4 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/devel/py-grpcio-tools/Makefile b/devel/py-grpcio-tools/Makefile
index 0deb8be1330f..9c1659a5ae45 100644
--- a/devel/py-grpcio-tools/Makefile
+++ b/devel/py-grpcio-tools/Makefile
@@ -1,7 +1,7 @@
 # Created by: vanilla@
 
 PORTNAME=	grpcio-tools
-PORTVERSION=	1.36.1
+PORTVERSION=	1.37.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-grpcio-tools/distinfo b/devel/py-grpcio-tools/distinfo
index 39443485cb03..5c454cba5fb9 100644
--- a/devel/py-grpcio-tools/distinfo
+++ b/devel/py-grpcio-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614918785
-SHA256 (grpcio-tools-1.36.1.tar.gz) = 80ef584f7b917f575e4b8f2ec59cd4a4d98c2046e801a735f3136b05742a36a6
-SIZE (grpcio-tools-1.36.1.tar.gz) = 2118932
+TIMESTAMP = 1618022759
+SHA256 (grpcio-tools-1.37.0.tar.gz) = 3ec510c1b6bfc32effc639acf9a055e72dab7a7b6757bf72f2132790d6a7cf1c
+SIZE (grpcio-tools-1.37.0.tar.gz) = 2120358
diff --git a/devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_io_coded__stream.h b/devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_io_coded__stream.h
new file mode 100644
index 000000000000..15283972c1bc
--- /dev/null
+++ b/devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_io_coded__stream.h
@@ -0,0 +1,11 @@
+--- third_party/protobuf/src/google/protobuf/io/coded_stream.h.orig	2021-04-10 02:54:14 UTC
++++ third_party/protobuf/src/google/protobuf/io/coded_stream.h
+@@ -131,7 +131,7 @@
+ #pragma runtime_checks("c", off)
+ #endif
+ #else
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ #include <machine/endian.h>  // __BYTE_ORDER
+ #else
+ #include <endian.h>  // __BYTE_ORDER
diff --git a/devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_stubs_port.h b/devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_stubs_port.h
new file mode 100644
index 000000000000..1c2591d13e2e
--- /dev/null
+++ b/devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_stubs_port.h
@@ -0,0 +1,11 @@
+--- third_party/protobuf/src/google/protobuf/stubs/port.h.orig	2021-04-10 02:52:06 UTC
++++ third_party/protobuf/src/google/protobuf/stubs/port.h
+@@ -57,7 +57,7 @@
+ #pragma runtime_checks("c", off)
+ #endif
+ #else
+-#ifdef __APPLE__
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ #include <machine/endian.h>  // __BYTE_ORDER
+ #else
+ #include <endian.h>  // __BYTE_ORDER


More information about the dev-commits-ports-all mailing list