diff --git a/devel/py-grpcio-tools/Makefile b/devel/py-grpcio-tools/Makefile index 0deb8be1330f2..9c1659a5ae455 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 39443485cb038..5c454cba5fb90 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 0000000000000..15283972c1bc1 --- /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 // __BYTE_ORDER + #else + #include // __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 0000000000000..1c2591d13e2ed --- /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 // __BYTE_ORDER + #else + #include // __BYTE_ORDER