[106311] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Tue May 21 21:31:53 PDT 2013


Revision: 106311
          https://trac.macports.org/changeset/106311
Author:   ryandesign at macports.org
Date:     2013-05-21 21:31:53 -0700 (Tue, 21 May 2013)
Log Message:
-----------
php-xhprof: update to 0.9.3; add php55 subport

Modified Paths:
--------------
    trunk/dports/php/php-xhprof/Portfile
    trunk/dports/php/php5-xhprof/Portfile

Removed Paths:
-------------
    trunk/dports/php/php-xhprof/files/patch-extension-xhprof.c.diff

Modified: trunk/dports/php/php-xhprof/Portfile
===================================================================
--- trunk/dports/php/php-xhprof/Portfile	2013-05-22 04:25:50 UTC (rev 106310)
+++ trunk/dports/php/php-xhprof/Portfile	2013-05-22 04:31:53 UTC (rev 106311)
@@ -5,14 +5,13 @@
 PortGroup               php 1.1
 
 name                    php-xhprof
-version                 0.9.2
-revision                1
+version                 0.9.3
 categories-append       devel
 platforms               darwin
 maintainers             ryandesign openmaintainer
 license                 Apache-2
 
-php.branches            5.3 5.4
+php.branches            5.3 5.4 5.5
 php.pecl                yes
 php.pecl.prerelease     yes
 
@@ -21,13 +20,11 @@
 long_description        XHProf is a function-level hierarchical profiler for \
                         PHP and has a simple HTML based navigational interface.
 
-checksums               md5     ae40b153d157e6369a32e2c1a59a61ec \
-                        sha1    cef6bfb3374e05c7b7445249a304e066d4fd8574 \
-                        rmd160  93ba97e303c038d1be54c55ecd67c68367e0356a
+checksums               rmd160  badf41ba3e3d3c7255684f37d63e7cea4fcc6201 \
+                        sha256  422c5269de3e3ff281f010584768b7753ceec6a9f4f858a8e171ec43358dbbf3
 
 if {${name} != ${subport}} {
-    patchfiles          patch-callgraph_utils.php.diff \
-                        patch-extension-xhprof.c.diff
+    patchfiles          patch-callgraph_utils.php.diff
     
     post-patch {
         reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/xhprof_lib/utils/callgraph_utils.php

Deleted: trunk/dports/php/php-xhprof/files/patch-extension-xhprof.c.diff
===================================================================
--- trunk/dports/php/php-xhprof/files/patch-extension-xhprof.c.diff	2013-05-22 04:25:50 UTC (rev 106310)
+++ trunk/dports/php/php-xhprof/files/patch-extension-xhprof.c.diff	2013-05-22 04:31:53 UTC (rev 106311)
@@ -1,57 +0,0 @@
-https://bugs.php.net/61674
---- extension/xhprof.c.orig	2009-06-01 12:52:32.000000000 -0500
-+++ extension/xhprof.c	2012-05-16 18:50:06.000000000 -0500
-@@ -28,6 +28,7 @@
- #include "php_ini.h"
- #include "ext/standard/info.h"
- #include "php_xhprof.h"
-+#include "Zend/zend_extensions.h"
- #include <sys/time.h>
- #include <sys/resource.h>
- #include <stdlib.h>
-@@ -883,7 +884,7 @@
- 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;
-@@ -927,7 +928,12 @@
-       /* 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";
-@@ -1645,13 +1651,22 @@
-   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);

Modified: trunk/dports/php/php5-xhprof/Portfile
===================================================================
--- trunk/dports/php/php5-xhprof/Portfile	2013-05-22 04:25:50 UTC (rev 106310)
+++ trunk/dports/php/php5-xhprof/Portfile	2013-05-22 04:31:53 UTC (rev 106311)
@@ -4,8 +4,7 @@
 PortSystem              1.0
 PortGroup               php5extension 1.0
 
-php5extension.setup     xhprof 0.9.2 pecl
-revision                3
+php5extension.setup     xhprof 0.9.3 pecl
 categories-append       devel
 platforms               darwin
 maintainers             ryandesign openmaintainer
@@ -16,10 +15,15 @@
 long_description        XHProf is a function-level hierarchical profiler for \
                         PHP and has a simple HTML based navigational interface.
 
-checksums               md5     ae40b153d157e6369a32e2c1a59a61ec \
-                        sha1    cef6bfb3374e05c7b7445249a304e066d4fd8574 \
-                        rmd160  93ba97e303c038d1be54c55ecd67c68367e0356a
+checksums               rmd160  badf41ba3e3d3c7255684f37d63e7cea4fcc6201 \
+                        sha256  422c5269de3e3ff281f010584768b7753ceec6a9f4f858a8e171ec43358dbbf3
 
+patchfiles-append       patch-callgraph_utils.php.diff
+
+post-patch {
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/xhprof_lib/utils/callgraph_utils.php
+}
+
 php5extension.build_dirs    ${worksrcpath}/extension
 
 use_parallel_build      yes
@@ -34,10 +38,6 @@
 
 variant graphviz description {Build with graphviz, support for callgraphs} {
     depends_run-append      path:bin/dot:graphviz
-    patchfiles-append       patch-callgraph_utils.php.diff
-    post-patch {
-        reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/xhprof_lib/utils/callgraph_utils.php
-    }
 }
 
 livecheck.regex         {>(\d+(?:\.\d+)*(?:p\d+)?)</a></th>}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130521/d3d89dc9/attachment-0001.html>


More information about the macports-changes mailing list