commit:     44c74bae2e01f04c4f7e20d533af0fdd1a4e5450
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Sep 22 14:06:49 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 22 18:55:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c74bae

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 <AT> 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 <AT> gentoo.org>

 .../libident/files/libident-0.32-fix_c23.patch     | 12 +++++++
 net-libs/libident/libident-0.32-r2.ebuild          | 37 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/net-libs/libident/files/libident-0.32-fix_c23.patch 
b/net-libs/libident/files/libident-0.32-fix_c23.patch
new file mode 100644
index 000000000000..6031b2bea439
--- /dev/null
+++ b/net-libs/libident/files/libident-0.32-fix_c23.patch
@@ -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;

diff --git a/net-libs/libident/libident-0.32-r2.ebuild 
b/net-libs/libident/libident-0.32-r2.ebuild
new file mode 100644
index 000000000000..cda6eec08708
--- /dev/null
+++ b/net-libs/libident/libident-0.32-r2.ebuild
@@ -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
+}

Reply via email to