summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-09-06 18:49:24 +0000
committerMike Frysinger <vapier@gentoo.org>2012-09-06 18:49:24 +0000
commite0dd9ad91574a8008a62710b07e446b0fbf1e8c7 (patch)
treeaf84d384513c86429a83c6656540d00d626d0405 /sys-apps/coreutils/coreutils-8.16.ebuild
parentPunt older. (diff)
downloadgentoo-2-e0dd9ad91574a8008a62710b07e446b0fbf1e8c7.tar.gz
gentoo-2-e0dd9ad91574a8008a62710b07e446b0fbf1e8c7.tar.bz2
gentoo-2-e0dd9ad91574a8008a62710b07e446b0fbf1e8c7.zip
Hack the glibc-2.16/gets issue to current stable (already fixed in newer versions).
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/coreutils/coreutils-8.16.ebuild')
-rw-r--r--sys-apps/coreutils/coreutils-8.16.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/coreutils/coreutils-8.16.ebuild b/sys-apps/coreutils/coreutils-8.16.ebuild
index b405970b0c7e..57e8d7fe5847 100644
--- a/sys-apps/coreutils/coreutils-8.16.ebuild
+++ b/sys-apps/coreutils/coreutils-8.16.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/sys-apps/coreutils/coreutils-8.16.ebuild,v 1.6 2012/08/23 21:08:56 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.16.ebuild,v 1.7 2012/09/06 18:49:24 vapier Exp $
EAPI="3"
@@ -44,6 +44,9 @@ src_prepare() {
PATCHDIR="${WORKDIR}/patch" \
EPATCH_EXCLUDE="001_all_coreutils-gen-progress-bar.patch" \
epatch
+
+ # This is fixed in newer versions -- this hack is for stable.
+ sed -i '/_GL_WARN_ON_USE.*gets,/d' lib/stdio.in.h || die
fi
# Since we've patched many .c files, the make process will try to