From d18639294effbfd2578ac4ba8342755e0753b82e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 17 Sep 2025 12:34:20 +0200 Subject: fix for PHP 8.5.0alpha3 using patch from https://github.com/websupport-sk/pecl-memcache/pull/118 re-license spec file to CECILL-2.1 --- 118.patch | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 118.patch (limited to '118.patch') diff --git a/118.patch b/118.patch new file mode 100644 index 0000000..da0bd6b --- /dev/null +++ b/118.patch @@ -0,0 +1,60 @@ +diff -up ./src/memcache_ascii_protocol.c.pr118 ./src/memcache_ascii_protocol.c +--- ./src/memcache_ascii_protocol.c.pr118 2023-04-30 13:27:52.000000000 +0200 ++++ ./src/memcache_ascii_protocol.c 2025-07-30 12:47:45.473426080 +0200 +@@ -24,7 +24,7 @@ + #endif + + #include "memcache_pool.h" +-#include "ext/standard/php_smart_string.h" ++#include "Zend/zend_smart_string.h" + + typedef struct mmc_ascii_request { + mmc_request_t base; /* enable cast to mmc_request_t */ +diff -up ./src/memcache_binary_protocol.c.pr118 ./src/memcache_binary_protocol.c +--- ./src/memcache_binary_protocol.c.pr118 2025-07-30 12:47:45.473570193 +0200 ++++ ./src/memcache_binary_protocol.c 2025-07-30 12:49:24.587245680 +0200 +@@ -34,7 +34,7 @@ + #include + #endif + #include "memcache_pool.h" +-#include "ext/standard/php_smart_string.h" ++#include "Zend/zend_smart_string.h" + + #ifdef htonll + #undef htonll +diff -up ./src/memcache_pool.c.pr118 ./src/memcache_pool.c +--- ./src/memcache_pool.c.pr118 2023-04-30 13:27:52.000000000 +0200 ++++ ./src/memcache_pool.c 2025-07-30 12:47:45.473729843 +0200 +@@ -35,7 +35,7 @@ + #include "ext/standard/crc32.h" + #include "ext/standard/php_var.h" + #include "ext/standard/php_string.h" +-#include "ext/standard/php_smart_string.h" ++#include "Zend/zend_smart_string.h" + #include "zend_smart_str.h" + #include "memcache_pool.h" + +diff -up ./src/memcache_pool.h.pr118 ./src/memcache_pool.h +--- ./src/memcache_pool.h.pr118 2023-04-30 13:27:52.000000000 +0200 ++++ ./src/memcache_pool.h 2025-07-30 12:47:45.473847580 +0200 +@@ -42,7 +42,7 @@ + #include + + #include "php.h" +-#include "ext/standard/php_smart_string_public.h" ++#include "Zend/zend_smart_string.h" + #include "memcache_queue.h" + + /* +diff -up ./src/memcache_session.c.pr118 ./src/memcache_session.c +--- ./src/memcache_session.c.pr118 2023-04-30 13:27:52.000000000 +0200 ++++ ./src/memcache_session.c 2025-07-30 12:47:45.473927007 +0200 +@@ -29,7 +29,7 @@ + #include "php_variables.h" + + #include "SAPI.h" +-#include "ext/standard/php_smart_string.h" ++#include "Zend/zend_smart_string.h" + #include "ext/standard/url.h" + #include "ext/session/php_session.h" + #ifdef PHP_WIN32 -- cgit