summaryrefslogtreecommitdiff
path: root/dns/dnsmasq-devel/files/patch-src_dnsmasq.c
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2025-05-24 21:46:08 +0200
committerMatthias Andree <mandree@FreeBSD.org>2025-05-24 21:48:45 +0200
commiteea38a526daa5a7fbeb3c74aa693f9c2a45b7bc9 (patch)
treeef541c713ec672c4536db356bd7e93defb22a760 /dns/dnsmasq-devel/files/patch-src_dnsmasq.c
parentdevel/cppinsights: Update 19.1 => 20.1 (diff)
dns/dnsmasq-devel: update to v2.92test10 with one FreeBSD patch
Changes since v2.92test9: This one has been submitted upstream to unbreak compilation: * e4bc90e 2025-05-24 | Unbreak compilation on non-Linux systems (FreeBSD) [Matthias Andree] These are part of the official v2.92test10: * 90b2485 2025-05-24 | Remove compiler warnings for obscure combinations of build options. (tag: v2.92test10) [Simon Kelley] * ebef27f 2025-05-24 | Add TFTP options windowsize (RFC 7440) and timeout (RFC 2349). [Simon Kelley] * 1861a88 2025-05-21 | Only define variable "a" if we HAVE_LINUX_NETWORK [Matthias Andree] * 96bdb42 2025-05-20 | Fix GCC's -Wunterminated-string-initialization warning in edns0.c. [Matthias Andree] * c7a909a 2025-05-21 | Add RRtypes HHIT and BRID to the table. [Simon Kelley] MFH: 2025Q2
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, "");