svn commit: r554287 - head/databases/pecl-memcached/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Nov 6 11:37:20 UTC 2020


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));


More information about the svn-ports-all mailing list