git: 460538e3713d - main - graphics/php-geos: Update to newer snapshot (dfe1ab1)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 May 2024 17:25:01 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=460538e3713d186dd3a2667ac4fa08980b242308 commit 460538e3713d186dd3a2667ac4fa08980b242308 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-19 16:16:48 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-19 17:15:23 +0000 graphics/php-geos: Update to newer snapshot (dfe1ab1) - Bump PORTREVISION for package change --- graphics/php-geos/Makefile | 14 ++++++++++---- graphics/php-geos/distinfo | 6 +++--- graphics/php-geos/files/patch-geos.c | 34 ---------------------------------- 3 files changed, 13 insertions(+), 41 deletions(-) diff --git a/graphics/php-geos/Makefile b/graphics/php-geos/Makefile index 6d8032f3763b..0821c9975da0 100644 --- a/graphics/php-geos/Makefile +++ b/graphics/php-geos/Makefile @@ -1,11 +1,12 @@ PORTNAME= geos PORTVERSION= 1.0.0 +PORTREVISION= 1 CATEGORIES= graphics -MASTER_SITES= https://git.osgeo.org/gogs/geos/php-geos/archive/ \ - LOCAL/sunpoet/php-geos +#MASTER_SITES= https://git.osgeo.org/gogs/geos/php-geos/archive/ \ +# LOCAL/sunpoet/php-geos PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} DISTNAME= ${DISTVERSION} -DIST_SUBDIR= php-geos +#DIST_SUBDIR= php-geos MAINTAINER= sunpoet@FreeBSD.org COMMENT= PHP bindings for GEOS @@ -21,6 +22,11 @@ LIB_DEPENDS= libgeos_c.so:graphics/geos USES= localbase:ldflags php:ext -WRKSRC= ${WRKDIR}/php-geos +USE_GITHUB= yes +GH_ACCOUNT= libgeos +GH_PROJECT= php-geos +GH_TAGNAME= dfe1ab1 + +#WRKSRC= ${WRKDIR}/php-geos .include <bsd.port.mk> diff --git a/graphics/php-geos/distinfo b/graphics/php-geos/distinfo index 27a5cc0e78aa..c292f4c4144a 100644 --- a/graphics/php-geos/distinfo +++ b/graphics/php-geos/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1482748173 -SHA256 (php-geos/1.0.0.tar.gz) = 09cd4e7a3b026f65d86320b1250d6d6ceb8d78179cbfd480f622011d52f92035 -SIZE (php-geos/1.0.0.tar.gz) = 40870 +TIMESTAMP = 1715842642 +SHA256 (libgeos-php-geos-1.0.0-dfe1ab1_GH0.tar.gz) = ffc239106f418ce16cdbc312c371973c2862b44235e5772396da5d90c264b616 +SIZE (libgeos-php-geos-1.0.0-dfe1ab1_GH0.tar.gz) = 43523 diff --git a/graphics/php-geos/files/patch-geos.c b/graphics/php-geos/files/patch-geos.c deleted file mode 100644 index 7fa2ca84c830..000000000000 --- a/graphics/php-geos/files/patch-geos.c +++ /dev/null @@ -1,34 +0,0 @@ ---- geos.c.orig 2016-12-24 10:53:24 UTC -+++ geos.c -@@ -33,6 +33,13 @@ - /* Own stuff */ - #include "php_geos.h" - -+#if PHP_MAJOR_VERSION >= 8 -+#define TSRMLS_C -+#define TSRMLS_CC -+#define TSRMLS_DC -+#define TSRMLS_FETCH() -+#endif -+ - static ZEND_DECLARE_MODULE_GLOBALS(geos); - static PHP_GINIT_FUNCTION(geos); - -@@ -863,7 +870,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 +963,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); -