aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/pecl-lzf
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-06-09 22:48:58 +0800
committermiwi <miwi@FreeBSD.org>2012-06-09 22:48:58 +0800
commit4368c94f05de1f311f22f546ac09ca0248f87c95 (patch)
treebdb9906af2ad81812c150ea3b43929d271126048 /archivers/pecl-lzf
parent9bbceaf129118f0985a125dc7af866cd852bce62 (diff)
downloadfreebsd-ports-gnome-4368c94f05de1f311f22f546ac09ca0248f87c95.tar.gz
freebsd-ports-gnome-4368c94f05de1f311f22f546ac09ca0248f87c95.tar.zst
freebsd-ports-gnome-4368c94f05de1f311f22f546ac09ca0248f87c95.zip
- Fix build for php54
PR: 168741 Submitted by: Valery Komarov <komarov@valerka.net>
Diffstat (limited to 'archivers/pecl-lzf')
-rw-r--r--archivers/pecl-lzf/Makefile3
-rw-r--r--archivers/pecl-lzf/files/patch-lzf.c11
2 files changed, 12 insertions, 2 deletions
diff --git a/archivers/pecl-lzf/Makefile b/archivers/pecl-lzf/Makefile
index 4868def1987c..394519ee097c 100644
--- a/archivers/pecl-lzf/Makefile
+++ b/archivers/pecl-lzf/Makefile
@@ -7,6 +7,7 @@
PORTNAME= lzf
PORTVERSION= 1.5.2
+PORTREVISION= 1
CATEGORIES= archivers pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@@ -18,8 +19,6 @@ COMMENT= Handles LZF de/compression
USE_PHP= yes
USE_PHPEXT= yes
-DEFAULT_PHP_VER=53
-IGNORE_WITH_PHP=5
CONFIGURE_ARGS= --enable-lzf
WRKSRC= ${WRKDIR}/${DISTNAME:U}
diff --git a/archivers/pecl-lzf/files/patch-lzf.c b/archivers/pecl-lzf/files/patch-lzf.c
new file mode 100644
index 000000000000..2c9d46bd1f4b
--- /dev/null
+++ b/archivers/pecl-lzf/files/patch-lzf.c
@@ -0,0 +1,11 @@
+--- ./lzf.c.orig 2009-03-02 17:53:17.000000000 +0300
++++ ./lzf.c 2012-06-06 10:11:48.202502799 +0400
+@@ -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)