pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/grpc grpc: Include sys/types.h before netinet.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7d3d4ea92e0
branches:  trunk
changeset: 379411:a7d3d4ea92e0
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon May 16 08:47:19 2022 +0000

description:
grpc: Include sys/types.h before netinet.

diffstat:

 net/grpc/distinfo                                                   |   3 +-
 net/grpc/patches/patch-src_core_lib_iomgr_sockaddr__utils__posix.cc |  24 ++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r e4f11bc492cc -r a7d3d4ea92e0 net/grpc/distinfo
--- a/net/grpc/distinfo Mon May 16 08:22:07 2022 +0000
+++ b/net/grpc/distinfo Mon May 16 08:47:19 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.56 2022/05/13 07:35:53 adam Exp $
+$NetBSD: distinfo,v 1.57 2022/05/16 08:47:19 jperkin Exp $
 
 BLAKE2s (grpc-1.46.1.tar.gz) = 350dcf792426a63ed4e1e96c462fb3d00f0ed7df524475382859e57c3e0fae22
 SHA512 (grpc-1.46.1.tar.gz) = 8598708beaf14523c0a9e18f9a5a78d49b2406e3641f7b956a5b61de7ab3e2088c4ac3780fd20d0a84da6bfa1af45f6a0023ffa9761ffad46f5aee0fba3e0eae
@@ -8,3 +8,4 @@
 SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = a9d2f116c941d1ed23b18f25cf4fb638ed004181
 SHA1 (patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc) = 0aa7fcadae98d1dd5229f0a695cffc1e9c1e8164
 SHA1 (patch-src_core_lib_iomgr_port.h) = 21275c54771f91e7fa34629827343169024c0df0
+SHA1 (patch-src_core_lib_iomgr_sockaddr__utils__posix.cc) = f4b21499e245244d9ba2ecf1476c7e33eb5cb087
diff -r e4f11bc492cc -r a7d3d4ea92e0 net/grpc/patches/patch-src_core_lib_iomgr_sockaddr__utils__posix.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/grpc/patches/patch-src_core_lib_iomgr_sockaddr__utils__posix.cc       Mon May 16 08:47:19 2022 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-src_core_lib_iomgr_sockaddr__utils__posix.cc,v 1.1 2022/05/16 08:47:19 jperkin Exp $
+
+Include sys/types.h before netinet.
+
+--- src/core/lib/iomgr/sockaddr_utils_posix.cc.orig    2022-05-10 07:13:09.000000000 +0000
++++ src/core/lib/iomgr/sockaddr_utils_posix.cc
+@@ -23,6 +23,8 @@
+ #ifdef GRPC_POSIX_SOCKET_UTILS_COMMON
+ 
+ #include "src/core/lib/iomgr/socket_utils.h"
++#include <sys/types.h>
++#include <sys/socket.h>
+ #ifdef GRPC_LINUX_TCP_H
+ #include <linux/tcp.h>
+ #else
+@@ -30,8 +32,6 @@
+ #endif
+ #include <stdio.h>
+ #include <string.h>
+-#include <sys/socket.h>
+-#include <sys/types.h>
+ #include <unistd.h>
+ 
+ #include <string>



Home | Main Index | Thread Index | Old Index