aboutsummaryrefslogtreecommitdiffstats
path: root/community/php81-pecl-memcache/version-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/php81-pecl-memcache/version-fix.patch')
-rw-r--r--community/php81-pecl-memcache/version-fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/php81-pecl-memcache/version-fix.patch b/community/php81-pecl-memcache/version-fix.patch
new file mode 100644
index 00000000000..e9ceba43076
--- /dev/null
+++ b/community/php81-pecl-memcache/version-fix.patch
@@ -0,0 +1,22 @@
+--- a/src/php_memcache.h.a
++++ b/src/php_memcache.h
+@@ -67,7 +67,7 @@
+ PHP_FUNCTION(memcache_flush);
+ PHP_FUNCTION(memcache_set_sasl_auth_data);
+
+-#define PHP_MEMCACHE_VERSION "4.0.5.2"
++#define PHP_MEMCACHE_VERSION "8.0"
+
+ #define MMC_DEFAULT_TIMEOUT 1 /* seconds */
+ #define MMC_DEFAULT_RETRY 15 /* retry failed server after x seconds */
+--- a/src/memcache.c.a
++++ b/src/memcache.c
+@@ -780,7 +780,7 @@
+ php_info_print_table_start();
+ php_info_print_table_header(2, "memcache support", "enabled");
+ php_info_print_table_row(2, "Version", PHP_MEMCACHE_VERSION);
+- php_info_print_table_row(2, "Revision", "$Revision$");
++ php_info_print_table_row(2, "Revision", "b:NON_BLOCKING_IO_php8 v:8.0 c:36d7181 d:2020-12-06");
+ php_info_print_table_end();
+
+ DISPLAY_INI_ENTRIES();