aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/pecl-lzf/files/patch-lzf.c
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/files/patch-lzf.c
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/files/patch-lzf.c')
-rw-r--r--archivers/pecl-lzf/files/patch-lzf.c11
1 files changed, 11 insertions, 0 deletions
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)