diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2017-06-02 19:31:42 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2017-06-02 19:33:42 +0200 |
commit | f4bab0b01a536d4897269aed19f88eb238606b75 (patch) | |
tree | 5c1bb183d6b2ba57b35a4e89420816dff8fad634 /x11-wm/windowmaker/files | |
parent | dev-vcs/guilt: [QA] Use proper distfile name (diff) | |
download | gentoo-f4bab0b01a536d4897269aed19f88eb238606b75.tar.gz gentoo-f4bab0b01a536d4897269aed19f88eb238606b75.tar.bz2 gentoo-f4bab0b01a536d4897269aed19f88eb238606b75.zip |
x11-wm/windowmaker: fix build with imagemagick-7, bug #619588
Sync latest changes in live ebuild
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'x11-wm/windowmaker/files')
-rw-r--r-- | x11-wm/windowmaker/files/windowmaker-0.95.8-imagemagick7.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/files/windowmaker-0.95.8-imagemagick7.patch b/x11-wm/windowmaker/files/windowmaker-0.95.8-imagemagick7.patch new file mode 100644 index 000000000000..b4cccab5a71e --- /dev/null +++ b/x11-wm/windowmaker/files/windowmaker-0.95.8-imagemagick7.patch @@ -0,0 +1,35 @@ +imagemagick 7.0 now uses MagickWand/ +--- + m4/wm_imgfmt_check.m4 | 2 +- + wrlib/load_magick.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/m4/wm_imgfmt_check.m4 b/m4/wm_imgfmt_check.m4 +index 5dd9ec7f..14e52bb3 100644 +--- a/m4/wm_imgfmt_check.m4 ++++ b/m4/wm_imgfmt_check.m4 +@@ -312,7 +312,7 @@ AS_IF([test "x$enable_magick" = "xno"], + dnl + dnl The library was found, check if header is available and compiles + wm_save_CFLAGS="$CFLAGS" +- AS_IF([wm_fn_lib_try_compile "wand/magick_wand.h" "MagickWand *wand;" "wand = NewMagickWand()" "$wm_cv_libchk_magick_cflags"], ++ AS_IF([wm_fn_lib_try_compile "MagickWand/MagickWand.h" "MagickWand *wand;" "wand = NewMagickWand()" "$wm_cv_libchk_magick_cflags"], + [wm_cv_libchk_magick="$wm_cv_libchk_magick_cflags % $wm_cv_libchk_magick_libs"], + [AC_MSG_ERROR([found MagickWand library but could not compile its header])]) + CFLAGS="$wm_save_CFLAGS"])dnl +diff --git a/wrlib/load_magick.c b/wrlib/load_magick.c +index 3e809ba2..1edbebc3 100644 +--- a/wrlib/load_magick.c ++++ b/wrlib/load_magick.c +@@ -22,7 +22,7 @@ + + #include "config.h" + +-#include <wand/MagickWand.h> ++#include <MagickWand/MagickWand.h> + + #include "wraster.h" + #include "imgformat.h" +-- +2.13.0 + |