From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 13 10:50:03 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 467F4CA8 for ; Wed, 13 Nov 2013 10:50:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 27CB02640 for ; Wed, 13 Nov 2013 10:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rADAo2DX044188 for ; Wed, 13 Nov 2013 10:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rADAo2Z8044187; Wed, 13 Nov 2013 10:50:02 GMT (envelope-from gnats) Resent-Date: Wed, 13 Nov 2013 10:50:02 GMT Resent-Message-Id: <201311131050.rADAo2Z8044187@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, Hung-Yi Chen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B7E85C98 for ; Wed, 13 Nov 2013 10:49:12 +0000 (UTC) Received: from cse.tw (cse.tw [140.138.145.234]) by mx1.freebsd.org (Postfix) with ESMTP id 4B89B2639 for ; Wed, 13 Nov 2013 10:49:12 +0000 (UTC) Received: by cse.tw (Postfix, from userid 125) id 71340187B38E; Wed, 13 Nov 2013 18:54:04 +0800 (CST) Received: from cse.tw (localhost [127.0.0.1]) by cse.tw (Postfix) with ESMTP id 5200F187B324; Wed, 13 Nov 2013 18:48:38 +0800 (CST) Received: (from gaod@localhost) by cse.tw (8.14.5/8.14.5/Submit) id rADAmbxs062518; Wed, 13 Nov 2013 18:48:37 +0800 (CST) (envelope-from gaod) Message-Id: <201311131048.rADAmbxs062518@cse.tw> Date: Wed, 13 Nov 2013 18:48:37 +0800 (CST) From: Hung-Yi Chen To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/183922: [PATCH] devel/pecl-xhprof: update to 0.9.4 Cc: ports@mcdermottroe.com X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 10:50:03 -0000 >Number: 183922 >Category: ports >Synopsis: [PATCH] devel/pecl-xhprof: update to 0.9.4 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Nov 13 10:50:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Hung-Yi Chen >Release: FreeBSD 9.1-RELEASE-p6 amd64 >Organization: >Environment: System: FreeBSD cse.tw 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013 >Description: - Update to 0.9.4 Port maintainer (ports@mcdermottroe.com) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports) >How-To-Repeat: >Fix: --- pecl-xhprof-0.9.4.patch begins here --- diff -ruN /usr/ports/devel/pecl-xhprof/Makefile ./Makefile --- /usr/ports/devel/pecl-xhprof/Makefile 2013-09-21 01:13:42.000000000 +0800 +++ ./Makefile 2013-11-13 18:40:35.000000000 +0800 @@ -2,8 +2,7 @@ # $FreeBSD: devel/pecl-xhprof/Makefile 327724 2013-09-20 17:13:42Z bapt $ PORTNAME= xhprof -PORTVERSION= 0.9.2 -PORTREVISION= 1 +PORTVERSION= 0.9.4 CATEGORIES= devel pear MASTER_SITES= http://pecl.php.net/get/ PKGNAMEPREFIX= pecl- diff -ruN /usr/ports/devel/pecl-xhprof/distinfo ./distinfo --- /usr/ports/devel/pecl-xhprof/distinfo 2012-07-14 21:54:48.000000000 +0800 +++ ./distinfo 2013-11-13 18:40:45.000000000 +0800 @@ -1,2 +1,2 @@ -SHA256 (xhprof-0.9.2.tgz) = 5359ea0a1e16ec6c100dd7adb7285bdcc0f931e0b61631ea364f8b06925ea729 -SIZE (xhprof-0.9.2.tgz) = 931660 +SHA256 (xhprof-0.9.4.tgz) = 002a2d4a825d16aeb3017c59f94d8c5e5d06611dd6197acd2f07fce197d3b8f8 +SIZE (xhprof-0.9.4.tgz) = 842077 diff -ruN /usr/ports/devel/pecl-xhprof/files/patch-extension_xhprof.c ./files/patch-extension_xhprof.c --- /usr/ports/devel/pecl-xhprof/files/patch-extension_xhprof.c 1970-01-01 08:00:00.000000000 +0800 +++ ./files/patch-extension_xhprof.c 2013-11-13 18:44:31.000000000 +0800 @@ -0,0 +1,11 @@ +--- xhprof.c.orig 2013-11-13 18:41:35.000000000 +0800 ++++ xhprof.c 2013-11-13 18:43:37.000000000 +0800 +@@ -28,7 +28,7 @@ + #include "php_ini.h" + #include "ext/standard/info.h" + #include "php_xhprof.h" +-#include "zend_extensions.h" ++#include "Zend/zend_extensions.h" + #include + #include + #include diff -ruN /usr/ports/devel/pecl-xhprof/files/patch-xhprof.c ./files/patch-xhprof.c --- /usr/ports/devel/pecl-xhprof/files/patch-xhprof.c 2012-07-14 21:54:48.000000000 +0800 +++ ./files/patch-xhprof.c 1970-01-01 08:00:00.000000000 +0800 @@ -1,56 +0,0 @@ ---- xhprof.c -+++ xhprof.c -@@ -28,6 +28,7 @@ - #include "php_ini.h" - #include "ext/standard/info.h" - #include "php_xhprof.h" -+#include "Zend/zend_extensions.h" - #include - #include - #include -@@ -898,7 +899,7 @@ static char *hp_get_base_filename(char *filename) { - static char *hp_get_function_name(zend_op_array *ops TSRMLS_DC) { - zend_execute_data *data; - char *func = NULL; -- char *cls = NULL; -+ const char *cls = NULL; - char *ret = NULL; - int len; - zend_function *curr_func; -@@ -942,7 +943,12 @@ static char *hp_get_function_name(zend_op_array *ops TSRMLS_DC) { - /* we are dealing with a special directive/function like - * include, eval, etc. - */ -+#if ZEND_EXTENSION_API_NO >= 220100525 -+ curr_op = data->opline->extended_value; -+#else - curr_op = data->opline->op2.u.constant.value.lval; -+#endif -+ - switch (curr_op) { - case ZEND_EVAL: - func = "eval"; -@@ -1660,13 +1666,22 @@ ZEND_DLEXPORT void hp_execute_internal(zend_execute_data *execute_data, - if (!_zend_execute_internal) { - /* no old override to begin with. so invoke the builtin's implementation */ - zend_op *opline = EX(opline); -+#if ZEND_EXTENSION_API_NO >= 220100525 -+ temp_variable *retvar = &EX_T(opline->result.var); -+ ((zend_internal_function *) EX(function_state).function)->handler( -+ opline->extended_value, -+ retvar->var.ptr, -+ (EX(function_state).function->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) ? -+ &retvar->var.ptr:NULL, -+ EX(object), ret TSRMLS_CC); -+#else - ((zend_internal_function *) EX(function_state).function)->handler( - opline->extended_value, - EX_T(opline->result.u.var).var.ptr, - EX(function_state).function->common.return_reference ? - &EX_T(opline->result.u.var).var.ptr:NULL, - EX(object), ret TSRMLS_CC); -- -+#endif - } else { - /* call the old override */ - _zend_execute_internal(execute_data, ret TSRMLS_CC); --- pecl-xhprof-0.9.4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: