Hello,

Dear Maintainer,

You package FTBFS with newer imagemagick

Could you help the transition

The following patch should fix the ftbfs with imagemagick 7

I've tested it against imagemagick 6 in unstable and imagemagick 7 in experimental.
--- a/src/bulfius_get_frame.c
+++ b/src/bulfius_get_frame.c
@@ -17,7 +17,11 @@
  *  along with lebiniou. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef MAGICKWAND7
+#include <MagickWand/MagickWand.h>
+#else
 #include <wand/magick_wand.h>
+#endif
 #include "bulfius.h"
 #include "context.h"
 
--- a/src/bulfius_preview.c
+++ b/src/bulfius_preview.c
@@ -17,7 +17,11 @@
  *  along with lebiniou. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef MAGICKWAND7
+#include <MagickWand/MagickWand.h>
+#else
 #include <wand/magick_wand.h>
+#endif
 #include "bulfius.h"
 #include "context.h"
 
--- a/src/screenshot.c
+++ b/src/screenshot.c
@@ -17,7 +17,11 @@
  *  along with lebiniou. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef MAGICKWAND7
+#include <MagickWand/MagickWand.h>
+#else
 #include <wand/magick_wand.h>
+#endif
 #include "context.h"
 
 #define DIRECTORY      "/screenshots/"

Reply via email to