aboutsummaryrefslogtreecommitdiff
path: root/ports/libspatialite/fix-sources.patch
diff options
context:
space:
mode:
authorLong Huan <8551701+longhuan2018@users.noreply.github.com>2020-12-22 00:56:24 +0800
committerGitHub <noreply@github.com>2020-12-21 08:56:24 -0800
commit05e79e93778622a6f9e3cb8a2362ef6f5df23ec5 (patch)
treeaf73a03b13d6b64b552e2f7d250e14d2a2b45fee /ports/libspatialite/fix-sources.patch
parent66bac12e4e54cc858bdf7f93c5786010b6812b13 (diff)
downloadvcpkg-05e79e93778622a6f9e3cb8a2362ef6f5df23ec5.tar.gz
vcpkg-05e79e93778622a6f9e3cb8a2362ef6f5df23ec5.zip
[libspatialite] Update 5.0.0 (#15040)
* update to 5.0.0 * update * update * fix static build failed * remove fix-latin-literals.patch * Update portfile.cmake
Diffstat (limited to 'ports/libspatialite/fix-sources.patch')
-rw-r--r--ports/libspatialite/fix-sources.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/ports/libspatialite/fix-sources.patch b/ports/libspatialite/fix-sources.patch
deleted file mode 100644
index 63def0d3c..000000000
--- a/ports/libspatialite/fix-sources.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff --git a/config-msvc.h b/config-msvc.h
-index 9c7f477..a812546 100644
---- a/config-msvc.h
-+++ b/config-msvc.h
-@@ -143,7 +143,7 @@
- #define HAVE_SYS_TYPES_H 1
-
- /* Define to 1 if you have the <unistd.h> header file. */
--#define HAVE_UNISTD_H 1
-+#undef HAVE_UNISTD_H
-
- /* Define to 1 if you have the <zlib.h> header file. */
- #define HAVE_ZLIB_H 1
-diff --git a/src/gaiageo/gg_extras.c b/src/gaiageo/gg_extras.c
-index ff3dd7c..49ec986 100644
---- a/src/gaiageo/gg_extras.c
-+++ b/src/gaiageo/gg_extras.c
-@@ -59,14 +59,6 @@ the terms of any one of the MPL, the GPL or the LGPL.
- #include <spatialite/sqlite.h>
- #include <spatialite/gaiageo.h>
-
--#if defined(_WIN32) && !defined(__MINGW32__)
--static double
--rint (double x)
--{
-- return floor (x + 0.5);
--}
--#endif
--
- static void
- auxGridSnapPoint (int dimension_model, gaiaPointPtr pt, gaiaGeomCollPtr result,
- double origin_x, double origin_y, double origin_z,