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 0000000000000..6031b2bea439b --- /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 0000000000000..cda6eec08708f --- /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 +}