From owner-svn-ports-head@freebsd.org Thu Nov 3 15:02:37 2016 Return-Path: Delivered-To: svn-ports-head@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 59CB4C2DE37; Thu, 3 Nov 2016 15:02:37 +0000 (UTC) (envelope-from madpilot@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 AD1DE1333; Thu, 3 Nov 2016 15:02:36 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uA3F2ZTB020661; Thu, 3 Nov 2016 15:02:35 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uA3F2ZSl020659; Thu, 3 Nov 2016 15:02:35 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201611031502.uA3F2ZSl020659@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Thu, 3 Nov 2016 15:02:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425228 - in head/www/lighttpd: . 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2016 15:02:37 -0000 Author: madpilot Date: Thu Nov 3 15:02:35 2016 New Revision: 425228 URL: https://svnweb.freebsd.org/changeset/ports/425228 Log: Fix again usage of pipe2(2) in 9.3 PR: 213848 Submitted by: cedric Patch by: Piotr Kubaj (maintainer) Added: head/www/lighttpd/files/patch-src_mod__cgi.c (contents, props changed) Modified: head/www/lighttpd/Makefile Modified: head/www/lighttpd/Makefile ============================================================================== --- head/www/lighttpd/Makefile Thu Nov 3 15:02:29 2016 (r425227) +++ head/www/lighttpd/Makefile Thu Nov 3 15:02:35 2016 (r425228) @@ -3,6 +3,7 @@ PORTNAME?= lighttpd PORTVERSION= 1.4.43 +PORTREVISION= 1 CATEGORIES?= www MASTER_SITES?= http://download.lighttpd.net/lighttpd/releases-1.4.x/ Added: head/www/lighttpd/files/patch-src_mod__cgi.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/lighttpd/files/patch-src_mod__cgi.c Thu Nov 3 15:02:35 2016 (r425228) @@ -0,0 +1,11 @@ +--- src/mod_cgi.c.orig 2016-11-02 13:53:21 UTC ++++ src/mod_cgi.c +@@ -36,7 +36,7 @@ + #include + #include + +-#if defined(O_CLOEXEC) && (!defined(__FreeBSD__) || defined(F_DUPFD_CLOEXEC)) ++#if defined(O_CLOEXEC) && __FreeBSD_version >= 1000032 + #define pipe_cloexec(pipefd) pipe2((pipefd), O_CLOEXEC) + #elif defined FD_CLOEXEC + #define pipe_cloexec(pipefd) \