diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-07-21 17:54:13 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-07-21 18:12:12 +0000 |
commit | 6d01cdda4513e2d77eeb6f0be051ddd4b0e80546 (patch) | |
tree | 5fd6a42e5af93ee1d7bf69b9dfbf4674cc903b1d | |
parent | f155b46a5fbae9311c769aaaad5fa1ee88ef37ca (diff) | |
download | ports-6d01cdda4513e2d77eeb6f0be051ddd4b0e80546.tar.gz ports-6d01cdda4513e2d77eeb6f0be051ddd4b0e80546.zip |
databases/pecl-memcached: Update to latest snapshot (058e9f5)
- Fix PHP 8.0 arginfo
- Bump PORTREVISION for package change
The main corresponding commits for arginfo are [1], [2] and [3].
PR: 257130
Reported by: <townwear@gmail.com>
Reference: https://github.com/php-memcached-dev/php-memcached/commit/e8f53777d3f578586f2a32f1b3bdcc3f53e74b39 [1]
https://github.com/php-memcached-dev/php-memcached/commit/8f3c5dc0fa773aded5d169e5c5b8eab18c8931c6 [2]
https://github.com/php-memcached-dev/php-memcached/commit/c8f9376a8b1399907e732064890101da7261d8bb [3]
-rw-r--r-- | databases/pecl-memcached/Makefile | 6 | ||||
-rw-r--r-- | databases/pecl-memcached/distinfo | 6 | ||||
-rw-r--r-- | databases/pecl-memcached/files/patch-php_memcached_server.c | 14 |
3 files changed, 9 insertions, 17 deletions
diff --git a/databases/pecl-memcached/Makefile b/databases/pecl-memcached/Makefile index b4b813fad69d..e38771c7b724 100644 --- a/databases/pecl-memcached/Makefile +++ b/databases/pecl-memcached/Makefile @@ -2,6 +2,7 @@ PORTNAME= memcached PORTVERSION= 3.1.5 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= sunpoet@FreeBSD.org @@ -21,6 +22,11 @@ CONFIGURE_ARGS= --enable-memcached-json \ --enable-memcached-session \ --with-libmemcached-dir=${LOCALBASE} +GH_ACCOUNT= php-memcached-dev +GH_PROJECT= php-memcached +GH_TAGNAME= 058e9f5 +USE_GITHUB= yes + OPTIONS_DEFINE= IGBINARY MSGPACK SASL OPTIONS_DEFAULT=SASL IGBINARY_DESC= Binary serializer support diff --git a/databases/pecl-memcached/distinfo b/databases/pecl-memcached/distinfo index 84a8a940203e..0a9dee308bf2 100644 --- a/databases/pecl-memcached/distinfo +++ b/databases/pecl-memcached/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1575794229 -SHA256 (PECL/memcached-3.1.5.tgz) = b288e45f839593e16c4d8508b241de51a86df4f7322153e6becb9e1c819021fd -SIZE (PECL/memcached-3.1.5.tgz) = 83015 +TIMESTAMP = 1626714774 +SHA256 (PECL/php-memcached-dev-php-memcached-3.1.5-058e9f5_GH0.tar.gz) = d043c984e66ece589bba3aab02aa7974ae36f9b67b39036bc00e574dab834ca9 +SIZE (PECL/php-memcached-dev-php-memcached-3.1.5-058e9f5_GH0.tar.gz) = 96398 diff --git a/databases/pecl-memcached/files/patch-php_memcached_server.c b/databases/pecl-memcached/files/patch-php_memcached_server.c deleted file mode 100644 index 4cf1561ad298..000000000000 --- a/databases/pecl-memcached/files/patch-php_memcached_server.c +++ /dev/null @@ -1,14 +0,0 @@ -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)); |