diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-03-25 12:50:49 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-03-25 12:50:49 +0000 |
commit | cab6f249ddff51ea08241b0115c835868b2a1168 (patch) | |
tree | f20de179aa35158b18ca959ae074fc7f33148a50 | |
parent | 85bb8428478425c1d029e5c38d426003958ef19f (diff) | |
download | pkgsrc-cab6f249ddff51ea08241b0115c835868b2a1168.tar.gz |
Increase the default YYMAXDEPTH from 150 to 300, fixes problems building
devel/editline where mdoc2man.awk would previously abort with a stack
overflow. This is still pretty conservative compared to other parsers.
Bump PKGREVISION.
-rw-r--r-- | lang/nawk/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile index dd19caa1532..21390e6ee62 100644 --- a/lang/nawk/Makefile +++ b/lang/nawk/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.40 2014/03/12 14:20:43 ryoon Exp $ +# $NetBSD: Makefile,v 1.41 2014/03/25 12:50:49 jperkin Exp $ DISTNAME= nawk-20121220 +PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= # empty DISTFILES= # empty @@ -13,7 +14,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews BOOTSTRAP_PKG= yes -CFLAGS+= ${CPPFLAGS} +CFLAGS+= ${CPPFLAGS} -DYYMAXDEPTH=300 MAKE_FLAGS+= CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q} BUILD_TARGET= a.out |