From 7aa6bdcb81b1166bcb47ff3a7408b629bdd3871d Mon Sep 17 00:00:00 2001 From: crees Date: Sun, 2 Jun 2013 15:37:23 +0000 Subject: Increase the regex size limit to 1000, thus fixing libffi test suite. Submitted by: dim Obtained from: http://sourceforge.net/tracker/?func=detail&aid=3603557&group_id=10894&atid=110894 --- lang/tcl86/Makefile | 2 +- lang/tcl86/files/patch-generic-regc_nfa.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 lang/tcl86/files/patch-generic-regc_nfa.c diff --git a/lang/tcl86/Makefile b/lang/tcl86/Makefile index 11e875dbc17f..ef14310e48f3 100644 --- a/lang/tcl86/Makefile +++ b/lang/tcl86/Makefile @@ -3,7 +3,7 @@ PORTNAME= tcl PORTVERSION= 8.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang MASTER_SITES= SF/tcl/Tcl/${PORTVERSION} \ ${MASTER_SITE_TCLTK} diff --git a/lang/tcl86/files/patch-generic-regc_nfa.c b/lang/tcl86/files/patch-generic-regc_nfa.c new file mode 100644 index 000000000000..3fdc9f6e0609 --- /dev/null +++ b/lang/tcl86/files/patch-generic-regc_nfa.c @@ -0,0 +1,11 @@ +--- ../generic/regc_nfa.c 2013-06-01 17:57:46.483457654 +0100 ++++ ../generic/regc_nfa.c 2013-06-01 17:57:59.049271978 +0100 +@@ -759,7 +759,7 @@ + * Arbitrary depth limit. Needs tuning, but this value is sufficient to + * make all normal tests (not reg-33.14) pass. + */ +-#define DUPTRAVERSE_MAX_DEPTH 500 ++#define DUPTRAVERSE_MAX_DEPTH 1000 + + if (depth++ > DUPTRAVERSE_MAX_DEPTH) { + NERR(REG_ESPACE); -- cgit