summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-02-25 15:51:35 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-02-25 15:51:35 +0300
commit9583f47337406d3b0d595847afe5662fdbaa6389 (patch)
treef549153932dc40a3bb58da53b979dbbfb5a06438
parentdev-libs/libiconv: ppc stable wrt bug #700436 (diff)
downloadgentoo-9583f47337406d3b0d595847afe5662fdbaa6389.tar.gz
gentoo-9583f47337406d3b0d595847afe5662fdbaa6389.tar.bz2
gentoo-9583f47337406d3b0d595847afe5662fdbaa6389.zip
dev-libs/libiconv: Drop old
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
-rw-r--r--dev-libs/libiconv/Manifest1
-rw-r--r--dev-libs/libiconv/files/libiconv-1.14-no-gets.patch22
-rw-r--r--dev-libs/libiconv/libiconv-1.14-r1.ebuild52
3 files changed, 0 insertions, 75 deletions
diff --git a/dev-libs/libiconv/Manifest b/dev-libs/libiconv/Manifest
index d44e54b3cb79..a13b5faafe10 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 db767ac1dd81..000000000000
--- 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 <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/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 c3ba6d18d4b6..000000000000
--- 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
-}