cwen cd0438c481 ish: fix an infinite loop on unsigned char archs
Decoding using the -lf option on powerpc made ish freeze. A looped
fgetc(3) call never reached EOF, since the return value was stored
as a char, that is unsigned on powerpc and arm*, instead of int.

OK jca@
2021-07-24 19:26:54 +00:00

28 lines
523 B
Makefile

# $OpenBSD: Makefile,v 1.25 2021/07/24 19:26:54 cwen Exp $
COMMENT= binary-to-text file converter
DISTNAME= ish201a5
PKGNAME= ish-2.01a5
REVISION= 0
CATEGORIES= converters
PERMIT_PACKAGE= no license
PERMIT_DISTFILES= no license
WANTLIB += c
MASTER_SITES= \
${MASTER_SITE_FREEBSD} \
http://www.unix.gr.jp/jnetcex/soft/
MAKE_FILE= makefile
MAKE_FLAGS= CFLAGS="${CFLAGS}" CC="${CC}"
ALL_TARGET= ish dispish
NO_TEST= Yes
do-install:
cd ${WRKSRC}; ${INSTALL_PROGRAM} ish dispish ${PREFIX}/bin
.include <bsd.port.mk>