commit:     9583f47337406d3b0d595847afe5662fdbaa6389
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 12:51:35 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 12:51:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9583f473

dev-libs/libiconv: Drop old

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 dev-libs/libiconv/Manifest                         |  1 -
 .../libiconv/files/libiconv-1.14-no-gets.patch     | 22 ---------
 dev-libs/libiconv/libiconv-1.14-r1.ebuild          | 52 ----------------------
 3 files changed, 75 deletions(-)

diff --git a/dev-libs/libiconv/Manifest b/dev-libs/libiconv/Manifest
index d44e54b3cb7..a13b5faafe1 100644
--- a/dev-libs/libiconv/Manifest
+++ b/dev-libs/libiconv/Manifest
@@ -1,2 +1 @@
-DIST libiconv-1.14.tar.gz 4984397 BLAKE2B 
8697bbff9b929e8a30157f271ba3216aef7b2f0020f5edd273f3cec249069fb23f58ae13cbe3d3bb502c27e97e7cccae66aba23017ab4f6bce11b2ec133ef684
 SHA512 
b96774fefc4fa1d07948fcc667027701373c34ebf9c4101000428e048addd85a5bb5e05e59f80eb783a3054a3a8a3c0da909450053275bbbf3ffde511eb3f387
 DIST libiconv-1.15.tar.gz 5264188 BLAKE2B 
2384dbf8549fa56e841b15b7e2698b83c0ee171cdff13aef48c60eae0bc4f5e7b2e937bc8d5eddf89fba11412d17bebd77bdda7060c177ce9dc9be00172c0c12
 SHA512 
1233fe3ca09341b53354fd4bfe342a7589181145a1232c9919583a8c9979636855839049f3406f253a9d9829908816bb71fd6d34dd544ba290d6f04251376b1a

diff --git a/dev-libs/libiconv/files/libiconv-1.14-no-gets.patch 
b/dev-libs/libiconv/files/libiconv-1.14-no-gets.patch
deleted file mode 100644
index db767ac1dd8..00000000000
--- a/dev-libs/libiconv/files/libiconv-1.14-no-gets.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-hack until gzip pulls a newer gnulib version
-
-From 66712c23388e93e5c518ebc8515140fa0c807348 Mon Sep 17 00:00:00 2001
-From: Eric Blake <[email protected]>
-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/srclib/stdio.in.h
-+++ b/srclib/stdio.in.h
-@@ -695,7 +695,6 @@ _GL_CXXALIASWARN (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
- 
- 

diff --git a/dev-libs/libiconv/libiconv-1.14-r1.ebuild 
b/dev-libs/libiconv/libiconv-1.14-r1.ebuild
deleted file mode 100644
index c3ba6d18d4b..00000000000
--- a/dev-libs/libiconv/libiconv-1.14-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit libtool toolchain-funcs multilib-minimal usr-ldscript
-
-DESCRIPTION="GNU charset conversion library for libc which doesn't implement 
it"
-HOMEPAGE="https://www.gnu.org/software/libiconv/";
-SRC_URI="mirror://gnu/libiconv/${P}.tar.gz"
-
-LICENSE="LGPL-2+ GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 arm ~mips ppc x86"
-IUSE="+static-libs"
-
-DEPEND="!sys-libs/glibc
-       !userland_GNU? ( !sys-apps/man-pages )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-no-gets.patch
-       elibtoolize
-}
-
-multilib_src_configure() {
-       # Disable NLS support because that creates a circular dependency
-       # between libiconv and gettext
-       ECONF_SOURCE="${S}" \
-       econf \
-               --docdir="\$(datarootdir)/doc/${PF}/html" \
-               --disable-nls \
-               --enable-shared \
-               $(use_enable static-libs static)
-}
-
-multilib_src_install_all() {
-       # Install in /lib as utils installed in /lib like gnutar
-       # can depend on this
-       gen_usr_ldscript -a iconv charset
-
-       # If we have a GNU userland, we probably have sys-apps/man-pages
-       # installed, which means we want to rename our copies #503162.
-       # The use of USELAND=GNU is kind of a hack though ...
-       if use userland_GNU ; then
-               cd "${ED}"/usr/share/man || die
-               local f
-               for f in man*/*.[0-9] ; do
-                       mv "${f}" "${f%/*}/${PN}-${f#*/}" || die
-               done
-       fi
-}

Reply via email to