Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2019 16:59:52 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519384 - in head/graphics/php-geos: . files
Message-ID:  <201912081659.xB8GxqRB068236@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912081659.xB8GxqRB068236>