aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2013-06-02 23:37:23 +0800
committercrees <crees@FreeBSD.org>2013-06-02 23:37:23 +0800
commit7aa6bdcb81b1166bcb47ff3a7408b629bdd3871d (patch)
tree0950439e45f4a81a6ab77905308b008a9ec54c00 /lang
parentc3e33f89dcbe8bfa4b2e9bd205c14b59c61e7b16 (diff)
downloadfreebsd-ports-gnome-7aa6bdcb81b1166bcb47ff3a7408b629bdd3871d.tar.gz
freebsd-ports-gnome-7aa6bdcb81b1166bcb47ff3a7408b629bdd3871d.tar.zst
freebsd-ports-gnome-7aa6bdcb81b1166bcb47ff3a7408b629bdd3871d.zip
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
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl86/Makefile2
-rw-r--r--lang/tcl86/files/patch-generic-regc_nfa.c11
2 files changed, 12 insertions, 1 deletions
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);