Date: Fri, 8 Mar 2019 20:38: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: r495071 - in head/databases/php-memcache: . files Message-ID: <201903082038.x28Kc7bw011743@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Fri Mar 8 20:38:07 2019 New Revision: 495071 URL: https://svnweb.freebsd.org/changeset/ports/495071 Log: Fix build with PHP 7.1 PR: 236234 Submitted by: Krzysztof <ports@bsdserwis.com> Obtained from: https://github.com/websupport-sk/pecl-memcache/commit/09e21a63410cbfd8827c7a876d8160a6b80b076c Added: head/databases/php-memcache/files/patch-php7-memcache_pool.c (contents, props changed) Modified: head/databases/php-memcache/Makefile Modified: head/databases/php-memcache/Makefile ============================================================================== --- head/databases/php-memcache/Makefile Fri Mar 8 20:38:02 2019 (r495070) +++ head/databases/php-memcache/Makefile Fri Mar 8 20:38:07 2019 (r495071) @@ -22,7 +22,6 @@ USES= dos2unix php:ext USE_PHP= session:build zlib:build CONFIGURE_ARGS= --with-zlib-dir=/usr -IGNORE_WITH_PHP=71 GH_ACCOUNT= websupport-sk GH_PROJECT= pecl-${PORTNAME} Added: head/databases/php-memcache/files/patch-php7-memcache_pool.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/php-memcache/files/patch-php7-memcache_pool.c Fri Mar 8 20:38:07 2019 (r495071) @@ -0,0 +1,14 @@ +Obtained from: https://github.com/websupport-sk/pecl-memcache/commit/09e21a63410cbfd8827c7a876d8160a6b80b076c + +--- php7/memcache_pool.c.orig 2019-03-04 21:49:48 UTC ++++ php7/memcache_pool.c +@@ -44,6 +44,9 @@ ZEND_DECLARE_MODULE_GLOBALS(memcache) + MMC_POOL_INLINE void mmc_buffer_alloc(mmc_buffer_t *buffer, unsigned int size) /* + ensures space for an additional size bytes {{{ */ + { ++#if PHP_VERSION_ID < 70200 ++ register size_t newlen; ++#endif + smart_string_alloc((&(buffer->value)), size, 0); + } + /* }}} */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903082038.x28Kc7bw011743>