From: ecordonnier@snap.com
To: yocto-patches@lists.yoctoproject.org
Cc: Etienne Cordonnier <ecordonnier@snap.com>
Subject: [meta-darwin][PATCH 3/5] libgpg-error: install lock-obj-pub header for the darwin21 triplet
Date: Mon, 16 Nov 2026 21:22:21 +0100 [thread overview]
Message-ID: <20261116202223.654-3-ecordonnier@snap.com> (raw)
In-Reply-To: <20261116202223.654-1-ecordonnier@snap.com>
From: Etienne Cordonnier <ecordonnier@snap.com>
mkheader includes src/syscfg/lock-obj-pub.<host triplet>.h, but upstream only
ships <cpu>-apple-darwin names, so do_compile fails on darwin21. Install the
upstream header under the name mkheader expects.
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
recipes-support/libgpg-error/libgpg-error_%.bbappend | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 recipes-support/libgpg-error/libgpg-error_%.bbappend
diff --git a/recipes-support/libgpg-error/libgpg-error_%.bbappend b/recipes-support/libgpg-error/libgpg-error_%.bbappend
new file mode 100644
index 0000000..ee3d6ad
--- /dev/null
+++ b/recipes-support/libgpg-error/libgpg-error_%.bbappend
@@ -0,0 +1,8 @@
+# mkheader looks for src/syscfg/lock-obj-pub.<host triplet>.h, but upstream only
+# ships <cpu>-apple-darwin names, which never match <cpu>-<vendor>-darwin21.
+# The header describes Apple's pthread_mutex_t, identical across Darwin versions
+# for a given CPU, so install the upstream one under the name mkheader expects.
+do_configure:prepend:darwin21 () {
+ cp ${S}/src/syscfg/lock-obj-pub.${HOST_ARCH}-apple-darwin.h \
+ ${S}/src/syscfg/lock-obj-pub.${HOST_SYS}.h
+}
--
2.43.0
next prev parent reply other threads:[~2026-11-16 20:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 20:22 [meta-darwin][PATCH 1/5] file: disable lzlib ecordonnier
2026-11-16 20:22 ` [meta-darwin][PATCH 2/5] darwin-common: disable debuginfod ecordonnier
2026-11-16 20:22 ` ecordonnier [this message]
2026-11-16 20:22 ` [meta-darwin][PATCH 4/5] curl: pass -F for the Apple frameworks on Darwin nativesdk ecordonnier
2026-11-16 20:22 ` [meta-darwin][PATCH 5/5] gnutls: " ecordonnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261116202223.654-3-ecordonnier@snap.com \
--to=ecordonnier@snap.com \
--cc=yocto-patches@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.