Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2020 07:36:15 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553243 - in head/archivers/php-horde_lz4: . files
Message-ID:  <202010250736.09P7aFEY062114@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010250736.09P7aFEY062114>