ports/145729: [PATCH] www/pecl-APC: update to 3.1.3 (beta)
Joe Horn
joehorn at gmail.com
Thu Apr 15 17:10:01 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list