summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-10 18:39:08 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-10 18:39:08 +0000
commit48fcad8da8d1ec196f887d479c379406116c8215 (patch)
tree01151d9e51a3c63ffe0b2dccb982c28f33c34ed9
parent02022aac95351835f659b9d7e8737b41c52342ed (diff)
downloadbuildroot-novena-48fcad8da8d1ec196f887d479c379406116c8215.tar.gz
buildroot-novena-48fcad8da8d1ec196f887d479c379406116c8215.zip
- bump version
-rw-r--r--package/m4/m4-1.4.8-001-MB_CUR_MAX.patch13
-rw-r--r--package/m4/m4.mk2
2 files changed, 14 insertions, 1 deletions
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
diff --git a/package/m4/m4.mk b/package/m4/m4.mk
index 255f52c85..5ecdaae55 100644
--- a/package/m4/m4.mk
+++ b/package/m4/m4.mk
@@ -3,7 +3,7 @@
# m4
#
#############################################################
-M4_VER:=1.4.4
+M4_VER:=1.4.8
M4_SOURCE:=m4-$(M4_VER).tar.bz2
M4_CAT:=$(BZCAT)
M4_SITE:=http://ftp.gnu.org/pub/gnu/m4