Do not coredump when viewing files larger that 8Mb.

Bump PORTREVISION
Minor cosmetic fixes in the Makefile.

Submitted by:	Pavel Biryukov <pavel@svegapro.ru>
This commit is contained in:
Dmitry Sivachenko 2001-08-16 13:51:31 +00:00
parent a91db81e2c
commit 306fed238a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46330
2 changed files with 23 additions and 11 deletions

View File

@ -5,19 +5,20 @@
# $FreeBSD$
#
PORTNAME= deco
PORTVERSION= 3.8.3
CATEGORIES= misc
MASTER_SITES= ftp://ftp.cronyx.ru/cronyx/deco/
DISTNAME= deco383
EXTRACT_SUFX= .tgz
PORTNAME= deco
PORTVERSION= 3.8.3
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= ftp://ftp.cronyx.ru/cronyx/deco/
DISTNAME= deco383
EXTRACT_SUFX= .tgz
MAINTAINER= demon@FreeBSD.org
WRKSRC= ${WRKDIR}/deco383
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/share
CONFIGURE_ENV= ac_cv_lib_ncurses_tgetent=no
MAN1= deco.1 deco-r.1
WRKSRC= ${WRKDIR}/deco383
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/share
CONFIGURE_ENV= ac_cv_lib_ncurses_tgetent=no
MAN1= deco.1 deco-r.1
.include <bsd.port.mk>

11
misc/deco/files/patch-af Normal file
View File

@ -0,0 +1,11 @@
--- rec.c.orig Thu Aug 16 17:29:07 2001
+++ rec.c Thu Aug 16 17:29:35 2001
@@ -61,7 +61,7 @@
static char *scanbuf, *pbuf;
static char *tfilename;
static int eoln;
-static int MAXLEN = ((unsigned int) (int) -1 >> 1) / sizeof (struct index);
+static int MAXLEN = 32767;
static int ffcopy (int from, int to)
{