pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-grpcio py-grpcio: Add NetBSD support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c97c0181c679
branches:  trunk
changeset: 389411:c97c0181c679
user:      leot <leot%pkgsrc.org@localhost>
date:      Mon Dec 31 23:03:02 2018 +0000

description:
py-grpcio: Add NetBSD support

diffstat:

 net/py-grpcio/distinfo                                |   4 ++--
 net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h |  16 ++++++++++++++--
 2 files changed, 16 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r 76ab590ac0ce -r c97c0181c679 net/py-grpcio/distinfo
--- a/net/py-grpcio/distinfo    Mon Dec 31 23:00:08 2018 +0000
+++ b/net/py-grpcio/distinfo    Mon Dec 31 23:03:02 2018 +0000
@@ -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 -r 76ab590ac0ce -r c97c0181c679 net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h
--- a/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h     Mon Dec 31 23:00:08 2018 +0000
+++ b/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h     Mon Dec 31 23:03:02 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index