--- emacs-25.1/configure.ac~ 2016-07-25 09:08:36.000000000 +0200 +++ emacs-25.1/configure.ac 2016-12-25 13:00:06.594562908 +0100 @@ -2524,7 +2524,7 @@ if test "${HAVE_X11}" = "yes" || test "$ ## 6.3.5 is the earliest version known to work; see Bug#17339. ## 6.8.2 makes Emacs crash; see Bug#13867. ## 7 and later have not been ported to; See Bug#25967. - IMAGEMAGICK_MODULE="Wand >= 6.3.5 Wand != 6.8.2 Wand < 7" + IMAGEMAGICK_MODULE="MagicWand >= 6.3.5 Wand != 6.8.2" EMACS_CHECK_MODULES([IMAGEMAGICK], [$IMAGEMAGICK_MODULE]) if test $HAVE_IMAGEMAGICK = yes; then --- emacs-24.3/src/image.c~ 2016-12-25 12:47:48.000000000 +0100 +++ emacs-24.3/src/image.c 2016-12-25 12:52:35.931084598 +0100 @@ -7618,14 +7618,14 @@ /* The GIF library also defines DrawRectangle, but its never used in Emacs. Therefore rename the function so it doesn't collide with ImageMagick. */ #define DrawRectangle DrawRectangleGif -#include +#include /* ImageMagick 6.5.3 through 6.6.5 hid PixelGetMagickColor for some reason. Emacs seems to work fine with the hidden version, so unhide it. */ -#include +#include #if 0x653 <= MagickLibVersion && MagickLibVersion <= 0x665 extern WandExport void PixelGetMagickColor (const PixelWand *, - MagickPixelPacket *); + PixelInfo *); #endif /* Log ImageMagick error message. @@ -8402,7 +8402,7 @@ PixelWand **source, **dest; size_t source_width, source_height; ssize_t source_left, source_top; - MagickPixelPacket pixel; + PixelInfo pixel; DisposeType dispose; ptrdiff_t lines = 0; @@ -8467,7 +8467,7 @@ if (dispose == BackgroundDispose || PixelGetAlpha (source[x])) { PixelGetMagickColor (source[x], &pixel); - PixelSetMagickColor (dest[x + source_left], &pixel); + PixelSetPixelColor (dest[x + source_left], &pixel); } } PixelSyncIterator (dest_iterator); @@ -8512,7 +8512,7 @@ MagickWand *image_wand; PixelIterator *iterator; PixelWand **pixels, *bg_wand = NULL; - MagickPixelPacket pixel; + PixelInfo pixel; Lisp_Object image; Lisp_Object value; Lisp_Object crop;