commit: f914ed49820b34979429c41b3218ddbeed0d85cf Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org> AuthorDate: Tue Jul 29 06:31:12 2025 +0000 Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org> CommitDate: Tue Jul 29 06:52:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f914ed49
net-libs/udns: drop 0.4-r3 Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org> net-libs/udns/Manifest | 1 - net-libs/udns/files/udns-0.4-configure-c99.patch | 33 ----------------- net-libs/udns/udns-0.4-r3.ebuild | 46 ------------------------ 3 files changed, 80 deletions(-) diff --git a/net-libs/udns/Manifest b/net-libs/udns/Manifest index 09d28de1cca7..a49c28a71ffb 100644 --- a/net-libs/udns/Manifest +++ b/net-libs/udns/Manifest @@ -1,2 +1 @@ -DIST udns-0.4.tar.gz 84716 BLAKE2B df41b325ae2ffaaaf09e1bb6f52d9e9a7c468c70d8bec849cb90ebcb1fac773ee2dc7e37125a75750b61a1a78d0416e6c9aeb72e43780b474d36e370a1b9cd8d SHA512 2990d57b3b6bf176a12ee07fd4391921e13634fc8409e8ce4df8dbe7b3556a116ae59ab328a1b6a95ebc94298f6b56ec7197a06a649d8d642b371b8ecef3e40b DIST udns-0.6.tar.gz 85129 BLAKE2B 72d4753ca62b8528f8a0066622ec052ddd8adda2e4137e9a337d2f4048b789730a2c6e1b3420f6f59a59a2af9c4a8d8074a03b17f2774b5c014ef986fbd73895 SHA512 9846c476e23f148565d2ea986352c34a364ec5b949db3821a8ed6bdf5d33b830f0afbbcf4d441420a36c57620236a01ef04f6f8b2619f6ec64595bab5524afe1 diff --git a/net-libs/udns/files/udns-0.4-configure-c99.patch b/net-libs/udns/files/udns-0.4-configure-c99.patch deleted file mode 100644 index cedf073fe0ff..000000000000 --- a/net-libs/udns/files/udns-0.4-configure-c99.patch +++ /dev/null @@ -1,33 +0,0 @@ -https://bugs.gentoo.org/874759 -https://bugs.gentoo.org/883285 -https://bugs.gentoo.org/919260 -https://src.fedoraproject.org/rpms/udns/c/27e7b66faa416c13b113e895c204373596282c37?branch=rawhide - -Provide autoconf-style fake prototype for socket to avoid implicit -function declarations. Otherwise the check will always fail with soem -C99 compilers. - -Avoid incorrect pointer types and a pointer-to-int conversion with -inet_pton and inet_ntop. - ---- a/configure -+++ b/configure -@@ -75,6 +75,7 @@ int main(int argc, char **argv) { - EOF - - if ac_library_find_v 'socket and connect' "" "-lsocket -lnsl" <<EOF -+char socket(void); char connect(void); - int main() { socket(); connect(); return 0; } - EOF - then : -@@ -92,8 +93,8 @@ ac_ign \ - int main() { - char buf[64]; - long x = 0; -- inet_pton(AF_INET, &x, buf); -- return inet_ntop(AF_INET, &x, buf, sizeof(buf)); -+ inet_pton(AF_INET, (void *) &x, buf); -+ return inet_ntop(AF_INET, (void *) &x, buf, sizeof(buf)) != 0; - } - EOF - diff --git a/net-libs/udns/udns-0.4-r3.ebuild b/net-libs/udns/udns-0.4-r3.ebuild deleted file mode 100644 index 9a50ccbae09b..000000000000 --- a/net-libs/udns/udns-0.4-r3.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo toolchain-funcs - -DESCRIPTION="Async-capable DNS stub resolver library" -HOMEPAGE="http://www.corpit.ru/mjt/udns.html" -SRC_URI="http://www.corpit.ru/mjt/udns/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~hppa ppc ~ppc64 sparc x86" -IUSE="ipv6 static +tools" - -PATCHES=( - "${FILESDIR}"/${PN}-0.4-configure-c99.patch -) - -src_configure() { - # Uses non-standard configure script, econf doesn't work - CC="$(tc-getCC)" edo ./configure $(use_enable ipv6) -} - -src_compile() { - emake $(usex tools shared sharedlib) -} - -src_install() { - dolib.so libudns.so.0 - dosym libudns.so.0 /usr/$(get_libdir)/libudns.so - - if use tools; then - newbin dnsget_s dnsget - newbin ex-rdns_s ex-rdns - newbin rblcheck_s rblcheck - fi - - doheader udns.h - - doman udns.3 - use tools && doman dnsget.1 rblcheck.1 - - dodoc NEWS NOTES TODO -}
