[Git][debian-gis-team/php-geos][master] Add upstream patch to fix FTBFS on i386.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Fri Aug 9 19:19:45 BST 2024



Bas Couwenberg pushed to branch master at Debian GIS Project / php-geos


Commits:
3882dc09 by Bas Couwenberg at 2024-08-09T20:16:45+02:00
Add upstream patch to fix FTBFS on i386.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/incompatible-pointer-types.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -9,6 +9,7 @@ php-geos (1.0.0-8) UNRELEASED; urgency=medium
   * Add upstream patches to fix PHP 8.2 compatibility.
     (closes: #1054036)
   * Ignore test failures on all architectures.
+  * Add upstream patch to fix FTBFS on i386.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 18 Jan 2023 17:06:14 +0100
 


=====================================
debian/patches/incompatible-pointer-types.patch
=====================================
@@ -0,0 +1,25 @@
+Description: Fix incompatible pointer types
+Author: Remi Collet <remi at remirepo.net>
+Origin https://git.osgeo.org/gitea/geos/php-geos/commit/dfe1ab17b0f155cc315bc13c75689371676e02e1
+Forwarded: not-needed
+
+--- a/geos.c
++++ b/geos.c
+@@ -878,7 +878,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);
+ 
+@@ -971,7 +971,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);
+ 


=====================================
debian/patches/series
=====================================
@@ -7,3 +7,4 @@
 0007-Have-make-check-show-diff-on-failure.patch
 0008-Print-expected-obtained-correctly.patch
 0009-Set-trim-to-false-in-WKBReader-test.patch
+incompatible-pointer-types.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/php-geos/-/commit/3882dc09a1158bee5b515082476698364aa7d808

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/php-geos/-/commit/3882dc09a1158bee5b515082476698364aa7d808
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20240809/c112bf33/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list