diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-04 10:56:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-04 10:56:18 +0000 |
commit | 4ead5818a5d230bcc875202c487761a9b786e945 (patch) | |
tree | 63238d1977f2788cb5b7074037f15810af25bb88 /dev-python/shapely/files | |
parent | d074d0ba59e3121dba0c27c4a18f1e481f67b62a (diff) |
gentoo auto-resync : 04:12:2023 - 10:56:18
Diffstat (limited to 'dev-python/shapely/files')
-rw-r--r-- | dev-python/shapely/files/shapely-2.0.2-c99.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-python/shapely/files/shapely-2.0.2-c99.patch b/dev-python/shapely/files/shapely-2.0.2-c99.patch new file mode 100644 index 000000000000..a51fc8883103 --- /dev/null +++ b/dev-python/shapely/files/shapely-2.0.2-c99.patch @@ -0,0 +1,19 @@ +https://github.com/shapely/shapely/pull/1945 + +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 + +--- 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; + |