void-packages/srcpkgs/merkaartor/patches/gdal3.patch

12 lines
299 B
Diff

--- src/ImportExport/ImportExportGdal.h 2016-09-06 00:29:45.000000000 +0200
+++ - 2019-05-12 16:24:43.493161590 +0200
@@ -19,7 +19,7 @@
#include <gdal_priv.h>
#include <gdal_version.h>
-#if GDAL_VERSION_MAJOR == 2
+#if GDAL_VERSION_MAJOR == 2 || GDAL_VERSION_MAJOR == 3
#define GDAL2
#endif