Update to 4.0.3

Changes:	https://github.com/websupport-sk/pecl-memcache/releases
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-03-24 14:31:37 +00:00
parent 48a35b35fd
commit 71b9914b9e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496730
3 changed files with 4 additions and 19 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= memcache
PORTVERSION= 4.0.2
DISTVERSIONSUFFIX= -php73
PORTVERSION= 4.0.3
CATEGORIES= databases
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1553098282
SHA256 (websupport-sk-pecl-memcache-4.0.2-php73_GH0.tar.gz) = 712f9016811211532e761b7bbe428dd9982f0dbb701bbf9f83c25003ba8b04ff
SIZE (websupport-sk-pecl-memcache-4.0.2-php73_GH0.tar.gz) = 113271
TIMESTAMP = 1553422503
SHA256 (websupport-sk-pecl-memcache-4.0.3_GH0.tar.gz) = 59cc60f6226e802575e8930eea977bf66aa3df7b47cecdb3a6e82b08fb729c78
SIZE (websupport-sk-pecl-memcache-4.0.3_GH0.tar.gz) = 113725

View File

@ -1,14 +0,0 @@
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);
}
/* }}} */