From 48fcad8da8d1ec196f887d479c379406116c8215 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 10 Jan 2007 18:39:08 +0000 Subject: - bump version --- package/m4/m4-1.4.8-001-MB_CUR_MAX.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/m4/m4-1.4.8-001-MB_CUR_MAX.patch (limited to 'package/m4/m4-1.4.8-001-MB_CUR_MAX.patch') diff --git a/package/m4/m4-1.4.8-001-MB_CUR_MAX.patch b/package/m4/m4-1.4.8-001-MB_CUR_MAX.patch new file mode 100644 index 000000000..fce36731b --- /dev/null +++ b/package/m4/m4-1.4.8-001-MB_CUR_MAX.patch @@ -0,0 +1,13 @@ +--- m4-1.4.8.orig/lib/regcomp.c 2006-09-24 06:28:37.000000000 +0200 ++++ m4-1.4.8/lib/regcomp.c 2007-01-06 20:53:10.000000000 +0100 +@@ -871,6 +871,10 @@ init_dfa (re_dfa_t *dfa, size_t pat_len) + dfa->state_table = calloc (sizeof (struct re_state_table_entry), table_size); + dfa->state_hash_mask = table_size - 1; + ++#ifndef MB_CUR_MAX ++#define MB_CUR_MAX (0) ++#endif ++ + dfa->mb_cur_max = MB_CUR_MAX; + #ifdef _LIBC + if (dfa->mb_cur_max == 6 -- cgit v1.2.3