Skip to content

Commit 13d387f

Browse files
committed
Add patch for zmq [skip ci]
1 parent 821c926 commit 13d387f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/patch-extensions.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,8 @@ patch_redis() {
6565
patch_igbinary() {
6666
[[ "$PHP_VERSION" = "8.3" || "$PHP_VERSION" = "8.4" || "$PHP_VERSION" = "8.5" ]] && find . -type f -exec sed -i 's/zend_uintptr_t/uintptr_t/g' {} +;
6767
}
68+
69+
# Function to path zmq source
70+
patch_zmq() {
71+
[[ "$PHP_VERSION" = "8.5" ]] && sed -i 's/zend_exception_get_default()/zend_ce_exception/' zmq.c
72+
}

0 commit comments

Comments
 (0)