File tree Expand file tree Collapse file tree 1 file changed +1
-0
lines changed
Expand file tree Collapse file tree 1 file changed +1
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ patch_amqp() {
6161
6262# Function to patch memcache source.
6363patch_memcache () {
64+ [[ " $PHP_VERSION " = " 5.6" ]] && export CFLAGS=" $CFLAGS -Wno-incompatible-pointer-types"
6465 [[ " $PHP_VERSION " = " 8.3" || " $PHP_VERSION " = " 8.4" || " $PHP_VERSION " = " 8.5" || " $PHP_VERSION " = " 8.6" ]] && sed -i " s/#include <string.h>/#include <string.h>\n#include <errno.h>/" src/memcache_pool.h
6566 [[ " $PHP_VERSION " = " 8.5" || " $PHP_VERSION " = " 8.6" ]] && sed -i ' s#ext/standard/php_smart_string.h#Zend/zend_smart_string.h#' src/memcache_ascii_protocol.c src/memcache_binary_protocol.c src/memcache_pool.c src/memcache_session.c
6667 [[ " $PHP_VERSION " = " 8.5" || " $PHP_VERSION " = " 8.6" ]] && sed -i ' s#ext/standard/php_smart_string_public.h#Zend/zend_smart_string.h#' src/memcache_pool.h
You can’t perform that action at this time.
0 commit comments