[libspatialite] Fix mingw crossbuilds (#25513)

* Fix mingw cross-builds

* Licensing depends on feature set

* Update versions
This commit is contained in:
Kai Pastor 2022-07-01 23:13:10 +02:00 committed by GitHub
parent 18ab388c61
commit 9f31c7765d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 3 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/gaiageo/gg_shape.c b/src/gaiageo/gg_shape.c
index ee2f1cf..01f2571 100644
--- a/src/gaiageo/gg_shape.c
+++ b/src/gaiageo/gg_shape.c
@@ -58,7 +58,7 @@ the terms of any one of the MPL, the GPL or the LGPL.
#endif
#ifdef _WIN32
-#include <Windows.h>
+#include <windows.h>
#endif
#if OMIT_ICONV == 0 /* if ICONV is disabled no SHP support is available */

View File

@ -12,6 +12,7 @@ vcpkg_extract_source_archive_ex(
fix-makefiles.patch fix-makefiles.patch
fix-linux-configure.patch fix-linux-configure.patch
gaiaconfig-msvc.patch gaiaconfig-msvc.patch
fix-mingw.patch
) )
vcpkg_check_features(OUT_FEATURE_OPTIONS unused vcpkg_check_features(OUT_FEATURE_OPTIONS unused

View File

@ -1,10 +1,10 @@
{ {
"name": "libspatialite", "name": "libspatialite",
"version": "5.0.1", "version": "5.0.1",
"port-version": 5, "port-version": 6,
"description": "SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities.", "description": "SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities.",
"homepage": "https://www.gaia-gis.it/gaia-sins/libspatialite-sources", "homepage": "https://www.gaia-gis.it/gaia-sins/libspatialite-sources",
"license": "MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later", "license": null,
"dependencies": [ "dependencies": [
"geos", "geos",
"libiconv", "libiconv",

View File

@ -4066,7 +4066,7 @@
}, },
"libspatialite": { "libspatialite": {
"baseline": "5.0.1", "baseline": "5.0.1",
"port-version": 5 "port-version": 6
}, },
"libspnav": { "libspnav": {
"baseline": "0.2.3", "baseline": "0.2.3",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "17b2434a466cabf41bd653845871d5b4ec6bfdeb",
"version": "5.0.1",
"port-version": 6
},
{ {
"git-tree": "27ff74dc3c1f0d6c5e11dbcc110f34e46dae862a", "git-tree": "27ff74dc3c1f0d6c5e11dbcc110f34e46dae862a",
"version": "5.0.1", "version": "5.0.1",