Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] systemd: fix build with resolved enabled
@ 2019-06-26  8:35 Jörg Hofrichter
  2019-06-26  9:00 ` ✗ patchtest: failure for " Patchwork
  2019-06-26 15:06 ` [PATCH] " Burton, Ross
  0 siblings, 2 replies; 3+ messages in thread
From: Jörg Hofrichter @ 2019-06-26  8:35 UTC (permalink / raw)
  To: openembedded-core@lists.openembedded.org

From: Joerg Hofrichter <joerg.hofrichter@ni.com>
Date: Wed, 26 Jun 2019 10:30:34 +0200
Subject: [PATCH] systemd: fix build with resolved enabled

Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>
---
 ...e-also-add-missing.h-needed-for-musl.patch | 25 +++++++++++++++++++
 meta/recipes-core/systemd/systemd_242.bb      |  2 +-
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch

diff --git a/meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch b/meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch
new file mode 100644
index 0000000000..9c29944511
--- /dev/null
+++ b/meta/recipes-core/systemd/systemd/0026-resolve-also-add-missing.h-needed-for-musl.patch
@@ -0,0 +1,25 @@
+From afddcc9f6686b85380f2c4ac15f901012b725b1e Mon Sep 17 00:00:00 2001
+From: Joerg Hofrichter <joerg.hofrichter@ni.com>
+Date: Wed, 26 Jun 2019 08:04:50 +0000
+Subject: [PATCH] resolve: also add missing.h (needed for musl)
+
+Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>
+---
+ src/resolve/resolvectl.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/resolve/resolvectl.c b/src/resolve/resolvectl.c
+index 1d2fc71309..b12c80f125 100644
+--- a/src/resolve/resolvectl.c
++++ b/src/resolve/resolvectl.c
+@@ -30,6 +30,7 @@
+ #include "strv.h"
+ #include "terminal-util.h"
+ #include "verbs.h"
++#include "missing.h"
+
+ static int arg_family = AF_UNSPEC;
+ static int arg_ifindex = 0;
+--
+2.17.1
+
diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb
index 29f64b995a..4c72890d28 100644
--- a/meta/recipes-core/systemd/systemd_242.bb
+++ b/meta/recipes-core/systemd/systemd_242.bb
@@ -53,6 +53,7 @@ SRC_URI_MUSL = "file://0001-Use-getenv-when-secure-versions-are-not-available.pa
                file://0024-test-json.c-define-M_PIl.patch \
                file://0025-fs-utilh-add-missing-sys-stat-include.patch \
                file://0001-do-not-disable-buffer-in-writing-files.patch \
+               file://0026-resolve-also-add-missing.h-needed-for-musl.patch \
                "

 PAM_PLUGINS = " \
@@ -102,7 +103,6 @@ PACKAGECONFIG_remove_libc-musl = " \
     nss \
     nss-mymachines \
     nss-resolve \
-    resolved \
     smack \
     sysusers \
     utmp \
--
2.17.1
National Instruments Dresden GmbH; Geschäftsführer (Managing Director): Dr. Thorsten Dräger; Sitz (Registered Office): Dresden; HRB (Commercial Register No.): 22081; Registergericht (Registration Court): Dresden

This email and any attachments are intended only for the person to whom this email is addressed and may contain confidential and/or privileged information. If you received this email in error, please do not disclose the contents to anyone, but notify the sender by return email and delete this email (and any attachments) from your system.


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-26 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-26  8:35 [PATCH] systemd: fix build with resolved enabled Jörg Hofrichter
2019-06-26  9:00 ` ✗ patchtest: failure for " Patchwork
2019-06-26 15:06 ` [PATCH] " Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox