news/slrn: fix crash with SIGSERV in the iconv_convert_string()

Back out r349278 that added --with-non-gnu-iconv trying to solve
our early iconv() inconsistences that are not actual anymore
as it now now correctly returns non-zero count of convertable symbols.

This fixes unsigned underflow in the slrn code turning
negative value to large positive leading to incorrect memory accesses later.

PR:		228502
Approved by:	johans (maintainer timeout, 1 month)
This commit is contained in:
Eugene Grosbein 2018-06-30 00:49:19 +00:00
parent 503576ab27
commit f074df86ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473592

View File

@ -3,6 +3,7 @@
PORTNAME= slrn
PORTVERSION= 1.0.3a
PORTREVISION= 1
CATEGORIES= news ipv6
MASTER_SITES= http://www.jedsoft.org/releases/slrn/
@ -19,7 +20,7 @@ USES= gmake iconv tar:bz2
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-inews --with-slrnpull \
--with-non-gnu-iconv ${ICONV_CONFIGURE_ARG}
${ICONV_CONFIGURE_ARG}
ALL_TARGET= all
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[a-z]$//}