git: d80535062f8a - main - net/mosquitto: Unbreak without CARES

From: Craig Leres <leres_at_FreeBSD.org>
Date: Fri, 06 Feb 2026 20:14:13 UTC
The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d80535062f8a08229d4ad5159bf73a5b6c6262c2

commit d80535062f8a08229d4ad5159bf73a5b6c6262c2
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2026-02-06 20:13:34 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2026-02-06 20:13:34 +0000

    net/mosquitto: Unbreak without CARES
    
    PR:             292985
    Reported by:    Ivan Rozhuk, alexander@wittig.name
---
 net/mosquitto/files/patch-lib_connect.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/net/mosquitto/files/patch-lib_connect.c b/net/mosquitto/files/patch-lib_connect.c
new file mode 100644
index 000000000000..9830f16aa418
--- /dev/null
+++ b/net/mosquitto/files/patch-lib_connect.c
@@ -0,0 +1,10 @@
+--- lib/connect.c.orig	2026-02-04 22:33:13 UTC
++++ lib/connect.c
+@@ -26,6 +26,7 @@ Contributors:
+ #else
+ #  include <arpa/inet.h>
+ #endif
++#include <netinet/in.h>
+ 
+ #include "callbacks.h"
+ #include "http_client.h"