openbsd-ports/graphics/zbar/patches/patch-zbarimg_zbarimg_c
jsg 63ce350dd3 Import of zbar-0.10
ZBar is an open source software suite for reading bar codes from
various sources, such as video streams, image files and raw
intensity sensors. It supports many popular symbologies
(types of bar codes) including EAN-13/UPC-A, UPC-E, EAN-8, Code 128,
Code 39, Interleaved 2 of 5 and QR Code.

ok kili@
2010-03-22 21:57:58 +00:00

13 lines
418 B
Plaintext

$OpenBSD: patch-zbarimg_zbarimg_c,v 1.1.1.1 2010/03/22 21:57:58 jsg Exp $
--- zbarimg/zbarimg.c.orig Sun Mar 14 18:58:25 2010
+++ zbarimg/zbarimg.c Sun Mar 14 19:20:47 2010
@@ -47,6 +47,8 @@
*/
#if MagickLibVersion < 0x645
# define MagickExportImagePixels MagickGetImagePixels
+#else if MagickLibVersion == 0x645
+#define MagickExportImagePixels MagickGetAuthenticPixels
#endif
static const char *note_usage =