summaryrefslogtreecommitdiff
path: root/graphics/php-geos/files/patch-geos.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/php-geos/files/patch-geos.c')
-rw-r--r--graphics/php-geos/files/patch-geos.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/php-geos/files/patch-geos.c b/graphics/php-geos/files/patch-geos.c
new file mode 100644
index 000000000000..46a2599d97ce
--- /dev/null
+++ b/graphics/php-geos/files/patch-geos.c
@@ -0,0 +1,20 @@
+--- geos.c.orig 2016-12-24 10:53:24 UTC
++++ geos.c
+@@ -863,7 +863,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);
+
+@@ -956,7 +956,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);
+