File memcache-fix-build-PHP-8.5.patch of Package php-memcache

From a743dc843bb487513386d31eb9481bd6a6825087 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 30 Jul 2025 12:44:51 +0200
Subject: [PATCH] use Zend/zend_smart_string.h

---
 src/memcache_ascii_protocol.c  | 2 +-
 src/memcache_binary_protocol.c | 2 +-
 src/memcache_pool.c            | 2 +-
 src/memcache_pool.h            | 2 +-
 src/memcache_session.c         | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/memcache_ascii_protocol.c b/src/memcache_ascii_protocol.c
index a458da4..dda1fc9 100644
--- a/src/memcache_ascii_protocol.c
+++ b/src/memcache_ascii_protocol.c
@@ -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 --git a/src/memcache_binary_protocol.c b/src/memcache_binary_protocol.c
index b14093b..77a93f9 100644
--- a/src/memcache_binary_protocol.c
+++ b/src/memcache_binary_protocol.c
@@ -38,7 +38,7 @@
 #include <netinet/in.h>
 #endif
 #include "memcache_pool.h"
-#include "ext/standard/php_smart_string.h"
+#include "Zend/zend_smart_string.h"
 
 #ifdef htonll
 #undef htonll
diff --git a/src/memcache_pool.c b/src/memcache_pool.c
index e52389d..5b7d18d 100644
--- a/src/memcache_pool.c
+++ b/src/memcache_pool.c
@@ -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 --git a/src/memcache_pool.h b/src/memcache_pool.h
index c37b6d5..194e2dc 100644
--- a/src/memcache_pool.h
+++ b/src/memcache_pool.h
@@ -46,7 +46,7 @@
 #include <string.h>
 
 #include "php.h"
-#include "ext/standard/php_smart_string_public.h"
+#include "Zend/zend_smart_string.h"
 #include "memcache_queue.h"
 
 /*
diff --git a/src/memcache_session.c b/src/memcache_session.c
index bb9d367..55a6e82 100644
--- a/src/memcache_session.c
+++ b/src/memcache_session.c
@@ -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
openSUSE Build Service is sponsored by