From c8482f9c6b5368fbb207f90600eb60214fbd01fd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 Jan 2024 10:53:08 +0100 Subject: fix incompatible pointer types using patch from https://git.osgeo.org/gitea/geos/php-geos/issues/32 --- 0001-Fix-incompatible-pointer-types.patch | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 0001-Fix-incompatible-pointer-types.patch (limited to '0001-Fix-incompatible-pointer-types.patch') diff --git a/0001-Fix-incompatible-pointer-types.patch b/0001-Fix-incompatible-pointer-types.patch new file mode 100644 index 0000000..031db8b --- /dev/null +++ b/0001-Fix-incompatible-pointer-types.patch @@ -0,0 +1,34 @@ +From 5ad2bce06d6ecb252e427e96dde5490f34db9ba6 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Mon, 29 Jan 2024 10:25:42 +0100 +Subject: [PATCH] Fix incompatible pointer types + +--- + geos.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/geos.c b/geos.c +index 0437523..ad2dce2 100644 +--- a/geos.c ++++ b/geos.c +@@ -878,7 +878,7 @@ PHP_METHOD(Geometry, buffer) + GEOS_PHP_ZVAL data; + HashTable *style; + zend_string *key; +- ulong index; ++ zend_ulong index; + + this = (GEOSGeometry*)getRelay(getThis(), Geometry_ce_ptr); + +@@ -971,7 +971,7 @@ PHP_METHOD(Geometry, offsetCurve) + GEOS_PHP_ZVAL data; + HashTable *style; + zend_string *key; +- ulong index; ++ zend_ulong index; + + this = (GEOSGeometry*)getRelay(getThis(), Geometry_ce_ptr); + +-- +2.43.0 + -- cgit