svn commit: r519384 - in head/graphics/php-geos: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Dec 8 16:59:53 UTC 2019
Author: sunpoet
Date: Sun Dec 8 16:59:51 2019
New Revision: 519384
URL: https://svnweb.freebsd.org/changeset/ports/519384
Log:
Fix build with PHP 7.4 and unbreak this port
Added:
head/graphics/php-geos/files/
head/graphics/php-geos/files/patch-geos.c (contents, props changed)
Modified:
head/graphics/php-geos/Makefile
Modified: head/graphics/php-geos/Makefile
==============================================================================
--- head/graphics/php-geos/Makefile Sun Dec 8 16:59:46 2019 (r519383)
+++ head/graphics/php-geos/Makefile Sun Dec 8 16:59:51 2019 (r519384)
@@ -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}
Added: head/graphics/php-geos/files/patch-geos.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/php-geos/files/patch-geos.c Sun Dec 8 16:59:51 2019 (r519384)
@@ -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);
+
More information about the svn-ports-all
mailing list