diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-11-06 12:44:03 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-11-06 12:53:29 +0100 |
commit | 806cbeab41222287f73a11f29fa7ad899bdcea66 (patch) | |
tree | 9be82eb9927e005831273dc5278ee229a30fe4af | |
parent | net-analyzer/nagios-core: drop 4.4.7-r1 (diff) | |
download | gentoo-806cbeab41222287f73a11f29fa7ad899bdcea66.tar.gz gentoo-806cbeab41222287f73a11f29fa7ad899bdcea66.tar.bz2 gentoo-806cbeab41222287f73a11f29fa7ad899bdcea66.zip |
app-text/libspectre: drop 0.2.9
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | app-text/libspectre/Manifest | 1 | ||||
-rw-r--r-- | app-text/libspectre/files/libspectre-0.2.0-interix.patch | 29 | ||||
-rw-r--r-- | app-text/libspectre/libspectre-0.2.9.ebuild | 55 |
3 files changed, 0 insertions, 85 deletions
diff --git a/app-text/libspectre/Manifest b/app-text/libspectre/Manifest index 5a0e02e4ad89..2670091f0b61 100644 --- a/app-text/libspectre/Manifest +++ b/app-text/libspectre/Manifest @@ -1,2 +1 @@ DIST libspectre-0.2.10.tar.gz 436690 BLAKE2B 8c1d25225a212b7e8d2bab7cffa4298509450cf727e38d0be22d27ed5fb161a0f838967afa3f8aa265c2bd243431bbfb92976cf51ee52ee7d3b0479000215546 SHA512 01738f452f99878beaa528b15d8df463ca22d625306d636e1a6199ade9f068d284f1def3882e954a06e5f066937343f79d0c2197fbb19ab53ef1ab0540c72f2f -DIST libspectre-0.2.9.tar.gz 433384 BLAKE2B ed75a7013763a86c0f0702e0e47dcfb8401db6c957ed4851ecc85e27db6a49c8d4dae6443b302bcce5b0ae0da18dce3294a010eee5531a253020a650c19388c5 SHA512 7c24b5c83c6d356c89417d09dc76566afbe886ec189fe80d030a239c23ad25b061db071768117fa06805aa3d86f749fb232b7491bd7d467f26a40e348e74d5d2 diff --git a/app-text/libspectre/files/libspectre-0.2.0-interix.patch b/app-text/libspectre/files/libspectre-0.2.0-interix.patch deleted file mode 100644 index 8f2956331852..000000000000 --- a/app-text/libspectre/files/libspectre-0.2.0-interix.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -ru libspectre/spectre-utils.c libspectre/spectre-utils.c ---- a/libspectre/spectre-utils.c 2008-05-06 08:35:07 +0200 -+++ b/libspectre/spectre-utils.c 2008-05-06 08:49:51 +0200 -@@ -148,6 +148,17 @@ - spectre_strdup_vprintf (const char *format, - va_list args) - { -+#ifdef __INTERIX -+ /* no [v]asprintf here, so we need to do something else. */ -+ char * string = NULL; -+ char buf[524288]; -+ -+ if(vsprintf(buf, format, args) < 0) -+ return NULL; -+ -+ string = strdup(buf); -+ return string; -+#else - char *string = NULL; - int len = vasprintf (&string, format, args); - -@@ -155,6 +166,7 @@ - string = NULL; - - return string; -+#endif - } - - char * diff --git a/app-text/libspectre/libspectre-0.2.9.ebuild b/app-text/libspectre/libspectre-0.2.9.ebuild deleted file mode 100644 index cfb66f66da8c..000000000000 --- a/app-text/libspectre/libspectre-0.2.9.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Library for rendering Postscript documents" -HOMEPAGE="https://www.freedesktop.org/wiki/Software/libspectre" -SRC_URI="https://libspectre.freedesktop.org/releases/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" -IUSE="debug doc" - -BDEPEND=" - virtual/pkgconfig - doc? ( app-doc/doxygen ) -" -RDEPEND=">=app-text/ghostscript-gpl-9.24:=" -DEPEND="${RDEPEND}" - -# does not actually test anything, see bug 362557 -RESTRICT="test" - -PATCHES=( "${FILESDIR}"/${PN}-0.2.0-interix.patch ) - -src_prepare() { - default - eautoreconf # need new libtool for interix -} - -src_configure() { - local myeconfargs=( - $(use_enable debug asserts) - $(use_enable debug checks) - --disable-static - --disable-test - ) - econf "${myeconfargs[@]}" -} - -src_compile() { - emake - if use doc; then - doxygen || die - fi -} - -src_install() { - use doc && local HTML_DOCS=( doc/html/. ) - default - find "${D}" -name '*.la' -type f -delete || die -} |