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:   leot
Date:           Mon Dec 31 23:00:08 UTC 2018

Modified Files:
        pkgsrc/net/grpc: distinfo
        pkgsrc/net/grpc/patches:
            patch-include_grpc_impl_codegen_port__platform.h
            patch-src_core_lib_iomgr_port.h

Log Message:
grpc: Add NetBSD support


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/grpc/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h \
    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.6 pkgsrc/net/grpc/distinfo:1.7
--- pkgsrc/net/grpc/distinfo:1.6        Sat Aug  4 21:25:58 2018
+++ pkgsrc/net/grpc/distinfo    Mon Dec 31 23:00:08 2018
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2018/08/04 21:25:58 minskim Exp $
+$NetBSD: distinfo,v 1.7 2018/12/31 23:00:08 leot Exp $
 
 SHA1 (grpc-1.13.1.tar.gz) = 57e1029fa40bd9defe57b5d9c1c69cdaa46fd5d1
 RMD160 (grpc-1.13.1.tar.gz) = e983b73f5df133a1d3db0de9ae1297eca11c5329
@@ -7,7 +7,7 @@ Size (grpc-1.13.1.tar.gz) = 13757818 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-include_grpc_impl_codegen_port__platform.h) = 18e213ffc4875b736a6a895a4d56cccc2b66c660
 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
+SHA1 (patch-src_core_lib_iomgr_port.h) = e3c5e6ee071557c717df0a1a61597f9906fbeff5

Index: pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h
diff -u pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h:1.1 pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h:1.2
--- pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h:1.1        Tue May 15 15:20:18 2018
+++ pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h    Mon Dec 31 23:00:08 2018
@@ -1,10 +1,41 @@
-$NetBSD: patch-include_grpc_impl_codegen_port__platform.h,v 1.1 2018/05/15 15:20:18 jperkin Exp $
+$NetBSD: patch-include_grpc_impl_codegen_port__platform.h,v 1.2 2018/12/31 23:00:08 leot Exp $
 
+Add NetBSD support.
 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.orig     2018-07-12 14:40:09.000000000 +0000
 +++ include/grpc/impl/codegen/port_platform.h
-@@ -307,6 +307,26 @@
+@@ -282,6 +282,29 @@
+ #else /* _LP64 */
+ #define GPR_ARCH_32 1
+ #endif /* _LP64 */
++#elif defined(__NetBSD__)
++#define GPR_PLATFORM_STRING "netbsd"
++#ifndef _BSD_SOURCE
++#define _BSD_SOURCE
++#endif
++#define GPR_NETBSD 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 */
+ #elif defined(__native_client__)
+ #define GPR_PLATFORM_STRING "nacl"
+ #ifndef _BSD_SOURCE
+@@ -310,6 +333,26 @@
  #else /* _LP64 */
  #define GPR_ARCH_32 1
  #endif /* _LP64 */
Index: pkgsrc/net/grpc/patches/patch-src_core_lib_iomgr_port.h
diff -u pkgsrc/net/grpc/patches/patch-src_core_lib_iomgr_port.h:1.1 pkgsrc/net/grpc/patches/patch-src_core_lib_iomgr_port.h:1.2
--- pkgsrc/net/grpc/patches/patch-src_core_lib_iomgr_port.h:1.1 Tue May 15 15:20:18 2018
+++ pkgsrc/net/grpc/patches/patch-src_core_lib_iomgr_port.h     Mon Dec 31 23:00:08 2018
@@ -1,13 +1,25 @@
-$NetBSD: patch-src_core_lib_iomgr_port.h,v 1.1 2018/05/15 15:20:18 jperkin Exp $
+$NetBSD: patch-src_core_lib_iomgr_port.h,v 1.2 2018/12/31 23:00:08 leot Exp $
 
+Add NetBSD support.
 Add SunOS support.
 
---- src/core/lib/iomgr/port.h.orig     2018-04-13 18:08:11.000000000 +0000
+--- src/core/lib/iomgr/port.h.orig     2018-07-12 14:40:09.000000000 +0000
 +++ src/core/lib/iomgr/port.h
-@@ -120,6 +120,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