pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/grpc
Module Name: pkgsrc
Committed By: jperkin
Date: Tue May 15 15:20:18 UTC 2018
Modified Files:
pkgsrc/net/grpc: distinfo
Added Files:
pkgsrc/net/grpc/patches:
patch-include_grpc_impl_codegen_port__platform.h
patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc
patch-src_core_lib_iomgr_port.h
Log Message:
grpc: Add SunOS support.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/grpc/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h \
pkgsrc/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc \
pkgsrc/net/grpc/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/grpc/distinfo
diff -u pkgsrc/net/grpc/distinfo:1.4 pkgsrc/net/grpc/distinfo:1.5
--- pkgsrc/net/grpc/distinfo:1.4 Fri Apr 27 17:47:27 2018
+++ pkgsrc/net/grpc/distinfo Tue May 15 15:20:17 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2018/04/27 17:47:27 minskim Exp $
+$NetBSD: distinfo,v 1.5 2018/05/15 15:20:17 jperkin Exp $
SHA1 (grpc-1.11.0.tar.gz) = e4ddeb1de8ccc00987a8a12879d0ecbfe9ccb5d6
RMD160 (grpc-1.11.0.tar.gz) = 9d950dee2d00015f72066dd9b83c92b0a4bb81cb
@@ -7,4 +7,7 @@ Size (grpc-1.11.0.tar.gz) = 13431990 byt
SHA1 (patch-CMakeLists.txt) = 3bd2e5bc254a06b03578430eb57ea14c13336219
SHA1 (patch-cmake_benchmark.cmake) = 031873ba9a8cd93d491693feb4d58e52a715cc64
SHA1 (patch-cmake_cares.cmake) = 19324318dce81451bf7a53d0ca5a7e445a751db5
+SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = 7d2630c8940e8de5201cadc67341707608d20aa3
+SHA1 (patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc) = 341b9dd5cc40aa45000eb01b5acb2ad99d705264
SHA1 (patch-src_core_lib_gpr_arena.cc) = 57fdb3de54ce8548fa9b50ea360530c35c3e616c
+SHA1 (patch-src_core_lib_iomgr_port.h) = aedab7c6c9906f332fdee23b9a909944d0f2966d
Added files:
Index: pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h
diff -u /dev/null pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h:1.1
--- /dev/null Tue May 15 15:20:18 2018
+++ pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h Tue May 15 15:20:18 2018
@@ -0,0 +1,33 @@
+$NetBSD: patch-include_grpc_impl_codegen_port__platform.h,v 1.1 2018/05/15 15:20:18 jperkin Exp $
+
+Add SunOS support.
+
+--- include/grpc/impl/codegen/port_platform.h.orig 2018-04-13 18:08:11.000000000 +0000
++++ include/grpc/impl/codegen/port_platform.h
+@@ -307,6 +307,26 @@
+ #else /* _LP64 */
+ #define GPR_ARCH_32 1
+ #endif /* _LP64 */
++#elif defined(__sun)
++#define GPR_PLATFORM_STRING "sunos"
++#define GPR_SUNOS 1
++#define GPR_CPU_POSIX 1
++#define GPR_GCC_ATOMIC 1
++#define GPR_GCC_TLS 1
++#define GPR_POSIX_LOG 1
++#define GPR_POSIX_ENV 1
++#define GPR_POSIX_TMPFILE 1
++#define GPR_POSIX_STRING 1
++#define GPR_POSIX_SUBPROCESS 1
++#define GPR_POSIX_SYNC 1
++#define GPR_POSIX_TIME 1
++#define GPR_GETPID_IN_UNISTD_H 1
++#define GPR_SUPPORT_CHANNELS_FROM_FD 1
++#ifdef _LP64
++#define GPR_ARCH_64 1
++#else /* _LP64 */
++#define GPR_ARCH_32 1
++#endif /* _LP64 */
+ #else
+ #error "Could not auto-detect platform"
+ #endif
Index: pkgsrc/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc
diff -u /dev/null pkgsrc/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc:1.1
--- /dev/null Tue May 15 15:20:18 2018
+++ pkgsrc/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc Tue May 15 15:20:18 2018
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc,v 1.1 2018/05/15 15:20:18 jperkin Exp $
+
+Add SunOS support.
+
+--- src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc.orig 2018-04-13 18:08:11.000000000 +0000
++++ src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc
+@@ -22,6 +22,11 @@
+
+ #include <ares.h>
+ #include <sys/ioctl.h>
++#ifdef __sun
++#include <sys/filio.h>
++#include <unistd.h>
++#include <stropts.h>
++#endif
+
+ #include "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h"
+
Index: pkgsrc/net/grpc/patches/patch-src_core_lib_iomgr_port.h
diff -u /dev/null pkgsrc/net/grpc/patches/patch-src_core_lib_iomgr_port.h:1.1
--- /dev/null Tue May 15 15:20:18 2018
+++ pkgsrc/net/grpc/patches/patch-src_core_lib_iomgr_port.h Tue May 15 15:20:18 2018
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_core_lib_iomgr_port.h,v 1.1 2018/05/15 15:20:18 jperkin Exp $
+
+Add SunOS support.
+
+--- src/core/lib/iomgr/port.h.orig 2018-04-13 18:08:11.000000000 +0000
++++ src/core/lib/iomgr/port.h
+@@ -120,6 +120,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