Date: Wed, 10 May 2006 08:39:19 +0900 (JST) From: KIMURA Yasuhiro <yasu@utahime.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ale@FreeBSD.org Subject: ports/97065: [PATCH] lang/php5: fix compile error on 4.x Message-ID: <20060509233919.88EAB5D@eastasia.home.utahime.org> Resent-Message-ID: <200605092340.k49NeIig083122@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97065 >Category: ports >Synopsis: [PATCH] lang/php5: fix compile error on 4.x >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 09 23:40:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: KIMURA Yasuhiro >Release: FreeBSD 4.11-RELEASE-p17 i386 >Organization: >Environment: System: FreeBSD xxxx 4.11-RELEASE-p17 FreeBSD 4.11-RELEASE-p17 #0: Fri Apr 21 08:04:54 JST 2006 xxxx i386 >Description: Fix compile error of sapi/cgi/fastcgi.c on 4.x. >How-To-Repeat: >Fix: --- patch-php5 begins here --- Index: files/patch-sapi_cgi_fastcgi.c =================================================================== RCS file: files/patch-sapi_cgi_fastcgi.c diff -N files/patch-sapi_cgi_fastcgi.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-sapi_cgi_fastcgi.c 9 May 2006 23:22:03 -0000 @@ -0,0 +1,22 @@ +--- sapi/cgi/fastcgi.c.orig Thu May 4 00:39:16 2006 ++++ sapi/cgi/fastcgi.c Tue May 9 13:06:53 2006 +@@ -633,6 +633,9 @@ + #ifdef _WIN32 + HANDLE pipe; + OVERLAPPED ov; ++#else ++ sa_t sa; ++ socklen_t len; + #endif + fcgi_finish_request(req); + +@@ -669,8 +672,7 @@ + } + FCGI_UNLOCK(req->listen_socket); + #else +- sa_t sa; +- socklen_t len = sizeof(sa); ++ len = sizeof(sa); + + FCGI_LOCK(req->listen_socket); + req->fd = accept(req->listen_socket, (struct sockaddr *)&sa, &len); --- patch-php5 ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060509233919.88EAB5D>