gentoo-ebuilds/net-nntp/leafnode/files/leafnode-1.11.11-configure.patch
NHOrus 3311c13f01
net-nntp/leafnode: Fix implicit decl in configure
It's FreeBSD ioctl, but adding correct include feels more correct than
QA_SKIPping it.

Closes: https://bugs.gentoo.org/900268
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40423
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-10 08:50:36 +00:00

12 lines
320 B
Diff

Fix handwritten check for SIOCGIFALIAS on FreeBSD
https://bugs.gentoo.org/900268
--- a/configure.ac
+++ b/configure.ac
@@ -413,6 +413,7 @@
#include <stddef.h>
#include <sys/types.h>
#include <sys/socket.h>
+ #include <sys/ioctl.h>
#ifdef HAVE_SYS_SOCKIO_H
#include <sys/sockio.h>
#endif