diff --git a/archivers/php-horde_lz4/Makefile b/archivers/php-horde_lz4/Makefile index b73e289565ce..11c00072ab1a 100644 --- a/archivers/php-horde_lz4/Makefile +++ b/archivers/php-horde_lz4/Makefile @@ -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} diff --git a/archivers/php-horde_lz4/files/patch-horde__lz4.h b/archivers/php-horde_lz4/files/patch-horde__lz4.h new file mode 100644 index 000000000000..86ed280fee27 --- /dev/null +++ b/archivers/php-horde_lz4/files/patch-horde__lz4.h @@ -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 */