Date: Fri, 6 Nov 2020 11:37:16 +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: r554287 - head/databases/pecl-memcached/files Message-ID: <202011061137.0A6BbG7Q008756@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Nov 6 11:37:16 2020 New Revision: 554287 URL: https://svnweb.freebsd.org/changeset/ports/554287 Log: Fix build with PHP 8.0 PR: 250528 Submitted by: fluffy Obtained from: https://github.com/php-memcached-dev/php-memcached/commit/c94e014da53cc8a3d0510402f36bc6e5e17bf608 Added: head/databases/pecl-memcached/files/ head/databases/pecl-memcached/files/patch-php_memcached_server.c (contents, props changed) Added: head/databases/pecl-memcached/files/patch-php_memcached_server.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pecl-memcached/files/patch-php_memcached_server.c Fri Nov 6 11:37:16 2020 (r554287) @@ -0,0 +1,14 @@ +Obtained from: https://github.com/php-memcached-dev/php-memcached/commit/c94e014da53cc8a3d0510402f36bc6e5e17bf608 + +--- php_memcached_server.c.orig 2019-12-03 22:13:53 UTC ++++ php_memcached_server.c +@@ -63,7 +63,9 @@ long s_invoke_php_callback (php_memc_server_cb_t *cb, + cb->fci.retval = retval; + cb->fci.params = params; + cb->fci.param_count = param_count; ++#if PHP_VERSION_ID < 80000 + cb->fci.no_separation = 1; ++#endif + + if (zend_call_function(&(cb->fci), &(cb->fci_cache)) == FAILURE) { + char *buf = php_memc_printable_func(&(cb->fci), &(cb->fci_cache));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011061137.0A6BbG7Q008756>