Index: head/graphics/iec16022/Makefile =================================================================== --- head/graphics/iec16022/Makefile (revision 445131) +++ head/graphics/iec16022/Makefile (revision 445132) @@ -1,32 +1,32 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= iec16022 -PORTVERSION= 0.2.7 +PORTVERSION= 0.3.0 DISTVERSIONPREFIX= v CATEGORIES= graphics MAINTAINER= ehaupt@FreeBSD.org COMMENT= Create 2D barcodes, also known as DataMatrix LICENSE= GPLv2 LIB_DEPENDS= libpopt.so:devel/popt USE_GITHUB= yes GH_ACCOUNT= rdoeffinger GNU_CONFIGURE= yes USE_LDCONFIG= yes USES= autoreconf gmake libtool pathfix pkgconfig CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/iec16022.c \ ${WRKSRC}/iec16022ecc200.c ${WRKSRC}/reedsol.c ${WRKSRC}/image.c @${REINPLACE_CMD} -e '/-Wno-unused-result/d' ${WRKSRC}/Makefile.am .include Index: head/graphics/iec16022/distinfo =================================================================== --- head/graphics/iec16022/distinfo (revision 445131) +++ head/graphics/iec16022/distinfo (revision 445132) @@ -1,3 +1,3 @@ -TIMESTAMP = 1475423331 -SHA256 (rdoeffinger-iec16022-v0.2.7_GH0.tar.gz) = 34f00da5f6c83dd14b2803e5ed0f5310310e452023fe989c59fc5489b78cd33a -SIZE (rdoeffinger-iec16022-v0.2.7_GH0.tar.gz) = 32970 +TIMESTAMP = 1499334495 +SHA256 (rdoeffinger-iec16022-v0.3.0_GH0.tar.gz) = e7fb5c1963587e4abcf5fa041d61d64a8c495e3c8d054f2b2b8dfa1882d14869 +SIZE (rdoeffinger-iec16022-v0.3.0_GH0.tar.gz) = 30847 Index: head/graphics/iec16022/files/patch-image.c =================================================================== --- head/graphics/iec16022/files/patch-image.c (revision 445131) +++ head/graphics/iec16022/files/patch-image.c (revision 445132) @@ -1,11 +1,11 @@ ---- image.c.orig 2016-10-02 16:05:20 UTC +--- image.c.orig 2017-07-05 23:29:56 UTC +++ image.c -@@ -40,6 +40,8 @@ static inline unsigned htonl(unsigned i) - #include +@@ -32,6 +32,8 @@ static inline unsigned htonl(unsigned i) #endif + #include "image.h" +#include + - static unsigned char const bbc[] = { - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // - 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x18, 0x00, // ! + #define INTERLACE + #define CLEAR + #define USEZLIB