summaryrefslogtreecommitdiff
path: root/dns/dnsmasq-devel/files/patch-src_dnsmasq.c
diff options
context:
space:
mode:
Diffstat (limited to 'dns/dnsmasq-devel/files/patch-src_dnsmasq.c')
-rw-r--r--dns/dnsmasq-devel/files/patch-src_dnsmasq.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/dns/dnsmasq-devel/files/patch-src_dnsmasq.c b/dns/dnsmasq-devel/files/patch-src_dnsmasq.c
new file mode 100644
index 000000000000..98c34221f71d
--- /dev/null
+++ b/dns/dnsmasq-devel/files/patch-src_dnsmasq.c
@@ -0,0 +1,12 @@
+--- src/dnsmasq.c.orig 2025-05-24 14:09:53 UTC
++++ src/dnsmasq.c
+@@ -81,7 +81,9 @@ int main (int argc, char **argv)
+ int tftp_prefix_missing = 0;
+ #endif
+
++#ifdef HAVE_LINUX_NETWORK
+ (void)netlink_warn;
++#endif
+
+ #if defined(HAVE_IDN) || defined(HAVE_LIBIDN2) || defined(LOCALEDIR)
+ setlocale(LC_ALL, "");