void-packages/srcpkgs/viking/patches/7ff014f554825b1350a0ad349ffc0b7920a528c6.patch
2020-05-12 10:26:28 +00:00

25 lines
719 B
Diff

upstream: yes
From 7ff014f554825b1350a0ad349ffc0b7920a528c6 Mon Sep 17 00:00:00 2001
From: Nikolay Korotkiy <sikmir@gmail.com>
Date: Tue, 4 Feb 2020 21:12:47 +0000
Subject: [PATCH] Fix build without mapnik
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
---
src/viklayer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/viklayer.c b/src/viklayer.c
index dc0ab1ff..3070157f 100644
--- a/src/viklayer.c
+++ b/src/viklayer.c
@@ -36,7 +36,7 @@ extern VikLayerInterface vik_dem_layer_interface;
#ifdef HAVE_LIBMAPNIK
extern VikLayerInterface vik_mapnik_layer_interface;
#endif
-#ifdef HAVE_LIBMAPNIK
+#ifdef HAVE_LIBGEOCLUE_2
extern VikLayerInterface vik_geoclue_layer_interface;
#endif