net-libs/libident: update EAPI 7->8,fix c23

rm "A" from the description

not reported, upstream is dead

Closes: https://bugs.gentoo.org/943962
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/43897
Closes: https://github.com/gentoo/gentoo/pull/43897
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2025-09-22 16:06:49 +02:00
committed by Sam James
parent bbf22692c2
commit 44c74bae2e
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
https://bugs.gentoo.org/943962
--- a/id_query.c
+++ b/id_query.c
@@ -33,7 +33,7 @@
int id_query (ident_t *id, int lport, int fport, struct timeval *timeout)
{
- RETSIGTYPE (*old_sig)();
+ RETSIGTYPE (*old_sig)(int sig);
int res;
char buf[80];
fd_set ws;

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Small library to interface to the Ident protocol server"
HOMEPAGE="http://www.simphalempin.com/dev/libident/"
SRC_URI="http://people.via.ecp.fr/~rem/libident/${P}.tar.bz2"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
IUSE="test"
# Interactive tests only.
RESTRICT="!test? ( test ) test"
PATCHES=(
"${FILESDIR}"/${PN}-0.32-fix_c23.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
--disable-static \
$(use_enable test testers)
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}