pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/nginx-devel



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sat Jun 17 19:54:47 UTC 2017

Modified Files:
        pkgsrc/www/nginx-devel: distinfo
Added Files:
        pkgsrc/www/nginx-devel/patches:
            patch-src_os_unix_ngx__udp__sendmsg__chain.c

Log Message:
Fix build on NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/www/nginx-devel/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/nginx-devel/patches/patch-src_os_unix_ngx__udp__sendmsg__chain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/nginx-devel/distinfo
diff -u pkgsrc/www/nginx-devel/distinfo:1.25 pkgsrc/www/nginx-devel/distinfo:1.26
--- pkgsrc/www/nginx-devel/distinfo:1.25        Tue May  2 12:31:43 2017
+++ pkgsrc/www/nginx-devel/distinfo     Sat Jun 17 19:54:47 2017
@@ -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 @@ Size (set-misc-nginx-module-0.30.tar.gz)
 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

Added files:

Index: pkgsrc/www/nginx-devel/patches/patch-src_os_unix_ngx__udp__sendmsg__chain.c
diff -u /dev/null pkgsrc/www/nginx-devel/patches/patch-src_os_unix_ngx__udp__sendmsg__chain.c:1.1
--- /dev/null   Sat Jun 17 19:54:47 2017
+++ pkgsrc/www/nginx-devel/patches/patch-src_os_unix_ngx__udp__sendmsg__chain.c Sat Jun 17 19:54:47 2017
@@ -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