diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-07-15 16:48:18 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-07-15 16:48:18 +0000 |
commit | 151bdb1152ffed14a9fb924ce735dfc0a89e88e8 (patch) | |
tree | ea9709791a12390827187af125a23a5a005c685e | |
parent | Fix ${S} (thanks Pim Vullers, bug 476920) (diff) | |
download | gentoo-2-151bdb1152ffed14a9fb924ce735dfc0a89e88e8.tar.gz gentoo-2-151bdb1152ffed14a9fb924ce735dfc0a89e88e8.tar.bz2 gentoo-2-151bdb1152ffed14a9fb924ce735dfc0a89e88e8.zip |
Fix building against >=sys-libs/glibc-2.16.
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key A792A613)
-rw-r--r-- | sys-block/parted/ChangeLog | 6 | ||||
-rw-r--r-- | sys-block/parted/files/parted-2.4-no-gets.patch | 10 | ||||
-rw-r--r-- | sys-block/parted/parted-2.4.ebuild | 4 |
3 files changed, 18 insertions, 2 deletions
diff --git a/sys-block/parted/ChangeLog b/sys-block/parted/ChangeLog index 1e451fd37823..fd478881d1a0 100644 --- a/sys-block/parted/ChangeLog +++ b/sys-block/parted/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-block/parted # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.30 2013/07/15 10:25:18 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/ChangeLog,v 1.31 2013/07/15 16:48:18 jer Exp $ + + 15 Jul 2013; Jeroen Roovers <jer@gentoo.org> +files/parted-2.4-no-gets.patch, + parted-2.4.ebuild: + Fix building against >=sys-libs/glibc-2.16. 15 Jul 2013; Jeroen Roovers <jer@gentoo.org> parted-2.4.ebuild: Set --disable-silent-rules. diff --git a/sys-block/parted/files/parted-2.4-no-gets.patch b/sys-block/parted/files/parted-2.4-no-gets.patch new file mode 100644 index 000000000000..efa6e00b8d45 --- /dev/null +++ b/sys-block/parted/files/parted-2.4-no-gets.patch @@ -0,0 +1,10 @@ +--- a/lib/stdio.in.h ++++ b/lib/stdio.in.h +@@ -735,7 +735,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/sys-block/parted/parted-2.4.ebuild b/sys-block/parted/parted-2.4.ebuild index c1ebe9b2d4c7..814f40781970 100644 --- a/sys-block/parted/parted-2.4.ebuild +++ b/sys-block/parted/parted-2.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-2.4.ebuild,v 1.5 2013/07/15 10:25:18 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/parted/parted-2.4.ebuild,v 1.6 2013/07/15 16:48:18 jer Exp $ EAPI="3" @@ -31,6 +31,8 @@ DEPEND=" " src_prepare() { + epatch "${FILESDIR}"/${P}-no-gets.patch + # Remove tests known to FAIL instead of SKIP without OS/userland support sed -i libparted/tests/Makefile.am \ -e 's|t3000-symlink.sh||g' || die "sed failed" |