[93652] trunk/dports/php

ryandesign at macports.org ryandesign at macports.org
Sun May 27 22:33:43 PDT 2012


Revision: 93652
          https://trac.macports.org/changeset/93652
Author:   ryandesign at macports.org
Date:     2012-05-27 22:33:42 -0700 (Sun, 27 May 2012)
Log Message:
-----------
php-lzf: unified port; add upstream patch for php 5.4 (#34507)

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

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

Modified: trunk/dports/php/php-lzf/Portfile
===================================================================
--- trunk/dports/php/php5-lzf/Portfile	2012-05-25 21:53:07 UTC (rev 93529)
+++ trunk/dports/php/php-lzf/Portfile	2012-05-28 05:33:42 UTC (rev 93652)
@@ -2,13 +2,18 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           php5extension 1.0
+PortGroup           php 1.1
 
-php5extension.setup lzf 1.5.2 pecl
+name                php-lzf
+version             1.5.2
+revision            1
 categories          php devel
 platforms           darwin
 maintainers         freebsd.org:miwi
 
+php.branches        5.3 5.4
+php.pecl            yes
+
 description         Handles LZF compression / decompression.
 
 long_description    ${description}
@@ -16,6 +21,8 @@
 checksums           sha1    f9c1d4b70cfda28b46352ff410fae059dd844e41 \
                     rmd160  c4c579abb0bd0c0866f4c0f0a8a64a5505137c9a
 
+patchfiles          patch-lzf.c.diff
+
 configure.args-append --enable-lzf
 
 use_parallel_build  yes

Added: trunk/dports/php/php-lzf/files/patch-lzf.c.diff
===================================================================
--- trunk/dports/php/php-lzf/files/patch-lzf.c.diff	                        (rev 0)
+++ trunk/dports/php/php-lzf/files/patch-lzf.c.diff	2012-05-28 05:33:42 UTC (rev 93652)
@@ -0,0 +1,12 @@
+http://svn.php.net/viewvc?view=revision&revision=297236
+--- lzf.c.orig	2009/03/02 14:59:25	276683
++++ lzf.c	2010/03/31 20:39:48	297236
+@@ -37,7 +37,7 @@
+ *
+ * Every user visible function must have an entry in lzf_functions[].
+ */
+-function_entry lzf_functions[] = {
++zend_function_entry lzf_functions[] = {
+ 	PHP_FE(lzf_compress,		NULL)
+ 	PHP_FE(lzf_decompress,		NULL)
+ 	PHP_FE(lzf_optimized_for,	NULL)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120527/d6bd8ad6/attachment.html>


More information about the macports-changes mailing list