svn commit: r435510 - head/net/delegate/files

Danilo Egea Gondolfo danilo at FreeBSD.org
Mon Mar 6 01:30:41 UTC 2017


Author: danilo
Date: Mon Mar  6 01:30:40 2017
New Revision: 435510
URL: https://svnweb.freebsd.org/changeset/ports/435510

Log:
  - Fix build with clang 4.0
  
  PR:		216624

Added:
  head/net/delegate/files/patch-src_env.c   (contents, props changed)

Added: head/net/delegate/files/patch-src_env.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/delegate/files/patch-src_env.c	Mon Mar  6 01:30:40 2017	(r435510)
@@ -0,0 +1,11 @@
+--- src/env.c.orig	2017-03-05 22:10:09 UTC
++++ src/env.c
+@@ -2080,7 +2080,7 @@ static void confCGI(Connection *Conn,DYC
+ 	if( *ereq ){
+ 		putenv(ereq);
+ 	}
+-	if( 0 <= esock ){
++	if( esock != NULL ){
+ 		sprintf(esock,"CLSOCK=%d",ClientSock);
+ 		putenv(esock);
+ 	}


More information about the svn-ports-all mailing list