mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
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:
committed by
Sam James
parent
bbf22692c2
commit
44c74bae2e
12
net-libs/libident/files/libident-0.32-fix_c23.patch
Normal file
12
net-libs/libident/files/libident-0.32-fix_c23.patch
Normal 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;
|
||||
37
net-libs/libident/libident-0.32-r2.ebuild
Normal file
37
net-libs/libident/libident-0.32-r2.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user