Skip to contentSkip to conversation

m4: bump to version 1.4.17

PATCH New Gustavo Zacarias 2 participants 4 messages Oct 2, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 m4: bump to version 1.4.17

Remove MB_CUR_MAX patch since it's unnecessary/insufficent for non-wchar compilation since c29e01e61e5754c446eb524f65b01195cf25cbcc

no-gets patch unnecessary also since it's been fixed.

---
 package/m4/m4-1.4.16-001-MB_CUR_MAX.patch | 13 -----------
 package/m4/m4-1.4.16-no-gets.patch        | 38 -------------------------------
 package/m4/m4.mk                          |  2 +-
 3 files changed, 1 insertion(+), 52 deletions(-)
 delete mode 100644 package/m4/m4-1.4.16-001-MB_CUR_MAX.patch
 delete mode 100644 package/m4/m4-1.4.16-no-gets.patch
package/m4/m4-1.4.16-001-MB_CUR_MAX.patch deleted +0 -13
deleted file mode 100644
index fce3673..0000000
@@ -1,13 +0,0 @@
---- 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
package/m4/m4-1.4.16-no-gets.patch deleted +0 -38
deleted file mode 100644
index a057377..0000000
@@ -1,38 +0,0 @@
-Since the 2.16 release of the glibc, 'gets' is not any more defined in the gnulib.
-No m4 version synchronized with gnulib since [1] has been released yet.
-
-This patch avoids the following error occurs when building m4 <=1.4.16 on host using
-a glibc >=2.16:
-
-make[4]: Entering directory `/opt/buildroot/output/build/host-m4-1.4.16/lib'
-/opt/buildroot/output/host/usr/bin/ccache /usr/bin/gcc -std=gnu99  -I.     -O2 -I/opt/buildroot/output/host/include -I/opt/buildroot/output/host/usr/include -MT gl_avltree_oset.o -MD -MP -MF .deps/gl_avltree_oset.Tpo -c -o gl_avltree_oset.o gl_avltree_oset.c
-/opt/buildroot/output/host/usr/bin/ccache /usr/bin/gcc -std=gnu99  -I.     -O2 -I/opt/buildroot/output/host/include -I/opt/buildroot/output/host/usr/include -MT c-ctype.o -MD -MP -MF .deps/c-ctype.Tpo -c -o c-ctype.o c-ctype.c
-/opt/buildroot/output/host/usr/bin/ccache /usr/bin/gcc -std=gnu99  -I.     -O2 -I/opt/buildroot/output/host/include -I/opt/buildroot/output/host/usr/include -MT c-stack.o -MD -MP -MF .deps/c-stack.Tpo -c -o c-stack.o c-stack.c
-/opt/buildroot/output/host/usr/bin/ccache /usr/bin/gcc -std=gnu99  -I.     -O2 -I/opt/buildroot/output/host/include -I/opt/buildroot/output/host/usr/include -MT clean-temp.o -MD -MP -MF .deps/clean-temp.Tpo -c -o clean-temp.o clean-temp.c
-mv -f .deps/c-ctype.Tpo .deps/c-ctype.Po
-/opt/buildroot/output/host/usr/bin/ccache /usr/bin/gcc -std=gnu99  -I.     -O2 -I/opt/buildroot/output/host/include -I/opt/buildroot/output/host/usr/include -MT close-hook.o -MD -MP -MF .deps/close-hook.Tpo -c -o close-hook.o close-hook.c
-In file included from clean-temp.h:22:0,
-                 from clean-temp.c:23:
-./stdio.h:477:20: error 'gets' undeclared here (not in a function)
-make[4]: *** [clean-temp.o] Error 1
-
-References:
-[1] http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=66712c23388e93e5c518ebc8515140fa0c807348
-[2] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-devel/m4/files/m4-1.4.16-no-gets.patch?diff_format=h&revision=1.1&view=markup
-
-Signed-off-by: Samuel Martin <[email protected]>
-
----
-diff -purN host-m4-1.4.16.orig/lib/stdio.in.h host-m4-1.4.16/lib/stdio.in.h
---- host-m4-1.4.16.orig/lib/stdio.in.h	2012-07-21 19:11:40.196541826 +0200
-+++ host-m4-1.4.16/lib/stdio.in.h	2012-07-21 20:46:05.405850751 +0200
-@@ -162,7 +162,9 @@ _GL_WARN_ON_USE (fflush, "fflush is not
-    so any use of gets warrants an unconditional warning.  Assume it is
-    always declared, since it is required by C89.  */
- #undef gets
-+#if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16)
- _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
-+#endif
- 
- #if @GNULIB_FOPEN@
- # if @REPLACE_FOPEN@
package/m4/m4.mk +1 -1
index d06d2c9..2600728 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-M4_VERSION = 1.4.16
+M4_VERSION = 1.4.17
 M4_SOURCE = m4-$(M4_VERSION).tar.xz
 M4_SITE = $(BR2_GNU_MIRROR)/m4
 M4_LICENSE = GPLv3+
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 2/3 bison: bump to version 3.0

---
 package/bison/bison.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/bison/bison.mk +1 -1
index 1fbbf91..47a7560 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-BISON_VERSION = 2.7.1
+BISON_VERSION = 3.0
 BISON_SOURCE = bison-$(BISON_VERSION).tar.xz
 BISON_SITE = $(BR2_GNU_MIRROR)/bison
 BISON_LICENSE = GPLv3+
Signature · 1 line
1.8.1.5
#2 lore raw

PATCH 3/3 gmp: bump to version 5.1.3

In reply to Gustavo Zacarias

Also switch to http gnu site instead of ftp.

---
 package/gmp/gmp.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/gmp/gmp.mk +2 -2
index 86ed33c..d970545 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-GMP_VERSION = 5.1.2
-GMP_SITE = ftp://ftp.gmplib.org/pub/gmp-$(GMP_VERSION)
+GMP_VERSION = 5.1.3
+GMP_SITE = $(BR2_GNU_MIRROR)/gmp
 GMP_SOURCE = gmp-$(GMP_VERSION).tar.xz
 GMP_INSTALL_STAGING = YES
 GMP_LICENSE = LGPLv3+
Signature · 1 line
1.8.1.5
#3 lore raw

PATCH 1/3 m4: bump to version 1.4.17

In reply to Gustavo Zacarias
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Gustavo> Remove MB_CUR_MAX patch since it's unnecessary/insufficent for Gustavo> non-wchar compilation since
Gustavo> c29e01e61e5754c446eb524f65b01195cf25cbcc

Gustavo> no-gets patch unnecessary also since it's been fixed.

Committed series, thanks.

Signature · 1 line
Bye, Peter Korsgaard