]> git.pld-linux.org Git - packages/dmtx-utils.git/blob - imagemagick7.patch
- release 6 (by relup.sh)
[packages/dmtx-utils.git] / imagemagick7.patch
1 diff -ur dmtx-utils-0.7.4/configure.ac dmtx-utils-0.7.4-im7/configure.ac
2 --- dmtx-utils-0.7.4/configure.ac       2016-12-25 17:54:31.633992016 +0100
3 +++ dmtx-utils-0.7.4-im7/configure.ac   2016-12-25 17:43:52.006935201 +0100
4 @@ -59,7 +59,7 @@
5  fi
6  
7  if test x$dmtxread = xyes -o x$dmtxwrite = xyes; then
8 -   PKG_CHECK_MODULES(MAGICK, Wand >= 6.2.4, [], AC_MSG_ERROR([dmtxread/dmtxwrite requires Wand >= 6.2.4]))
9 +   PKG_CHECK_MODULES(MAGICK, MagickWand >= 6.2.4, [], AC_MSG_ERROR([dmtxread/dmtxwrite requires Wand >= 6.2.4]))
10     AC_SUBST(MAGICK_CFLAGS)
11     AC_SUBST(MAGICK_LIBS)
12  fi
13 diff -ur dmtx-utils-0.7.4/dmtxread/dmtxread.c dmtx-utils-0.7.4-im7/dmtxread/dmtxread.c
14 --- dmtx-utils-0.7.4/dmtxread/dmtxread.c        2011-06-03 07:13:10.000000000 +0200
15 +++ dmtx-utils-0.7.4-im7/dmtxread/dmtxread.c    2016-12-25 17:52:06.070673612 +0100
16 @@ -114,7 +114,7 @@
17           }
18  
19           /* Copy pixels to known format */
20 -         success = MagickGetImagePixels(wand, 0, 0, width, height, "RGB", CharPixel, pxl);
21 +         success = MagickImportImagePixels(wand, 0, 0, width, height, "RGB", CharPixel, pxl);
22           if(success == MagickFalse || pxl == NULL) {
23              CleanupMagick(&wand, DmtxTrue);
24              FatalError(EX_OSERR, "malloc() error");
25 diff -ur dmtx-utils-0.7.4/dmtxread/dmtxread.h dmtx-utils-0.7.4-im7/dmtxread/dmtxread.h
26 --- dmtx-utils-0.7.4/dmtxread/dmtxread.h        2011-06-03 07:13:10.000000000 +0200
27 +++ dmtx-utils-0.7.4-im7/dmtxread/dmtxread.h    2016-12-25 17:53:16.762275566 +0100
28 @@ -33,7 +33,7 @@
29  #include <math.h>
30  #include <stdarg.h>
31  #include <assert.h>
32 -#include <wand/magick-wand.h>
33 +#include <MagickWand/MagickWand.h>
34  #include <dmtx.h>
35  #include "../common/dmtxutil.h"
36  
37 diff -ur dmtx-utils-0.7.4/dmtxwrite/dmtxwrite.h dmtx-utils-0.7.4-im7/dmtxwrite/dmtxwrite.h
38 --- dmtx-utils-0.7.4/dmtxwrite/dmtxwrite.h      2011-06-03 07:13:10.000000000 +0200
39 +++ dmtx-utils-0.7.4-im7/dmtxwrite/dmtxwrite.h  2016-12-25 17:53:07.285393032 +0100
40 @@ -34,7 +34,7 @@
41  #include <sys/stat.h>
42  #include <fcntl.h>
43  #include <assert.h>
44 -#include <wand/magick-wand.h>
45 +#include <MagickWand/MagickWand.h>
46  #include <dmtx.h>
47  #include "../common/dmtxutil.h"
48  
This page took 0.116525 seconds and 3 git commands to generate.