Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Shapely for openSUSE:Factory checked in at 2024-05-30 15:33:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Shapely (Old) and /work/SRC/openSUSE:Factory/.python-Shapely.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-Shapely" Thu May 30 15:33:18 2024 rev:27 rq:1177618 version:2.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Shapely/python-Shapely.changes 2024-05-06 17:53:33.127739374 +0200 +++ /work/SRC/openSUSE:Factory/.python-Shapely.new.24587/python-Shapely.changes 2024-05-30 15:34:58.457759331 +0200 @@ -1,0 +2,6 @@ +Wed May 29 13:21:52 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> + +- Cherry-pick upstream patch to fix build with GCC 14 + * https://github.com/shapely/shapely/pull/1945.patch + +------------------------------------------------------------------- New: ---- 1945.patch BETA DEBUG BEGIN: New:- Cherry-pick upstream patch to fix build with GCC 14 * https://github.com/shapely/shapely/pull/1945.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Shapely.spec ++++++ --- /var/tmp/diff_new_pack.2pxqfe/_old 2024-05-30 15:34:58.997779094 +0200 +++ /var/tmp/diff_new_pack.2pxqfe/_new 2024-05-30 15:34:58.997779094 +0200 @@ -24,6 +24,8 @@ License: BSD-3-Clause URL: https://github.com/shapely/shapely Source: https://files.pythonhosted.org/packages/source/s/shapely/shapely-%{version}.tar.gz +# PATCH-FIX-UPSTREAM Fix incompatible pointer type passed to GEOSPolygonize_r +Patch: https://github.com/shapely/shapely/pull/1945.patch BuildRequires: %{python_module Cython >= 0.29 with %python-Cython < 3} BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module numpy-devel >= 1.25} ++++++ 1945.patch ++++++ From 9795506bba84e96418466ae84573c0cf8654bbeb Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" <code@musicinmybrain.net> Date: Sun, 3 Dec 2023 11:36:36 -0500 Subject: [PATCH] Fix incompatible pointer type passed to GEOSPolygonize_r --- src/ufuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ufuncs.c b/src/ufuncs.c index ed83e9619..9d08fa20c 100644 --- a/src/ufuncs.c +++ b/src/ufuncs.c @@ -2160,7 +2160,7 @@ static void polygonize_func(char** args, const npy_intp* dimensions, const npy_i GEOS_INIT; - GEOSGeometry** geoms = malloc(sizeof(void*) * dimensions[1]); + const GEOSGeometry** geoms = malloc(sizeof(void*) * dimensions[1]); if (geoms == NULL) { errstate = PGERR_NO_MALLOC; goto finish;