From 55ad14e87ce77cd87c1e09a2c89d0d920325ce33 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 23 Aug 2022 23:34:40 -0700 Subject: [PATCH] pinentry: enable _XOPEN_SOURCE on musl for wchar usage in curses This is defined for glibc automatically with _GNU_SOURCE but not for musl (From OE-Core rev: 84375186570af548b49e44e884925f4feaddcc7a) Signed-off-by: Khem Raj Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- meta/recipes-support/pinentry/pinentry_1.2.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-support/pinentry/pinentry_1.2.0.bb b/meta/recipes-support/pinentry/pinentry_1.2.0.bb index 169cac8965..e6cc71a547 100644 --- a/meta/recipes-support/pinentry/pinentry_1.2.0.bb +++ b/meta/recipes-support/pinentry/pinentry_1.2.0.bb @@ -32,5 +32,8 @@ PACKAGECONFIG[secret] = "--enable-libsecret, --disable-libsecret, libsecret" EXTRA_OECONF = " \ --disable-rpath \ " +EXTRA_OECONF:append:libc-musl = " \ + ac_cv_should_define__xopen_source=yes \ +" BBCLASSEXTEND = "native nativesdk"