mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-util/ostree: add patch to fix musl build
Closes: https://bugs.gentoo.org/879321 Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
17
dev-util/ostree/files/ostree-2022.6-musl-allperms.patch
Normal file
17
dev-util/ostree/files/ostree-2022.6-musl-allperms.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
https://bugs.gentoo.org/879321
|
||||
|
||||
From: ernsteiswuerfel <erhard_f@mailbox.org>
|
||||
|
||||
--- a/src/libostree/ostree-repo-checkout.c
|
||||
+++ b/src/libostree/ostree-repo-checkout.c
|
||||
@@ -37,6 +37,10 @@
|
||||
|
||||
#define OVERLAYFS_WHITEOUT_PREFIX ".ostree-wh."
|
||||
|
||||
+#if !defined(ALLPERMS)
|
||||
+# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */
|
||||
+#endif
|
||||
+
|
||||
/* Per-checkout call state/caching */
|
||||
typedef struct {
|
||||
GString *path_buf; /* buffer for real path if filtering enabled */
|
||||
@@ -63,6 +63,10 @@ BDEPEND="
|
||||
|
||||
S="${WORKDIR}/lib${P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-musl-allperms.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user