| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/graphics/php-geos/files/ |
Upload File : |
--- 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);