summaryrefslogtreecommitdiffstats
path: root/0001-Fix-incompatible-pointer-types.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-01-29 10:53:08 +0100
committerRemi Collet <remi@php.net>2024-01-29 10:53:08 +0100
commitc8482f9c6b5368fbb207f90600eb60214fbd01fd (patch)
tree41cb4c7a16cfa7f7ac9e64c7c75c607910f11af7 /0001-Fix-incompatible-pointer-types.patch
parent78acfc901b3b758e3a812f45c016c64eda38817d (diff)
fix incompatible pointer typesHEADmaster
using patch from https://git.osgeo.org/gitea/geos/php-geos/issues/32
Diffstat (limited to '0001-Fix-incompatible-pointer-types.patch')
-rw-r--r--0001-Fix-incompatible-pointer-types.patch34
1 files changed, 34 insertions, 0 deletions
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 <remi@remirepo.net>
+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
+