Date: Fri, 6 Nov 2020 11:26:07 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r554226 - head/security/pecl-gnupg/files Message-ID: <202011061126.0A6BQ7Xa095449@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Nov 6 11:26:06 2020 New Revision: 554226 URL: https://svnweb.freebsd.org/changeset/ports/554226 Log: Fix build with PHP 8.0 Added: head/security/pecl-gnupg/files/ head/security/pecl-gnupg/files/patch-phpc-phpc.h (contents, props changed) Added: head/security/pecl-gnupg/files/patch-phpc-phpc.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pecl-gnupg/files/patch-phpc-phpc.h Fri Nov 6 11:26:06 2020 (r554226) @@ -0,0 +1,16 @@ +--- phpc/phpc.h.orig 2016-08-29 19:02:44 UTC ++++ phpc/phpc.h +@@ -29,6 +29,13 @@ + #error "Only PHP 5.2+ supported" + #endif + ++#if PHP_MAJOR_VERSION >= 8 ++#define TSRMLS_C ++#define TSRMLS_CC ++#define TSRMLS_DC ++#define TSRMLS_FETCH() ++#endif ++ + /* no operation */ + #define PHPC_NOOP ((void) 0) +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011061126.0A6BQ7Xa095449>