From bac56c8d91e113006118e73cd36b3fda47b3842b Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Mon, 27 Nov 2023 15:47:27 +0530 Subject: [PATCH] Add patch for geos --- src/scripts/extensions/patches/geos.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/scripts/extensions/patches/geos.sh b/src/scripts/extensions/patches/geos.sh index 5141a00b9..5f1a1c060 100644 --- a/src/scripts/extensions/patches/geos.sh +++ b/src/scripts/extensions/patches/geos.sh @@ -3,5 +3,7 @@ patch_geos() { sed -i~ -e "s/, ce->name/, ZSTR_VAL(ce->name)/; s/ulong /zend_ulong /" geos.c fi get -q -n /tmp/php8.patch https://git.remirepo.net/cgit/rpms/php/php-geos.git/plain/0003-add-all-arginfo-and-fix-build-with-PHP-8.patch + get -q -n /tmp/toString.patch https://git.remirepo.net/cgit/rpms/php/php-geos.git/plain/0006-fix-__toString-with-8.2.patch patch -p1 < /tmp/php8.patch 2>/dev/null || true + patch -p1 < /tmp/toString.patch 2>/dev/null || true }