[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.0-2-ge850668
Brought to you by:
sszy
|
From: jorasse <jo...@us...> - 2012-08-16 09:48:17
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via e850668bfc48dcb76648b593b72f7fa4bced891f (commit)
from 91404b72c0a48bd2f078bc69ed84759aa8ddee1b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e850668bfc48dcb76648b593b72f7fa4bced891f
Author: Samuel Martin <s.m...@gm...>
Date: Wed Aug 15 17:44:32 2012 +0200
fix host-tar and host-m4 build on systems based on glibc-2.16 or later
Already included in the Buildroot release 2012.08.
Upstream patches:
http://git.uclibc.org/buildroot/patch/?id=600375d18e6ccd08505153863666f2e8b10251be
http://git.uclibc.org/buildroot/patch/?id=9664e610716d24bdfb784c0e0414b88a2879a4e1
Signed-off-by: Samuel Martin <s.m...@gm...>
create mode 100644 patches/buildroot/2012.02/192-m4-fix-build-with-glibc-2.16.patch
create mode 100644 patches/buildroot/2012.02/193-tar-fix-build-with-glibc-2.16.patch
Signed-off-by: Eric Jarrige <eri...@ar...>
-----------------------------------------------------------------------
Summary of changes:
.../2012.02/192-m4-fix-build-with-glibc-2.16.patch | 59 +++++++++++++++++
.../193-tar-fix-build-with-glibc-2.16.patch | 68 ++++++++++++++++++++
2 files changed, 127 insertions(+), 0 deletions(-)
create mode 100644 patches/buildroot/2012.02/192-m4-fix-build-with-glibc-2.16.patch
create mode 100644 patches/buildroot/2012.02/193-tar-fix-build-with-glibc-2.16.patch
diff --git a/patches/buildroot/2012.02/192-m4-fix-build-with-glibc-2.16.patch b/patches/buildroot/2012.02/192-m4-fix-build-with-glibc-2.16.patch
new file mode 100644
index 0000000..2756ee0
--- /dev/null
+++ b/patches/buildroot/2012.02/192-m4-fix-build-with-glibc-2.16.patch
@@ -0,0 +1,59 @@
+From 600375d18e6ccd08505153863666f2e8b10251be Mon Sep 17 00:00:00 2001
+From: Samuel Martin <s.m...@gm...>
+Date: Sun, 22 Jul 2012 15:28:37 +0200
+Subject: [PATCH 1/2] m4: fix build with glibc >=2.16
+
+Signed-off-by: Samuel Martin <s.m...@gm...>
+
+ create mode 100644 package/m4/m4-1.4.16-no-gets.patch
+Signed-off-by: Thomas Petazzoni <tho...@fr...>
+
+ create mode 100644 package/m4/m4-1.4.16-no-gets.patch
+
+diff --git a/package/m4/m4-1.4.16-no-gets.patch b/package/m4/m4-1.4.16-no-gets.patch
+new file mode 100644
+index 0000000..a057377
+--- /dev/null
++++ b/package/m4/m4-1.4.16-no-gets.patch
+@@ -0,0 +1,38 @@
++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 <s.m...@gm...>
++
++---
++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@
+--
+1.7.11.4
+
diff --git a/patches/buildroot/2012.02/193-tar-fix-build-with-glibc-2.16.patch b/patches/buildroot/2012.02/193-tar-fix-build-with-glibc-2.16.patch
new file mode 100644
index 0000000..b1f84c9
--- /dev/null
+++ b/patches/buildroot/2012.02/193-tar-fix-build-with-glibc-2.16.patch
@@ -0,0 +1,68 @@
+From 9664e610716d24bdfb784c0e0414b88a2879a4e1 Mon Sep 17 00:00:00 2001
+From: Samuel Martin <s.m...@gm...>
+Date: Sun, 22 Jul 2012 15:28:38 +0200
+Subject: [PATCH 2/2] tar: fix build with glibc >=2.16
+
+Signed-off-by: Samuel Martin <s.m...@gm...>
+
+ create mode 100644 package/tar/tar-1.26-no-gets.patch
+Signed-off-by: Thomas Petazzoni <tho...@fr...>
+
+ create mode 100644 package/tar/tar-1.26-no-gets.patch
+
+diff --git a/package/tar/tar-1.26-no-gets.patch b/package/tar/tar-1.26-no-gets.patch
+new file mode 100644
+index 0000000..fb9d188
+--- /dev/null
++++ b/package/tar/tar-1.26-no-gets.patch
+@@ -0,0 +1,47 @@
++Since the 2.16 release of the glibc, 'gets' is not any more defined in the gnulib.
++No tar version synchronized with gnulib since [1] has been released yet.
++
++This patch avoids the following error occurs when building tar <=1.4.16 on host using
++a glibc >=2.16:
++
++make[5]: Entering directory `/home/samuel/data/workspace/src/buildroot/master/output/build/host-tar-1.26/gnu'
++ CC areadlink.o
++ CC areadlinkat.o
++ CC argp-ba.o
++ CC argp-eexst.o
++ CC argp-fmtstream.o
++ CC argp-fs-xinl.o
++In file included from argp.h:24:0,
++ from argp-eexst.c:27:
++./stdio.h:479:1: error âgetsâ undeclared here (not in a function)
++make[5]: *** [argp-eexst.o] Error 1
++make[5]: *** Waiting for unfinished jobs....
++In file included from argp-fmtstream.h:29:0,
++ from argp-fs-xinl.c:28:
++./stdio.h:479:1: error âgetsâ undeclared here (not in a function)
++make[5]: *** [argp-fs-xinl.o] Error 1
++In file included from argp-fmtstream.h:29:0,
++ from argp-fmtstream.c:35:
++./stdio.h:479:1: error âgetsâ undeclared here (not in a function)
++make[5]: *** [argp-fmtstream.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 <s.m...@gm...>
++
++---
++diff -purN host-tar-1.26.orig/gnu/stdio.in.h host-tar-1.26/gnu/stdio.in.h
++--- host-tar-1.26.orig/gnu/stdio.in.h 2012-07-21 21:17:12.392403084 +0200
+++++ host-tar-1.26/gnu/stdio.in.h 2012-07-21 21:18:27.991993525 +0200
++@@ -164,7 +164,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@
+--
+1.7.11.4
+
hooks/post-receive
--
armadeus
|