Re: Bug#924329: xastir: FTBFS (magick/image-private.h: No such file or directory)
Control: tag -1 patch
Re: Hibby 2019-03-29 <[🔎] eaad15be-eb9a-426f-b27c-023302a3882e@www.fastmail.com>
> Hi all,
>
> I've managed to reproduce this locally, but haven't sat down to properly look at a solution.
>
> As it's an RC bug, it 's worth sorting soon so we're not holding anything up - has anyone got a suggestion of where to start?
Hi,
it looks like simply removing "#define MAGICK_IMPLEMENTATION" from
src/map_geo.c is enough to make it compile for me. I have no clue
about APRS yet, so I can't test it, though.
diff --git a/src/map_geo.c b/src/map_geo.c
index 7547abb..0728161 100644
--- a/src/map_geo.c
+++ b/src/map_geo.c
@@ -133,7 +133,7 @@
* now (9/28/2010) being seen on some distros (Ubuntu 10.04 and
* OpenSuSE-11.3)
*/
-#define MAGICK_IMPLEMENTATION
+//#define MAGICK_IMPLEMENTATION
#include <magick/api.h>
#else // HAVE_GRAPHICSMAGICK
#include <magick/api.h>
Christoph DF7CB
Reply to: