net-analyzer/net-snmp: fix implicit function declaration QA warnings

Closes: https://bugs.gentoo.org/899928
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1051
Merges: https://codeberg.org/gentoo/gentoo/pulls/1051
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Holger Hoffstätte
2026-06-06 14:53:48 +02:00
committed by Sam James
parent 0663ef3770
commit e28a4dbca7
2 changed files with 14 additions and 0 deletions

View File

@@ -96,6 +96,13 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.9.5-c23.patch
)
QA_CONFIG_IMPL_DECL_SKIP=(
# only exists on Windows
ioctlsocket
# removed from Linux since 5.5
sysctl
)
pkg_setup() {
use python && python-single-r1_pkg_setup
}

View File

@@ -90,6 +90,13 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.9-MakeMaker.patch
)
QA_CONFIG_IMPL_DECL_SKIP=(
# only exists on Windows
ioctlsocket
# removed from Linux since 5.5
sysctl
)
pkg_setup() {
use python && python-single-r1_pkg_setup
}