zbar: rebuild for ImageMagick-7.0.8.11.

This commit is contained in:
Johannes 2018-09-13 00:30:29 +02:00 committed by Johannes
parent f937718a42
commit d60da39dd7
2 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,11 @@
--- zbarimg/zbarimg.c.orig 2018-09-13 17:48:15.659285113 +0200
+++ zbarimg/zbarimg.c 2018-09-13 17:54:59.436644182 +0200
@@ -38,7 +38,7 @@
#include <assert.h>
#include <zbar.h>
-#include <wand/MagickWand.h>
+#include <MagickWand/MagickWand.h>
/* in 6.4.5.4 MagickGetImagePixels changed to MagickExportImagePixels.
* (still not sure this check is quite right...

View file

@ -1,9 +1,9 @@
# Template file for 'zbar'
pkgname=zbar
version=0.10
revision=5
revision=6
build_style=gnu-configure
configure_args="$(vopt_with qt) --with-gtk"
configure_args="ac_cv_header_wand_MagickWand_h=yes $(vopt_with qt) --with-gtk"
hostmakedepends="automake pkg-config libtool gettext-devel python
$(vopt_if qt 'qt-qmake qt-host-tools') glib-devel"
makedepends="libmagick-devel libXv-devel pygtk-devel $(vopt_if qt qt-devel) v4l-utils-devel"