From patchwork Wed Oct 2 12:28:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 279717 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 4E52A2C007C for ; Wed, 2 Oct 2013 22:29:08 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 70AEB931DF; Wed, 2 Oct 2013 12:29:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MHoKvdgdEe9s; Wed, 2 Oct 2013 12:29:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id EDB3593166; Wed, 2 Oct 2013 12:29:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 44CCB1CE6D1 for ; Wed, 2 Oct 2013 12:29:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3E2C48BCB8 for ; Wed, 2 Oct 2013 12:29:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tLqZlYHiAZ1Y for ; Wed, 2 Oct 2013 12:29:00 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id 79E8E84984 for ; Wed, 2 Oct 2013 12:29:00 +0000 (UTC) Received: from asgard (host136.190-138-193.telecom.net.ar [190.138.193.136]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.7/8.14.7) with ESMTP id r92CSq57021331 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 2 Oct 2013 12:28:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1380716937; bh=OWp/EOA11Ebstm46lUU7kTo801kqtsg9AiR6hrBqGNk=; h=From:To:Cc:Subject:Date; b=P8Y53jMJaWpXxZL937v5hLo/p2r9xV2d/ZSw2vhefdyEDz8vlNDfa4Wb02SU+dhhJ FhUJRqxr5GA1A7qu4q0of6K24MtI4fDFLxF6LihytnIJVCNShel9bXkRyfY98RlbCy Osw55yGX/HHcqbnCNIvgj34TVKwjHaY5d1bjJG2k= Received: by asgard (sSMTP sendmail emulation); Wed, 02 Oct 2013 09:28:47 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Wed, 2 Oct 2013 09:28:44 -0300 Message-Id: <1380716926-24611-1-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 X-Virus-Scanned: clamav-milter 0.97.8 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH 1/3] m4: bump to version 1.4.17 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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. Signed-off-by: Gustavo Zacarias --- 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 diff --git a/package/m4/m4-1.4.16-001-MB_CUR_MAX.patch b/package/m4/m4-1.4.16-001-MB_CUR_MAX.patch deleted file mode 100644 index fce3673..0000000 --- a/package/m4/m4-1.4.16-001-MB_CUR_MAX.patch +++ /dev/null @@ -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 diff --git a/package/m4/m4-1.4.16-no-gets.patch b/package/m4/m4-1.4.16-no-gets.patch deleted file mode 100644 index a057377..0000000 --- a/package/m4/m4-1.4.16-no-gets.patch +++ /dev/null @@ -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 - ---- -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@ diff --git a/package/m4/m4.mk b/package/m4/m4.mk index d06d2c9..2600728 100644 --- a/package/m4/m4.mk +++ b/package/m4/m4.mk @@ -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+