svn commit: r553243 - in head/archivers/php-horde_lz4: . files
Martin Matuska
mm at FreeBSD.org
Sun Oct 25 07:36:15 UTC 2020
Author: mm
Date: Sun Oct 25 07:36:14 2020
New Revision: 553243
URL: https://svnweb.freebsd.org/changeset/ports/553243
Log:
archivers/php-horde_lz4: fix build with PHP8
Added:
head/archivers/php-horde_lz4/files/
head/archivers/php-horde_lz4/files/patch-horde__lz4.h (contents, props changed)
Modified:
head/archivers/php-horde_lz4/Makefile
Modified: head/archivers/php-horde_lz4/Makefile
==============================================================================
--- head/archivers/php-horde_lz4/Makefile Sun Oct 25 07:24:17 2020 (r553242)
+++ head/archivers/php-horde_lz4/Makefile Sun Oct 25 07:36:14 2020 (r553243)
@@ -3,6 +3,7 @@
PORTNAME= horde_lz4
PORTVERSION= 1.0.10
+PORTREVISION= 1
CATEGORIES= archivers pear
MASTER_SITES= http://pear.horde.org/get/
PKGNAMEPREFIX= ${PECL_PKGNAMEPREFIX}
Added: head/archivers/php-horde_lz4/files/patch-horde__lz4.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/php-horde_lz4/files/patch-horde__lz4.h Sun Oct 25 07:36:14 2020 (r553243)
@@ -0,0 +1,13 @@
+--- horde_lz4.h.orig 2020-10-25 07:33:13 UTC
++++ horde_lz4.h
+@@ -30,4 +30,10 @@ typedef size_t strsize;
+ #define HORDE_LZ4_RETSTRL(a,l) RETURN_STRINGL(a,l)
+ #endif
+
++#if ZEND_MODULE_API_NO >= 20190128
++#ifndef TSRMLS_CC
++#define TSRMLS_CC
++#endif
++#endif
++
+ #endif /* PHP_HORDE_LZ4_H */
More information about the svn-ports-all
mailing list