Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package php-memcache for openSUSE:Factory checked in at 2025-10-27 14:39:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/php-memcache (Old) and /work/SRC/openSUSE:Factory/.php-memcache.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "php-memcache" Mon Oct 27 14:39:31 2025 rev:9 rq:1313608 version:8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/php-memcache/php-memcache.changes 2023-05-07 18:54:47.280193999 +0200 +++ /work/SRC/openSUSE:Factory/.php-memcache.new.1980/php-memcache.changes 2025-10-27 14:41:28.959052133 +0100 @@ -1,0 +2,6 @@ +Fri Oct 24 18:33:29 UTC 2025 - Arjen de Korte <[email protected]> + +- Use Zend/zend_smart_string.h for PHP 8.5 compatibility (#574) + + memcache-fix-build-PHP-8.5.patch + +------------------------------------------------------------------- Old: ---- 8.2.tar.gz New: ---- memcache-8.2.tar.gz memcache-fix-build-PHP-8.5.patch ----------(New B)---------- New:- Use Zend/zend_smart_string.h for PHP 8.5 compatibility (#574) + memcache-fix-build-PHP-8.5.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ php-memcache.spec ++++++ --- /var/tmp/diff_new_pack.6Wpoot/_old 2025-10-27 14:41:31.451157383 +0100 +++ /var/tmp/diff_new_pack.6Wpoot/_new 2025-10-27 14:41:31.495159242 +0100 @@ -1,7 +1,7 @@ # # spec file for package php-memcache # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -37,10 +37,12 @@ License: PHP-3.0 Group: Productivity/Networking/Web/Servers URL: https://github.com/websupport-sk/pecl-memcache -Source0: https://github.com/websupport-sk/pecl-memcache/archive/refs/tags/%{version}.tar.gz +Source0: https://github.com/websupport-sk/pecl-memcache/archive/refs/tags/%{version}.tar.gz#/%{pkg_name}-%{version}.tar.gz Source10: php-memcache-rpmlintrc # PATCH-FIX-OPENSUSE: fix unit tests that don't work on OBS Patch1: fixup-unit-tests.patch +# PATCH-FIX-UPSTREAM https://github.com/websupport-sk/pecl-memcache/pull/118 +Patch2: memcache-fix-build-PHP-8.5.patch %if 0%{?suse_version} > 1500 BuildRequires: %{php_name}-cli %endif ++++++ memcache-fix-build-PHP-8.5.patch ++++++ >From a743dc843bb487513386d31eb9481bd6a6825087 Mon Sep 17 00:00:00 2001 From: Remi Collet <[email protected]> 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
