aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libspatialite/gaiaconfig-msvc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/libspatialite/gaiaconfig-msvc.patch')
-rw-r--r--vcpkg/ports/libspatialite/gaiaconfig-msvc.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/vcpkg/ports/libspatialite/gaiaconfig-msvc.patch b/vcpkg/ports/libspatialite/gaiaconfig-msvc.patch
new file mode 100644
index 0000000..3bf276d
--- /dev/null
+++ b/vcpkg/ports/libspatialite/gaiaconfig-msvc.patch
@@ -0,0 +1,31 @@
+diff --git a/src/headers/spatialite/gaiaconfig-msvc.h b/src/headers/spatialite/gaiaconfig-msvc.h
+index 37f0bd1..0053258 100644
+--- a/src/headers/spatialite/gaiaconfig-msvc.h
++++ b/src/headers/spatialite/gaiaconfig-msvc.h
+@@ -2,7 +2,7 @@
+ /* ./src/headers/spatialite/gaiaconfig-msvc.h.in - manually maintained */
+
+ /* Should be defined in order to enable GCP support. */
+-#define ENABLE_GCP 1
++// #define ENABLE_GCP 1
+
+ /* Should be defined in order to enable GeoPackage support. */
+ #define ENABLE_GEOPACKAGE 1
+@@ -11,7 +11,7 @@
+ #define ENABLE_LIBXML2 1
+
+ /* Should be defined in order to enable RTTOPO support. */
+-#define ENABLE_RTTOPO 1
++// #define ENABLE_RTTOPO 1
+
+ /* Should be defined in order to enable GEOS_370 support. */
+ #define GEOS_370 1
+@@ -32,7 +32,7 @@
+ /* #undef OMIT_FREEXL */
+
+ /* Should be defined in order to disable GEOCALLBACKS support. */
+-#define OMIT_GEOCALLBACKS 1
++// #define OMIT_GEOCALLBACKS 1
+
+ /* Should be defined in order to disable GEOS support. */
+ /* #undef OMIT_GEOS */