aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2021-04-10 03:20:33 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2021-04-10 03:20:33 +0000
commit2136ed0e30e345a9a864b29e8d91561906c86ae4 (patch)
tree6ec3cbffa0d6e792b62e07b5dce1f513e97670c0
parent0faef6d37fca1f6df466bff7629e6396b02300c3 (diff)
downloadports-2136ed0e30e345a9a864b29e8d91561906c86ae4.tar.gz
ports-2136ed0e30e345a9a864b29e8d91561906c86ae4.zip
Update to 1.37.0.
-rw-r--r--devel/py-grpcio-tools/Makefile2
-rw-r--r--devel/py-grpcio-tools/distinfo6
-rw-r--r--devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_io_coded__stream.h11
-rw-r--r--devel/py-grpcio-tools/files/patch-third__party_protobuf_src_google_protobuf_stubs_port.h11
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