diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-07-19 23:17:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-07-19 23:17:17 +0000 |
commit | 92b8e8cb1e99fb55ef1e19ce510e198df8cd271b (patch) | |
tree | e9daf3e3a9cc956f94b2e650ba455a4e8b37c74c /dev-libs/libpipeline | |
parent | version bump, by Jacques-Pascal Deplaix, bug #426862, with improvements by me (diff) | |
download | gentoo-2-92b8e8cb1e99fb55ef1e19ce510e198df8cd271b.tar.gz gentoo-2-92b8e8cb1e99fb55ef1e19ce510e198df8cd271b.tar.bz2 gentoo-2-92b8e8cb1e99fb55ef1e19ce510e198df8cd271b.zip |
Fix building with glibc-2.16 #427254 by Oschtan.
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libpipeline')
-rw-r--r-- | dev-libs/libpipeline/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/libpipeline/files/libpipeline-1.2.1-no-gets.patch | 24 | ||||
-rw-r--r-- | dev-libs/libpipeline/libpipeline-1.2.1.ebuild | 6 |
3 files changed, 34 insertions, 2 deletions
diff --git a/dev-libs/libpipeline/ChangeLog b/dev-libs/libpipeline/ChangeLog index c943bc4894c4..0893c25172f1 100644 --- a/dev-libs/libpipeline/ChangeLog +++ b/dev-libs/libpipeline/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libpipeline # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpipeline/ChangeLog,v 1.11 2012/07/14 17:18:06 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpipeline/ChangeLog,v 1.12 2012/07/19 23:17:17 vapier Exp $ + + 19 Jul 2012; Mike Frysinger <vapier@gentoo.org> + +files/libpipeline-1.2.1-no-gets.patch, libpipeline-1.2.1.ebuild: + Fix building with glibc-2.16 #427254 by Oschtan. 14 Jul 2012; Naohiro Aota <naota@gentoo.org> libpipeline-1.2.1.ebuild: Add ~x86-fbsd. #244517 diff --git a/dev-libs/libpipeline/files/libpipeline-1.2.1-no-gets.patch b/dev-libs/libpipeline/files/libpipeline-1.2.1-no-gets.patch new file mode 100644 index 000000000000..d7849fd4176c --- /dev/null +++ b/dev-libs/libpipeline/files/libpipeline-1.2.1-no-gets.patch @@ -0,0 +1,24 @@ +https://bugs.gentoo.org/427254 + +hack until libpipeline pulls a newer gnulib version + +From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001 +From: Eric Blake <eblake@redhat.com> +Date: Thu, 29 Mar 2012 13:30:41 -0600 +Subject: [PATCH] stdio: don't assume gets any more + +Gnulib intentionally does not have a gets module, and now that C11 +and glibc have dropped it, we should be more proactive about warning +any user on a platform that still has a declaration of this dangerous +interface. + +--- a/gnulib/lib/stdio.in.h ++++ b/gnulib/lib/stdio.in.h +@@ -125,7 +125,6 @@ + /* It is very rare that the developer ever has full control of stdin, + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + #endif + + diff --git a/dev-libs/libpipeline/libpipeline-1.2.1.ebuild b/dev-libs/libpipeline/libpipeline-1.2.1.ebuild index 2fd0c125fba3..9de7b2bd3307 100644 --- a/dev-libs/libpipeline/libpipeline-1.2.1.ebuild +++ b/dev-libs/libpipeline/libpipeline-1.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpipeline/libpipeline-1.2.1.ebuild,v 1.3 2012/07/14 17:18:06 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpipeline/libpipeline-1.2.1.ebuild,v 1.4 2012/07/19 23:17:17 vapier Exp $ EAPI="4" @@ -17,3 +17,7 @@ IUSE="static-libs test" DEPEND="virtual/pkgconfig test? ( dev-libs/check )" + +PATCHES=( + "${FILESDIR}"/${P}-no-gets.patch #427254 +) |