summarylogtreecommitdiffstats
path: root/proj_api.patch
diff options
context:
space:
mode:
authorNikolay Korotkiy2019-07-03 14:03:33 +0300
committerNikolay Korotkiy2019-07-03 14:03:33 +0300
commitcc2ce2736ecdf793cf5e0bb94e168cc5ca987e85 (patch)
tree3f01b6ac84704415ec9a591c3c649da11bc4bfaf /proj_api.patch
parentefa5dd849c26e748c8c397a15e967cad7f2f1910 (diff)
downloadaur-cc2ce2736ecdf793cf5e0bb94e168cc5ca987e85.tar.gz
Fix compiling with proj 6
Diffstat (limited to 'proj_api.patch')
-rw-r--r--proj_api.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/proj_api.patch b/proj_api.patch
new file mode 100644
index 000000000000..73fdf7866bfe
--- /dev/null
+++ b/proj_api.patch
@@ -0,0 +1,12 @@
+--- mapsoft-20190213-alt1/core/geo/geo_convs.h.orig 2019-07-03 13:50:16.688113621 +0300
++++ mapsoft-20190213-alt1/core/geo/geo_convs.h 2019-07-03 13:50:33.388314659 +0300
+@@ -9,6 +9,9 @@
+ #include "options/options.h"
+ #include "2d/image.h"
+ #include "2d/conv_aff.h"
++#ifndef ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
++#define ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
++#endif
+ #include <proj_api.h>
+
+ namespace convs{