diff options
| -rw-r--r-- | meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch | 33 | ||||
| -rw-r--r-- | meta-networking/recipes-protocols/mdns/mdns_1790.80.10.bb | 1 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch b/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch new file mode 100644 index 0000000000..74d387368c --- /dev/null +++ b/meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | From 1d7e71e72c597ffcc19c04373a477d1fbd3ad955 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Beniamin Sandu <beniaminsandu@gmail.com> | ||
| 3 | Date: Thu, 15 Jun 2023 17:02:58 +0000 | ||
| 4 | Subject: [PATCH] remove unneeded headers | ||
| 5 | |||
| 6 | From a quick look, these seem to not be needed and having them | ||
| 7 | breaks the build with mbedtls 3.x. Without them it builds fine | ||
| 8 | on both 2.x and 3.x versions. | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | |||
| 12 | Signed-off-by: Beniamin Sandu <beniaminsandu@gmail.com> | ||
| 13 | --- | ||
| 14 | mDNSPosix/mbedtls.c | 2 -- | ||
| 15 | 1 file changed, 2 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/mDNSPosix/mbedtls.c b/mDNSPosix/mbedtls.c | ||
| 18 | index a73681b..ab8f8c7 100644 | ||
| 19 | --- a/mDNSPosix/mbedtls.c | ||
| 20 | +++ b/mDNSPosix/mbedtls.c | ||
| 21 | @@ -38,10 +38,8 @@ | ||
| 22 | #include <mbedtls/sha256.h> | ||
| 23 | #include <mbedtls/base64.h> | ||
| 24 | |||
| 25 | -#include <mbedtls/certs.h> | ||
| 26 | #include <mbedtls/x509.h> | ||
| 27 | #include <mbedtls/ssl.h> | ||
| 28 | -#include <mbedtls/config.h> | ||
| 29 | |||
| 30 | // Posix TLS server context | ||
| 31 | struct TLSContext_struct { | ||
| 32 | -- | ||
| 33 | 2.34.1 | ||
diff --git a/meta-networking/recipes-protocols/mdns/mdns_1790.80.10.bb b/meta-networking/recipes-protocols/mdns/mdns_1790.80.10.bb index 612d343c88..46f1b70cb7 100644 --- a/meta-networking/recipes-protocols/mdns/mdns_1790.80.10.bb +++ b/meta-networking/recipes-protocols/mdns/mdns_1790.80.10.bb | |||
| @@ -21,6 +21,7 @@ SRC_URI = "git://github.com/apple-oss-distributions/mDNSResponder;protocol=https | |||
| 21 | file://0006-Handle-noisy-netlink-sockets.patch \ | 21 | file://0006-Handle-noisy-netlink-sockets.patch \ |
| 22 | file://0007-Mark-deleted-interfaces-as-being-changed.patch \ | 22 | file://0007-Mark-deleted-interfaces-as-being-changed.patch \ |
| 23 | file://0008-Handle-errors-from-socket-calls.patch \ | 23 | file://0008-Handle-errors-from-socket-calls.patch \ |
| 24 | file://0009-remove-unneeded-headers.patch \ | ||
| 24 | file://mdns.service \ | 25 | file://mdns.service \ |
| 25 | " | 26 | " |
| 26 | SRCREV = "8769ab51605e465425d33d757f602ce5905ca639" | 27 | SRCREV = "8769ab51605e465425d33d757f602ce5905ca639" |
