pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-grpcio



Module Name:    pkgsrc
Committed By:   leot
Date:           Mon Dec 31 23:03:02 UTC 2018

Modified Files:
        pkgsrc/net/py-grpcio: distinfo
        pkgsrc/net/py-grpcio/patches: patch-src_core_lib_iomgr_port.h

Log Message:
py-grpcio: Add NetBSD support


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-grpcio/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-grpcio/distinfo
diff -u pkgsrc/net/py-grpcio/distinfo:1.3 pkgsrc/net/py-grpcio/distinfo:1.4
--- pkgsrc/net/py-grpcio/distinfo:1.3   Mon Oct 22 15:42:46 2018
+++ pkgsrc/net/py-grpcio/distinfo       Mon Dec 31 23:03:02 2018
@@ -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

Index: pkgsrc/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h
diff -u pkgsrc/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h:1.1 pkgsrc/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h:1.2
--- pkgsrc/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h:1.1    Mon Oct 22 15:42:46 2018
+++ pkgsrc/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h        Mon Dec 31 23:03:02 2018
@@ -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