mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Fix build with PHP 7.4 and unbreak this port
This commit is contained in:
parent
1af4119d78
commit
2c46cded70
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519384
@ -22,7 +22,6 @@ BUILD_DEPENDS= swig3.0:devel/swig30
|
||||
LIB_DEPENDS= libgeos_c.so:graphics/geos
|
||||
|
||||
USES= localbase:ldflags php:ext
|
||||
IGNORE_WITH_PHP= 74
|
||||
|
||||
WRKSRC= ${WRKDIR}/php-${PORTNAME}
|
||||
|
||||
|
20
graphics/php-geos/files/patch-geos.c
Normal file
20
graphics/php-geos/files/patch-geos.c
Normal file
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user