summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2018-12-31 23:03:02 +0000
committerleot <leot@pkgsrc.org>2018-12-31 23:03:02 +0000
commit3934580ea7fc9220dc4a963a942ce89712e6d003 (patch)
tree5ecbd42c6bc290cf48b7c80896a9624315e71304 /net
parent2ea88669476a5140b7541b03100acd7fe703e96f (diff)
downloadpkgsrc-3934580ea7fc9220dc4a963a942ce89712e6d003.tar.gz
py-grpcio: Add NetBSD support
Diffstat (limited to 'net')
-rw-r--r--net/py-grpcio/distinfo4
-rw-r--r--net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h16
2 files changed, 16 insertions, 4 deletions
diff --git a/net/py-grpcio/distinfo b/net/py-grpcio/distinfo
index 8dca2c70b1e..7c97681c008 100644
--- a/net/py-grpcio/distinfo
+++ b/net/py-grpcio/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2018/10/22 15:42:46 jperkin Exp $
+$NetBSD: distinfo,v 1.4 2018/12/31 23:03:02 leot Exp $
SHA1 (grpcio-1.13.0.tar.gz) = 4ea6933da54b1628c65e3907134c805fa9d2d640
RMD160 (grpcio-1.13.0.tar.gz) = 829e7b0a0004738a90852e7f4c67d617a51df6b7
SHA512 (grpcio-1.13.0.tar.gz) = 4263c027d123332967692df467f01cb3b84acb3721eab7ae421a8ad79850cf00d0abca306ad6ff16acc95f1599c9c219a6c137e934f07f91ef1a11ce66b04545
Size (grpcio-1.13.0.tar.gz) = 14320631 bytes
SHA1 (patch-setup.py) = 383ea9fc9067b84a6eb08edd99cb9e9062724744
-SHA1 (patch-src_core_lib_iomgr_port.h) = 9711a12fee99d96510d6c03bc76c37f4f526f517
+SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a
SHA1 (patch-src_python_grpcio_commands.py) = e84c0ddb13d9d9a3d2c90fe93c9db72264176512
diff --git a/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h b/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h
index bc54a5645c2..46e4b91aff5 100644
--- a/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h
+++ b/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h
@@ -1,13 +1,25 @@
-$NetBSD: patch-src_core_lib_iomgr_port.h,v 1.1 2018/10/22 15:42:46 jperkin Exp $
+$NetBSD: patch-src_core_lib_iomgr_port.h,v 1.2 2018/12/31 23:03:02 leot Exp $
+Support NetBSD.
Support SunOS.
--- src/core/lib/iomgr/port.h.orig 2018-06-28 00:44:17.000000000 +0000
+++ src/core/lib/iomgr/port.h
-@@ -139,6 +139,13 @@
+@@ -139,6 +139,24 @@
#define GRPC_POSIX_SOCKET 1
#define GRPC_POSIX_SOCKETUTILS 1
#define GRPC_POSIX_WAKEUP_FD 1
++#elif defined(GPR_NETBSD)
++#define GRPC_HAVE_ARPA_NAMESER 1
++#define GRPC_HAVE_IFADDRS 1
++#define GRPC_HAVE_IPV6_RECVPKTINFO 1
++#define GRPC_HAVE_SO_NOSIGPIPE 1
++#define GRPC_HAVE_UNIX_SOCKET 1
++#define GRPC_POSIX_FORK 1
++#define GRPC_POSIX_NO_SPECIAL_WAKEUP_FD 1
++#define GRPC_POSIX_SOCKET 1
++#define GRPC_POSIX_SOCKETUTILS 1
++#define GRPC_POSIX_WAKEUP_FD 1
+#elif defined(GPR_SUNOS)
+#define GRPC_HAVE_UNIX_SOCKET 1
+#define GRPC_POSIX_FORK 1