From: Khem Raj Date: Wed, 24 Aug 2022 06:34:40 +0000 (-0700) Subject: pinentry: enable _XOPEN_SOURCE on musl for wchar usage in curses X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84375186570af548b49e44e884925f4feaddcc7a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git pinentry: enable _XOPEN_SOURCE on musl for wchar usage in curses This is defined for glibc automatically with _GNU_SOURCE but not for musl Signed-off-by: Khem Raj Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/pinentry/pinentry_1.2.0.bb b/meta/recipes-support/pinentry/pinentry_1.2.0.bb index 169cac89656..e6cc71a5479 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"