mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
graphics/iec16022: Update to 0.3.1
- Use upstream release archive - Pacify portlint - Pacify portfmt/portclippy - Remove now obsolete patches PR: 264606
This commit is contained in:
parent
5c9dad4624
commit
5330db110d
@ -1,9 +1,9 @@
|
||||
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
||||
|
||||
PORTNAME= iec16022
|
||||
PORTVERSION= 0.3.0
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.3.1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= https://github.com/rdoeffinger/${PORTNAME}/releases/download/v${DISTVERSION}/
|
||||
|
||||
MAINTAINER= ehaupt@FreeBSD.org
|
||||
COMMENT= Create 2D barcodes, also known as DataMatrix
|
||||
@ -12,20 +12,12 @@ LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= libpopt.so:devel/popt
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= rdoeffinger
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake libtool pathfix pkgconfig tar:xz
|
||||
USE_LDCONFIG= yes
|
||||
USES= autoreconf gmake libtool pathfix pkgconfig
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
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
|
||||
CFLAGS+= -fPIC
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1499334495
|
||||
SHA256 (rdoeffinger-iec16022-v0.3.0_GH0.tar.gz) = e7fb5c1963587e4abcf5fa041d61d64a8c495e3c8d054f2b2b8dfa1882d14869
|
||||
SIZE (rdoeffinger-iec16022-v0.3.0_GH0.tar.gz) = 30847
|
||||
TIMESTAMP = 1654900509
|
||||
SHA256 (iec16022-0.3.1.tar.xz) = 5a83dbab402390695367cf1ea456140e51ff68171cbc0352ceba4be227715e07
|
||||
SIZE (iec16022-0.3.1.tar.xz) = 258276
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- image.c.orig 2017-07-05 23:29:56 UTC
|
||||
+++ image.c
|
||||
@@ -32,6 +32,8 @@ static inline unsigned htonl(unsigned i)
|
||||
#endif
|
||||
#include "image.h"
|
||||
|
||||
+#include <unistd.h>
|
||||
+
|
||||
#define INTERLACE
|
||||
#define CLEAR
|
||||
#define USEZLIB
|
Loading…
Reference in New Issue
Block a user