summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/idutils')
-rw-r--r--dev-util/idutils/ChangeLog9
-rw-r--r--dev-util/idutils/files/idutils-4.6-glibc-2.16.patch15
-rw-r--r--dev-util/idutils/idutils-4.6.ebuild10
3 files changed, 28 insertions, 6 deletions
diff --git a/dev-util/idutils/ChangeLog b/dev-util/idutils/ChangeLog
index 47cd79406f3b..eb079d152b0f 100644
--- a/dev-util/idutils/ChangeLog
+++ b/dev-util/idutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/idutils
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/idutils/ChangeLog,v 1.4 2012/05/11 09:10:44 ssuominen Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/idutils/ChangeLog,v 1.5 2013/11/24 08:17:42 pacho Exp $
+
+ 24 Nov 2013; Pacho Ramos <pacho@gentoo.org>
+ +files/idutils-4.6-glibc-2.16.patch, idutils-4.6.ebuild:
+ Fix build with glibc-2.16 (#426792)
*idutils-4.6 (11 May 2012)
@@ -21,4 +25,3 @@
+idutils-4.2.ebuild:
New package. Vaguely based on ebuild submission in bug #150339 by CPUShare
<cpushare@cpushare.com>.
-
diff --git a/dev-util/idutils/files/idutils-4.6-glibc-2.16.patch b/dev-util/idutils/files/idutils-4.6-glibc-2.16.patch
new file mode 100644
index 000000000000..c8659f071e26
--- /dev/null
+++ b/dev-util/idutils/files/idutils-4.6-glibc-2.16.patch
@@ -0,0 +1,15 @@
+--- idutils-4.6_O/lib/stdio.in.h 2012-01-28 17:26:05.000000000 +0100
++++ idutils-4.6/lib/stdio.in.h 2013-06-13 18:38:29.787232848 +0200
+@@ -712,10 +712,12 @@
+ # undef gets
+ # endif
+ _GL_CXXALIASWARN (gets);
++# if HAVE_RAW_DECL_GETS
+ /* 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
+ #endif
+
+
diff --git a/dev-util/idutils/idutils-4.6.ebuild b/dev-util/idutils/idutils-4.6.ebuild
index a0f6821adbaf..76029a25d685 100644
--- a/dev-util/idutils/idutils-4.6.ebuild
+++ b/dev-util/idutils/idutils-4.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/idutils/idutils-4.6.ebuild,v 1.1 2012/05/11 09:10:44 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/idutils/idutils-4.6.ebuild,v 1.2 2013/11/24 08:17:42 pacho Exp $
EAPI=4
-inherit elisp-common
+inherit elisp-common eutils
DESCRIPTION="Fast, high-capacity, identifier database tool"
HOMEPAGE="http://www.gnu.org/software/idutils/"
@@ -21,6 +21,10 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog NEWS README* THANKS TODO"
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-4.6-glibc-2.16.patch"
+}
+
src_configure() {
use emacs || export EMACS=no
econf \