pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/nginx-devel Fix build on NetBSD.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7de7798d2a7f
branches:  trunk
changeset: 363847:7de7798d2a7f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 17 19:54:47 2017 +0000

description:
Fix build on NetBSD.

diffstat:

 www/nginx-devel/distinfo                                             |   3 +-
 www/nginx-devel/patches/patch-src_os_unix_ngx__udp__sendmsg__chain.c |  14 ++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 94032581a1b0 -r 7de7798d2a7f www/nginx-devel/distinfo
--- a/www/nginx-devel/distinfo  Sat Jun 17 19:53:10 2017 +0000
+++ b/www/nginx-devel/distinfo  Sat Jun 17 19:54:47 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.25 2017/05/02 12:31:43 fhajny Exp $
+$NetBSD: distinfo,v 1.26 2017/06/17 19:54:47 joerg Exp $
 
 SHA1 (array-var-nginx-module-0.04.tar.gz) = 1fd3bdd05c2d1d7667ed6f7baa612ddf7f630df3
 RMD160 (array-var-nginx-module-0.04.tar.gz) = a751a2ce87dcfb88d072779097b4df9f42a415e4
@@ -47,3 +47,4 @@
 SHA1 (patch-auto_install) = 3b3a0f9f4c005b707664554fa57a58c9e3b7de60
 SHA1 (patch-conf_nginx.conf) = ee9fbc3838cc006f6e1cddddadf6603f4941d171
 SHA1 (patch-src_event_modules_ngx__eventport__module.c) = c8e919f48d68bd5bffc4ad11d9c79dc6da3a0de2
+SHA1 (patch-src_os_unix_ngx__udp__sendmsg__chain.c) = c9a4f15a9752deb934f713d6b319c61593ad0247
diff -r 94032581a1b0 -r 7de7798d2a7f www/nginx-devel/patches/patch-src_os_unix_ngx__udp__sendmsg__chain.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/nginx-devel/patches/patch-src_os_unix_ngx__udp__sendmsg__chain.c      Sat Jun 17 19:54:47 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_os_unix_ngx__udp__sendmsg__chain.c,v 1.1 2017/06/17 19:54:47 joerg Exp $
+
+--- src/os/unix/ngx_udp_sendmsg_chain.c.orig   2017-06-16 13:11:29.459922906 +0000
++++ src/os/unix/ngx_udp_sendmsg_chain.c
+@@ -271,7 +271,9 @@ ngx_sendmsg(ngx_connection_t *c, ngx_iov
+ 
+             pkt = (struct in_pktinfo *) CMSG_DATA(cmsg);
+             ngx_memzero(pkt, sizeof(struct in_pktinfo));
++#ifndef __NetBSD__
+             pkt->ipi_spec_dst = sin->sin_addr;
++#endif
+         }
+ 
+ #endif



Home | Main Index | Thread Index | Old Index