mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 18:27:07 -08:00
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@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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>haubi@gentoo.org</email>
|
||||
<name>Michael Haubenwallner</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">confix</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1 +0,0 @@
|
||||
DIST suacomp-0.6.14.tar.gz 36712 BLAKE2B 09df68729de50753e987a958a7184125308b652dcd4483acfa89bdf454a74341398ef4e5db616b1b2d8e51025040e7e3807df9221402b17e63fb3fd862272f68 SHA512 6e559059c18c1412611d837bf2f5fad08deaf9145464347f712fdb0cd4e0dfae1b7b46253ef086bd4c98cc1555111872b6b5af5272b77a88c767e9008143b7f1
|
||||
@@ -1,44 +0,0 @@
|
||||
From a498772e5fe942eafe06ed62a00a21c4b99164b5 Mon Sep 17 00:00:00 2001
|
||||
From: David Holm <dholmster@gmail.com>
|
||||
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
|
||||
|
||||
@@ -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>haubi@gentoo.org</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>
|
||||
@@ -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}"
|
||||
}
|
||||
@@ -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}"
|
||||
}
|
||||
Reference in New Issue
Block a user