[93450] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Tue May 22 17:52:44 PDT 2012


Revision: 93450
          https://trac.macports.org/changeset/93450
Author:   ryandesign at macports.org
Date:     2012-05-22 17:52:44 -0700 (Tue, 22 May 2012)
Log Message:
-----------
php-stomp: unified port, adding patch to fix build with php 5.4 (#34507)

Modified Paths:
--------------
    trunk/dports/php/php-stomp/Portfile

Added Paths:
-----------
    trunk/dports/php/php-stomp/
    trunk/dports/php/php-stomp/files/
    trunk/dports/php/php-stomp/files/patch-php_stomp.c.diff

Modified: trunk/dports/php/php-stomp/Portfile
===================================================================
--- trunk/dports/php/php5-stomp/Portfile	2012-05-23 00:43:55 UTC (rev 93449)
+++ trunk/dports/php/php-stomp/Portfile	2012-05-23 00:52:44 UTC (rev 93450)
@@ -2,9 +2,10 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           php5extension 1.0
+PortGroup           php 1.0
 
-php5extension.setup stomp 1.0.3 pecl
+php.setup           stomp 1.0.3 pecl
+php.branches        5.3 5.4
 categories          php devel
 platforms           darwin
 maintainers         freebsd.org:miwi
@@ -17,6 +18,8 @@
 checksums           sha1    a9f1de0b3b3e060346a945f472064b4d7a16b1d4 \
                     rmd160  3d87bd1f8cab129bd17c9dddc6c7997a5c83df64
 
+patchfiles          patch-php_stomp.c.diff
+
 configure.args-append --enable-stomp
 
 use_parallel_build  yes

Added: trunk/dports/php/php-stomp/files/patch-php_stomp.c.diff
===================================================================
--- trunk/dports/php/php-stomp/files/patch-php_stomp.c.diff	                        (rev 0)
+++ trunk/dports/php/php-stomp/files/patch-php_stomp.c.diff	2012-05-23 00:52:44 UTC (rev 93450)
@@ -0,0 +1,12 @@
+https://bugs.php.net/61375
+--- php_stomp.c.orig	2010-10-12 22:28:38.000000000 -0500
++++ php_stomp.c	2012-05-22 19:48:14.000000000 -0500
+@@ -327,7 +327,7 @@
+ }
+ 
+ 	 
+-#if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 3 && PHP_RELEASE_VERSION >= 99) || (PHP_MAJOR_VERSION > 5)
++#if (PHP_MAJOR_VERSION == 5 && (PHP_MINOR_VERSION == 3 && PHP_RELEASE_VERSION >= 99) || PHP_MINOR_VERSION >= 4) || (PHP_MAJOR_VERSION > 5)
+ #define PHP_STOMP_RUNTIME_CACHE 
+ #endif 
+ static zend_object_value php_stomp_new(zend_class_entry *ce TSRMLS_DC)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120522/c11e63e7/attachment.html>


More information about the macports-changes mailing list