mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 16:53:02 +08:00
[libspatialite] Fix mingw crossbuilds (#25513)
* Fix mingw cross-builds * Licensing depends on feature set * Update versions
This commit is contained in:
parent
18ab388c61
commit
9f31c7765d
13
ports/libspatialite/fix-mingw.patch
Normal file
13
ports/libspatialite/fix-mingw.patch
Normal 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 */
|
@ -12,6 +12,7 @@ vcpkg_extract_source_archive_ex(
|
||||
fix-makefiles.patch
|
||||
fix-linux-configure.patch
|
||||
gaiaconfig-msvc.patch
|
||||
fix-mingw.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS unused
|
||||
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "libspatialite",
|
||||
"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.",
|
||||
"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": [
|
||||
"geos",
|
||||
"libiconv",
|
||||
|
@ -4066,7 +4066,7 @@
|
||||
},
|
||||
"libspatialite": {
|
||||
"baseline": "5.0.1",
|
||||
"port-version": 5
|
||||
"port-version": 6
|
||||
},
|
||||
"libspnav": {
|
||||
"baseline": "0.2.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "17b2434a466cabf41bd653845871d5b4ec6bfdeb",
|
||||
"version": "5.0.1",
|
||||
"port-version": 6
|
||||
},
|
||||
{
|
||||
"git-tree": "27ff74dc3c1f0d6c5e11dbcc110f34e46dae862a",
|
||||
"version": "5.0.1",
|
||||
|
Loading…
Reference in New Issue
Block a user