]> git.pld-linux.org Git - packages/freeciv.git/blame - imagemagick7.patch
- fix building with ImageMagick 7
[packages/freeciv.git] / imagemagick7.patch
CommitLineData
564e89ca
JR
1--- freeciv-2.4.4/m4/magickwand.m4~ 2014-12-06 14:25:14.000000000 +0100
2+++ freeciv-2.4.4/m4/magickwand.m4 2016-12-18 16:51:51.153456940 +0100
3@@ -68,7 +68,7 @@
4 LIBS="$WAND_LIBS $LIBS"
5
6 AC_MSG_CHECKING([for all development tools needed for MagickWand])
7- AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <wand/magick_wand.h>]],
8+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <MagickWand/MagickWand.h>]],
9 [MagickWand *mw = NewMagickWand();])], [AC_MSG_RESULT([yes])],
10 [AC_MSG_RESULT([no])
11 wand=no
12--- freeciv-2.4.4/common/mapimg.c~ 2014-12-06 14:25:02.000000000 +0100
13+++ freeciv-2.4.4/common/mapimg.c 2016-12-18 16:53:14.744430711 +0100
14@@ -18,7 +18,7 @@
15 #include <stdarg.h>
16
17 #ifdef HAVE_MAPIMG_MAGICKWAND
18- #include <wand/MagickWand.h>
19+ #include <MagickWand/MagickWand.h>
20 #endif /* HAVE_MAPIMG_MAGICKWAND */
21
22 /* utility */
This page took 0.038209 seconds and 4 git commands to generate.