pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/nawk Increase the default YYMAXDEPTH from 150 to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f667f3cef3e
branches:  trunk
changeset: 632333:0f667f3cef3e
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Mar 25 12:50:49 2014 +0000

description:
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.

diffstat:

 lang/nawk/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r b788e63d1138 -r 0f667f3cef3e lang/nawk/Makefile
--- a/lang/nawk/Makefile        Tue Mar 25 12:05:57 2014 +0000
+++ b/lang/nawk/Makefile        Tue Mar 25 12:50:49 2014 +0000
@@ -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 @@
 
 BOOTSTRAP_PKG= yes
 
-CFLAGS+=       ${CPPFLAGS}
+CFLAGS+=       ${CPPFLAGS} -DYYMAXDEPTH=300
 MAKE_FLAGS+=   CC=${CC:Q} CFLAGS=${CFLAGS:M*:Q}
 
 BUILD_TARGET=  a.out



Home | Main Index | Thread Index | Old Index