svn commit: r554226 - head/security/pecl-gnupg/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Nov 6 11:26:09 UTC 2020
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)
+
More information about the svn-ports-all
mailing list