From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 15 17:10:01 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9968106566C for ; Thu, 15 Apr 2010 17:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 84E578FC1A for ; Thu, 15 Apr 2010 17:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3FHA1DU071632 for ; Thu, 15 Apr 2010 17:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3FHA1pO071631; Thu, 15 Apr 2010 17:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 15 Apr 2010 17:10:01 GMT Resent-Message-Id: <201004151710.o3FHA1pO071631@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joe Horn Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3250A106566B; Thu, 15 Apr 2010 17:03:28 +0000 (UTC) (envelope-from root@Leo.mi.chu.edu.tw) Received: from Leo.mi.chu.edu.tw (Leo.mi.chu.edu.tw [140.126.143.63]) by mx1.freebsd.org (Postfix) with ESMTP id 913848FC19; Thu, 15 Apr 2010 17:03:27 +0000 (UTC) Received: from Leo.mi.chu.edu.tw (localhost [127.0.0.1]) by Leo.mi.chu.edu.tw (Postfix) with ESMTP id C0F594DFC24; Fri, 16 Apr 2010 01:03:25 +0800 (CST) Received: from Leo.mi.chu.edu.tw ([127.0.0.1]) by Leo.mi.chu.edu.tw (Leo.mi.chu.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ROGcp2Uki0Bu; Fri, 16 Apr 2010 01:03:15 +0800 (CST) Received: by Leo.mi.chu.edu.tw (Postfix, from userid 0) id D8D3C4DFC1F; Fri, 16 Apr 2010 01:03:15 +0800 (CST) Message-Id: <20100415170315.D8D3C4DFC1F@Leo.mi.chu.edu.tw> Date: Fri, 16 Apr 2010 01:03:15 +0800 (CST) From: Joe Horn To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: mnag@FreeBSD.org Subject: ports/145729: [PATCH] www/pecl-APC: update to 3.1.3 (beta) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2010 17:10:01 -0000 >Number: 145729 >Category: ports >Synopsis: [PATCH] www/pecl-APC: update to 3.1.3 (beta) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Apr 15 17:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Joe Horn >Release: FreeBSD 8.0-RELEASE-p2 amd64 >Organization: Taiwanese User >Environment: System: FreeBSD joehorn.idv.tw 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Fri Jan 8 23:08:25 CST >Description: - Update to 3.1.3 (beta) Notice: - Current version (3.0.19) in ports tree couldn't works on PHP 5.3 - Bump PORTREVISION for official version 3.1.3p1 - I didn't test if this version (3.1.3p1) could work on PHP 4.x Removed file(s): - files/patch-php_apc.c Port maintainer (mnag@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- pecl-APC-3.1.3_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/pecl-APC/Makefile /home/admin/joehorn/pecl-APC/Makefile --- /usr/ports/www/pecl-APC/Makefile 2009-03-25 12:18:42.000000000 +0800 +++ /home/admin/joehorn/pecl-APC/Makefile 2010-04-15 23:56:27.000000000 +0800 @@ -6,7 +6,9 @@ # PORTNAME= APC -DISTVERSION= 3.0.19 +PORTVERSION= 3.1.3 +DISTVERSIONSUFFIX= p1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- @@ -51,6 +53,10 @@ CONFIGURE_ARGS+= --enable-apc-filehits .endif +.if ${PHP_VER} == 5 +CFLAGS+= -I${LOCALBASE}/include +.endif + .if defined(WITH_PHP4_OPT) .if ${PHP_VER} == 4 .if exists(${LOCALBASE}/include/apache/httpd.h) diff -ruN --exclude=CVS /usr/ports/www/pecl-APC/distinfo /home/admin/joehorn/pecl-APC/distinfo --- /usr/ports/www/pecl-APC/distinfo 2008-06-10 06:05:04.000000000 +0800 +++ /home/admin/joehorn/pecl-APC/distinfo 2010-04-15 23:14:39.000000000 +0800 @@ -1,3 +1,3 @@ -MD5 (PECL/APC-3.0.19.tgz) = 951f43d2873e3572f5d5ae71a9b66f90 -SHA256 (PECL/APC-3.0.19.tgz) = a02677a7884361d64fbf3745c402f2a6ff313e817b0d0a2010acb64cd05247b0 -SIZE (PECL/APC-3.0.19.tgz) = 115735 +MD5 (PECL/APC-3.1.3p1.tgz) = 941cf59c3f8042c1d6961b7afb1002b9 +SHA256 (PECL/APC-3.1.3p1.tgz) = 9e4e3163baf697bf0fba7bc3993f112c375f0ab2b40bba325d7109999ae4d28d +SIZE (PECL/APC-3.1.3p1.tgz) = 142277 diff -ruN --exclude=CVS /usr/ports/www/pecl-APC/files/patch-apc_sem.c /home/admin/joehorn/pecl-APC/files/patch-apc_sem.c --- /usr/ports/www/pecl-APC/files/patch-apc_sem.c 2008-01-25 11:01:54.000000000 +0800 +++ /home/admin/joehorn/pecl-APC/files/patch-apc_sem.c 2010-04-16 00:08:58.000000000 +0800 @@ -1,12 +1,12 @@ # # Fix http://pecl.php.net/bugs/bug.php?id=5280 # ---- apc_sem.c.orig 2008-01-25 00:32:24.000000000 -0200 -+++ apc_sem.c 2008-01-25 00:35:28.000000000 -0200 -@@ -82,12 +82,16 @@ +--- apc_sem.c.orig 2010-04-15 23:20:55.000000000 +0800 ++++ apc_sem.c 2010-04-15 23:22:24.000000000 +0800 +@@ -85,12 +85,16 @@ } } - + - if ((semid = semget(key, 1, IPC_CREAT | IPC_EXCL | perms)) >= 0) { + if ((semid = semget(key, 2, IPC_CREAT | IPC_EXCL | perms)) >= 0) { /* sempahore created for the first time, initialize now */ @@ -21,7 +21,7 @@ } else if (errno == EEXIST) { /* sempahore already exists, don't initialize */ -@@ -107,7 +111,10 @@ +@@ -110,7 +114,10 @@ { /* we expect this call to fail often, so we do not check */ union semun arg; diff -ruN --exclude=CVS /usr/ports/www/pecl-APC/files/patch-php_apc.c /home/admin/joehorn/pecl-APC/files/patch-php_apc.c --- /usr/ports/www/pecl-APC/files/patch-php_apc.c 2010-04-13 04:46:29.000000000 +0800 +++ /home/admin/joehorn/pecl-APC/files/patch-php_apc.c 1970-01-01 08:00:00.000000000 +0800 @@ -1,10 +0,0 @@ ---- ./php_apc.c.orig 2010-04-12 16:41:50.000000000 -0400 -+++ ./php_apc.c 2010-04-12 16:41:56.000000000 -0400 -@@ -955,7 +955,6 @@ - - #ifdef ZEND_ENGINE_2 - /* {{{ arginfo */ --static - ZEND_BEGIN_ARG_INFO(php_apc_fetch_arginfo, 0) - ZEND_ARG_INFO(0, "key") - ZEND_ARG_INFO(1, "success") --- pecl-APC-3.1.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: