mdnsresponder: add missing header
authorRosen Penev <rosenp@gmail.com>
Thu, 14 Nov 2024 22:27:19 +0000 (14:27 -0800)
committerRosen Penev <rosenp@gmail.com>
Fri, 15 Nov 2024 01:25:00 +0000 (17:25 -0800)
Fixes compilation with GCC14.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/mdnsresponder/Makefile
net/mdnsresponder/patches/0015-Add-missing-limits.h.patch [new file with mode: 0644]

index 7d675899ff05e7840cbe75719a449f73ad4c2bf0..c18a4eb949dd9953c6fa6127ad5ead7cdcea566e 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mDNSResponder
 PKG_VERSION:=2200.100.94.0.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_VERSION:=$(PKG_NAME)-$(PKG_VERSION)
diff --git a/net/mdnsresponder/patches/0015-Add-missing-limits.h.patch b/net/mdnsresponder/patches/0015-Add-missing-limits.h.patch
new file mode 100644 (file)
index 0000000..027d5c1
--- /dev/null
@@ -0,0 +1,21 @@
+From 9fc45a2cf3b78573a568abf538a6e6f4bd30b2d7 Mon Sep 17 00:00:00 2001
+From: Alex Kiernan <alex.kiernan@gmail.com>
+Date: Wed, 27 Sep 2023 11:45:26 +0100
+Subject: [PATCH] Add missing limits.h
+
+Upstream-Status: Pending
+Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
+---
+ mDNSShared/PlatformCommon.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/mDNSShared/PlatformCommon.c
++++ b/mDNSShared/PlatformCommon.c
+@@ -32,6 +32,7 @@
+ #include <time.h>
+ #include <sys/time.h>           // Needed for #include <sys/time.h>().
+ #include <assert.h>
++#include <limits.h>
+ #include "mDNSEmbeddedAPI.h"    // Defines the interface provided to the client layer above