From owner-svn-ports-all@freebsd.org Mon Mar 6 01:30:41 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 824A4CF7775; Mon, 6 Mar 2017 01:30:41 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4660B1FE4; Mon, 6 Mar 2017 01:30:41 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v261UemX072734; Mon, 6 Mar 2017 01:30:40 GMT (envelope-from danilo@FreeBSD.org) Received: (from danilo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v261UepS072733; Mon, 6 Mar 2017 01:30:40 GMT (envelope-from danilo@FreeBSD.org) Message-Id: <201703060130.v261UepS072733@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danilo set sender to danilo@FreeBSD.org using -f From: Danilo Egea Gondolfo Date: Mon, 6 Mar 2017 01:30:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435510 - head/net/delegate/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 01:30:41 -0000 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); + }