diff options
author | Alex Kiernan <alex.kiernan@gmail.com> | 2022-12-08 21:33:41 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-09 10:39:27 -0800 |
commit | ec96eb577bd518b89e2e7834bd569ba269df458f (patch) | |
tree | 318874c6037b3fffedeac7a5fcdb7c9b3cf3f1f1 /meta-networking/recipes-protocols/mdns/files/0001-dns-sd-Include-missing-headers.patch | |
parent | 19f28fb34e2fa15b30274b97d10b8ecbdafaaf19 (diff) | |
download | meta-openembedded-ec96eb577bd518b89e2e7834bd569ba269df458f.tar.gz |
mdns: Upgrade 1310.140.1 -> 1790.40.31
Reinstate and rework patches from @garmin.com dropped in 21afab4609d0
("mdns: update to version 1096.40.7") as these were the functional
pieces of this series; we should either maintain it as a whole or drop
it in its entirety. With this update and without this series,
steady-state operation is a constant churn of all names being removed
and re-added every few seconds. These were refactored to handle the move
to getifaddrs() from get_ifi_info().
Check and cleanup all the other patches, much of which was redundant.
Move source releases to github which is where the Apple site now
redirects to (though these are still effectively just tarball dumps into
git).
Cleanup the recipe so it doesn't override all the packaging defaults.
Fixup musl installs so they don't fail attempting to patch a
non-existent /etc/nsswitch.conf.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols/mdns/files/0001-dns-sd-Include-missing-headers.patch')
-rw-r--r-- | meta-networking/recipes-protocols/mdns/files/0001-dns-sd-Include-missing-headers.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/meta-networking/recipes-protocols/mdns/files/0001-dns-sd-Include-missing-headers.patch b/meta-networking/recipes-protocols/mdns/files/0001-dns-sd-Include-missing-headers.patch deleted file mode 100644 index c743b3eddb..0000000000 --- a/meta-networking/recipes-protocols/mdns/files/0001-dns-sd-Include-missing-headers.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From ea442b57f7a9bcd41d5b5bd1cafde4dbe5685d41 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 4 Nov 2021 07:31:32 -0700 | ||
4 | Subject: [PATCH] dns-sd: Include missing headers | ||
5 | |||
6 | Fixes build on Musl | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Clients/dns-sd.c | 2 ++ | ||
12 | 1 file changed, 2 insertions(+) | ||
13 | |||
14 | --- a/Clients/dns-sd.c | ||
15 | +++ b/Clients/dns-sd.c | ||
16 | @@ -58,11 +58,13 @@ | ||
17 | //#define TEST_NEW_CLIENTSTUB 1 | ||
18 | |||
19 | #include <ctype.h> | ||
20 | +#include <stdarg.h> // For va_args | ||
21 | #include <stdio.h> // For stdout, stderr | ||
22 | #include <stdlib.h> // For exit() | ||
23 | #include <string.h> // For strlen(), strcpy() | ||
24 | #include <errno.h> // For errno, EINTR | ||
25 | #include <time.h> | ||
26 | +#include <sys/param.h> // For MIN | ||
27 | #include <sys/types.h> // For u_char | ||
28 | #ifdef APPLE_OSX_mDNSResponder | ||
29 | #include <inttypes.h> // For PRId64 | ||
30 | --- a/mDNSPosix/nss_mdns.c | ||
31 | +++ b/mDNSPosix/nss_mdns.c | ||
32 | @@ -89,6 +89,9 @@ | ||
33 | |||
34 | #include <dns_sd.h> | ||
35 | |||
36 | +#if !defined(NETDB_INTERNAL) | ||
37 | +# define NETDB_INTERNAL (-1) | ||
38 | +#endif | ||
39 | |||
40 | //---------- | ||
41 | // Public functions | ||