net-mail/mess822: drop 0.58-r2

Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk 2024-09-12 15:02:21 +02:00
parent 8d214b4491
commit acbcbc45fe
No known key found for this signature in database
GPG Key ID: 351D91B6D7DF9E50
2 changed files with 0 additions and 122 deletions

View File

@ -1,66 +0,0 @@
commit 43f63356fec31e46dfc5ab4574bb62cd75b35dfe
Author: Eray Aslan <eras@gentoo.org>
Date: Mon Jun 6 17:19:48 2011 +0300
Fix missing includes
diff --git a/addrlist.c b/addrlist.c
index fe196c8..a2ae631 100644
--- a/addrlist.c
+++ b/addrlist.c
@@ -3,6 +3,7 @@
#include "subfd.h"
#include "getln.h"
#include "mess822.h"
+#include "exit.h"
#define FATAL "addrlist: fatal: "
diff --git a/leapsecs_read.c b/leapsecs_read.c
index 62c8712..ff2ec23 100644
--- a/leapsecs_read.c
+++ b/leapsecs_read.c
@@ -1,6 +1,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <stdlib.h>
#include <errno.h>
extern int errno;
#include "tai.h"
diff --git a/parsedate.c b/parsedate.c
index 06f1d57..e90e198 100644
--- a/parsedate.c
+++ b/parsedate.c
@@ -6,6 +6,7 @@
#include "leapsecs.h"
#include "caltime.h"
#include "tai.h"
+#include "exit.h"
#define FATAL "parsedate: fatal: "
diff --git a/quote.c b/quote.c
index 7d21ac0..e8c7aa2 100644
--- a/quote.c
+++ b/quote.c
@@ -2,6 +2,7 @@
#include "subfd.h"
#include "substdio.h"
#include "strerr.h"
+#include "exit.h"
#define FATAL "quote: fatal: "
diff --git a/tokenize.c b/tokenize.c
index 667987d..840a220 100644
--- a/tokenize.c
+++ b/tokenize.c
@@ -3,6 +3,7 @@
#include "subfd.h"
#include "getln.h"
#include "mess822.h"
+#include "exit.h"
#define FATAL "tokenize: fatal: "

View File

@ -1,56 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
DESCRIPTION="Collection of utilities for parsing Internet mail messages"
SRC_URI="http://cr.yp.to/software/${P}.tar.gz"
HOMEPAGE="http://cr.yp.to/mess822.html"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
LICENSE="public-domain"
RESTRICT="test"
RDEPEND="sys-apps/sed"
PATCHES=(
"${FILESDIR}"/${P}-implicit.patch
)
src_prepare() {
default
echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
echo "/usr" > conf-home || die
# fix errno.h problem; bug #26165
sed -i 's/^extern int errno;/#include <errno.h>/' error.h || die
sed -i -e "s/ar/$(tc-getAR)/" make-makelib.sh || die
sed -i -e "s/ranlib/$(tc-getRANLIB)/" make-makelib.sh || die
}
src_install() {
dodir /etc
dodir /usr/share
# Now that the commands are compiled, update the conf-home file to point
# to the installation image directory.
echo "${ED}/usr/" > conf-home || die
sed -i -e "s:\"/etc\":\"${ED}/etc\":" hier.c || die "sed hier.c failed"
emake setup
# Move the man pages into /usr/share/man
mv "${ED}/usr/man" "${ED}/usr/share/" || die
dodir /usr/$(get_libdir)
mv "${ED}/usr/lib/${PN}.a" "${ED}/usr/$(get_libdir)/${PN}.a" || die
rmdir "${ED}/usr/lib" || die
dodoc BLURB CHANGES INSTALL README THANKS TODO VERSION
}