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: Support SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8340a7409256
branches:  trunk
changeset: 386522:8340a7409256
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Oct 22 15:42:46 2018 +0000

description:
py-grpcio: Support SunOS.

diffstat:

 net/py-grpcio/distinfo                                |   3 +-
 net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h |  20 +++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r 2af622b7686e -r 8340a7409256 net/py-grpcio/distinfo
--- a/net/py-grpcio/distinfo    Mon Oct 22 15:33:44 2018 +0000
+++ b/net/py-grpcio/distinfo    Mon Oct 22 15:42:46 2018 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.2 2018/08/04 21:56:47 minskim Exp $
+$NetBSD: distinfo,v 1.3 2018/10/22 15:42:46 jperkin 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_python_grpcio_commands.py) = e84c0ddb13d9d9a3d2c90fe93c9db72264176512
diff -r 2af622b7686e -r 8340a7409256 net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-grpcio/patches/patch-src_core_lib_iomgr_port.h     Mon Oct 22 15:42:46 2018 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_core_lib_iomgr_port.h,v 1.1 2018/10/22 15:42:46 jperkin Exp $
+
+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 @@
+ #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
++#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_NACL)
+ #define GRPC_HAVE_ARPA_NAMESER 1
+ #define GRPC_POSIX_NO_SPECIAL_WAKEUP_FD 1



Home | Main Index | Thread Index | Old Index