commit: 7bb91e4a39b915ea1a747dc6cf7fa032f7ee740e Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> AuthorDate: Mon Mar 22 06:35:19 2021 +0000 Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org> CommitDate: Wed Mar 24 15:21:33 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bb91e4a
drop obsolete packages dev-util/confix-wrapper for dev-util/confix having vanished sys-libs/suacomp for Interix having vanished Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org> dev-util/confix-wrapper/confix-wrapper-1.ebuild | 35 ------------ dev-util/confix-wrapper/metadata.xml | 11 ---- sys-libs/suacomp/Manifest | 1 - .../suacomp/files/suacomp-0.6.14-strtoll.patch | 44 --------------- sys-libs/suacomp/metadata.xml | 16 ------ sys-libs/suacomp/suacomp-0.6.14.ebuild | 66 ---------------------- sys-libs/suacomp/suacomp-9999.ebuild | 60 -------------------- 7 files changed, 233 deletions(-) diff --git a/dev-util/confix-wrapper/confix-wrapper-1.ebuild b/dev-util/confix-wrapper/confix-wrapper-1.ebuild deleted file mode 100644 index 3e4e5617ea2..00000000000 --- a/dev-util/confix-wrapper/confix-wrapper-1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Wrapper to select either confix1.py or confix2.py" -HOMEPAGE="http://confix.sourceforge.net" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" -IUSE="" -S=${WORKDIR} - -src_unpack() { - cat >> confix <<EOF || die -#! ${EPREFIX:-}/bin/sh -confixpy= -if [ -f ./Confix2.dir ]; then - confixpy=confix2.py -elif [ -f ./Makefile.py ]; then - confixpy=confix1.py -else - confixpy=confix2.py -fi -case \$# in -0) exec \${confixpy} ;; -*) exec \${confixpy} "\$@" ;; -esac -EOF -} - -src_install() { - dobin confix -} diff --git a/dev-util/confix-wrapper/metadata.xml b/dev-util/confix-wrapper/metadata.xml deleted file mode 100644 index 5cbfb3aa528..00000000000 --- a/dev-util/confix-wrapper/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Michael Haubenwallner</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">confix</remote-id> - </upstream> -</pkgmetadata> diff --git a/sys-libs/suacomp/Manifest b/sys-libs/suacomp/Manifest deleted file mode 100644 index 2983314f49f..00000000000 --- a/sys-libs/suacomp/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST suacomp-0.6.14.tar.gz 36712 BLAKE2B 09df68729de50753e987a958a7184125308b652dcd4483acfa89bdf454a74341398ef4e5db616b1b2d8e51025040e7e3807df9221402b17e63fb3fd862272f68 SHA512 6e559059c18c1412611d837bf2f5fad08deaf9145464347f712fdb0cd4e0dfae1b7b46253ef086bd4c98cc1555111872b6b5af5272b77a88c767e9008143b7f1 diff --git a/sys-libs/suacomp/files/suacomp-0.6.14-strtoll.patch b/sys-libs/suacomp/files/suacomp-0.6.14-strtoll.patch deleted file mode 100644 index 16ee7f4e5c4..00000000000 --- a/sys-libs/suacomp/files/suacomp-0.6.14-strtoll.patch +++ /dev/null @@ -1,44 +0,0 @@ -From a498772e5fe942eafe06ed62a00a21c4b99164b5 Mon Sep 17 00:00:00 2001 -From: David Holm <[email protected]> -Date: Fri, 14 Sep 2012 20:57:30 +0200 -Subject: [PATCH] Fixes build issues on SUA 6.0 - -The prototypes for strto[u]ll.c in SUA 6.0 use C99 and are defined using (u_)quad_t. This will cause compilation to fail since there is a mismatch between stdlib.h and the implementation in suacomp. This change switches to the C99 definition and undefines strto[u]ll in case stdlib.h wants to map them to existing implementations. - -https://sourceforge.net/p/suacomp/tickets/1/ ---- - strtoll.c | 3 ++- - strtoull.c | 3 ++- - 2 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/strtoll.c b/strtoll.c -index 12f9886..c9e34b8 100644 ---- a/strtoll.c -+++ b/strtoll.c -@@ -9,7 +9,8 @@ - #include <unistd.h> - #include <stdlib.h> - --long long int strtoll(const char* nptr, char** endptr, int base) { -+#undef strtoll -+quad_t strtoll(const char* nptr, char** endptr, int base) { - long long int ret; - DT("enter: %p, %p, %d\n", nptr, endptr, base); - -diff --git a/strtoull.c b/strtoull.c -index d0e0e67..622ee9b 100644 ---- a/strtoull.c -+++ b/strtoull.c -@@ -9,7 +9,8 @@ - #include <unistd.h> - #include <stdlib.h> - --long long int strtoull(const char* nptr, char** endptr, int base) { -+#undef strtoull -+u_quad_t strtoull(const char* nptr, char** endptr, int base) { - long long int ret; - DT("enter: %p, %p, %d\n", nptr, endptr, base); - --- -1.7.6.1 - diff --git a/sys-libs/suacomp/metadata.xml b/sys-libs/suacomp/metadata.xml deleted file mode 100644 index 0d95d5d4e80..00000000000 --- a/sys-libs/suacomp/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>[email protected]</email> - <name>Michael Haubenwallner</name> - </maintainer> - <longdescription lang="en"> - A small library, trying to overcome the problems occuring when building - (and using) gentoo-prefix on an interix based system. This has no use - on non-interix systems. - </longdescription> - <upstream> - <remote-id type="sourceforge">suacomp</remote-id> - </upstream> -</pkgmetadata> diff --git a/sys-libs/suacomp/suacomp-0.6.14.ebuild b/sys-libs/suacomp/suacomp-0.6.14.ebuild deleted file mode 100644 index be3e9886e4e..00000000000 --- a/sys-libs/suacomp/suacomp-0.6.14.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="library wrapping the interix lib-c to make it less buggy" -HOMEPAGE="http://suacomp.sf.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BEER-WARE" -SLOT="0" -KEYWORDS="" -IUSE="debug" - -DEPEND="" -RDEPEND="" - -get_opts() { - local shlibc= - local stlibc= - - local dir - for dir in /usr/lib /usr/lib/x86; do - [[ -f ${dir}/libc.a ]] && stlibc=${dir}/libc.a - - local name - for name in libc.so.5.2 libc.so.3.5; do - [[ -f ${dir}/${name} ]] && { shlibc=${dir}/${name}; break; } - done - - [[ -f ${shlibc} && -f ${stlibc} ]] && break - done - - echo "SHARED_LIBC=${shlibc} STATIC_LIBC=${stlibc}" -} - -src_prepare() { - [[ ${CHOST} == *-interix6* ]] && eapply "${FILESDIR}"/${P}-strtoll.patch - eapply_user -} - -src_configure() { - if use debug; then - append-flags -D_DEBUG -D_DEBUG_TRACE - fi -} - -src_compile() { - emake all CC=$(tc-getCC) $(get_opts) CFLAGS="${CFLAGS}" -} - -src_test() { - local v= - - use debug && v="TEST_VERBOSE=1" - use debug && export SUACOMP_DEBUG_OUT=stderr - - emake check $(get_opts) ${v} -} - -src_install() { - emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}" $(get_opts) \ - CFLAGS="${CFLAGS}" -} diff --git a/sys-libs/suacomp/suacomp-9999.ebuild b/sys-libs/suacomp/suacomp-9999.ebuild deleted file mode 100644 index b356312ab40..00000000000 --- a/sys-libs/suacomp/suacomp-9999.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit flag-o-matic toolchain-funcs git-r3 - -DESCRIPTION="library wrapping the interix lib-c to make it less buggy" -HOMEPAGE="http://suacomp.sf.net" -EGIT_REPO_URI="https://git.code.sf.net/p/suacomp/git" - -LICENSE="BEER-WARE" -SLOT="0" -IUSE="debug" - -DEPEND="" -RDEPEND="" - -get_opts() { - local shlibc= - local stlibc= - - local dir - for dir in /usr/lib /usr/lib/x86; do - [[ -f ${dir}/libc.a ]] && stlibc=${dir}/libc.a - - local name - for name in libc.so.5.2 libc.so.3.5; do - [[ -f ${dir}/${name} ]] && { shlibc=${dir}/${name}; break; } - done - - [[ -f ${shlibc} && -f ${stlibc} ]] && break - done - - echo "SHARED_LIBC=${shlibc} STATIC_LIBC=${stlibc}" -} - -src_configure() { - if use debug; then - append-flags -D_DEBUG -D_DEBUG_TRACE - fi -} - -src_compile() { - emake all CC=$(tc-getCC) $(get_opts) CFLAGS="${CFLAGS}" -} - -src_test() { - local v= - - use debug && v="TEST_VERBOSE=1" - use debug && export SUACOMP_DEBUG_OUT=stderr - - emake check $(get_opts) ${v} -} - -src_install() { - emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}" $(get_opts) \ - CFLAGS="${CFLAGS}" -}
