archivers/php-horde_lz4: fix build with PHP8
This commit is contained in:
parent
50603a981c
commit
ace28fa10b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553243
2 changed files with 14 additions and 0 deletions
|
@ -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}
|
||||
|
|
13
archivers/php-horde_lz4/files/patch-horde__lz4.h
Normal file
13
archivers/php-horde_lz4/files/patch-horde__lz4.h
Normal file
|
@ -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 */
|
Loading…
Reference in a new issue