From a79f5705a3aafcf1505681e96ce4551854b7e437 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Sat, 31 Dec 2022 23:23:43 +0800 Subject: [PATCH] systemd: fix bootctl build --- ...lude-bits-reg.h-for-musl-__WORD_SIZE.patch | 24 +++++++++++++++++++ systemd/APKBUILD | 4 +++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 systemd/0102-bootctl-include-bits-reg.h-for-musl-__WORD_SIZE.patch diff --git a/systemd/0102-bootctl-include-bits-reg.h-for-musl-__WORD_SIZE.patch b/systemd/0102-bootctl-include-bits-reg.h-for-musl-__WORD_SIZE.patch new file mode 100644 index 0000000..e2275a7 --- /dev/null +++ b/systemd/0102-bootctl-include-bits-reg.h-for-musl-__WORD_SIZE.patch @@ -0,0 +1,24 @@ +From 7c47949582cae5481a1b05c4ddc489e8fbb7a3b1 Mon Sep 17 00:00:00 2001 +From: xdavidwu +Date: Sat, 31 Dec 2022 23:21:53 +0800 +Subject: [PATCH] bootctl: include bits/reg.h for musl __WORD_SIZE + +--- + src/boot/bootctl.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c +index 7916587..7c5ae36 100644 +--- a/src/boot/bootctl.c ++++ b/src/boot/bootctl.c +@@ -9,6 +9,7 @@ + #include + #include + #include ++#include + + #include "sd-id128.h" + +-- +2.39.0 + diff --git a/systemd/APKBUILD b/systemd/APKBUILD index 8d693a7..bc6a971 100644 --- a/systemd/APKBUILD +++ b/systemd/APKBUILD @@ -34,7 +34,8 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/systemd/systemd-stable/archi 0025-Handle-__cpu_mask-usage.patch 0026-Handle-missing-gshadow.patch 0100-Do-not-buffer-on-systemd-sleep.patch - 0101-efi-do-not-set-wide-exec-charset.patch" + 0101-efi-do-not-set-wide-exec-charset.patch + 0102-bootctl-include-bits-reg.h-for-musl-__WORD_SIZE.patch" pkgusers="systemd-network systemd-resolve systemd-coredump" pkggroups="systemd-journal" provides="hwids-udev=99999999 eudev=99 eudev-libs=99" @@ -161,4 +162,5 @@ c079dffc11b772bd4be4f09cc1b61d119133f26b2600e9ed386d5d8e985c30922850c5134aa4c294 e9d3de0055ed19b46dbf448306546533f3bc5e5e14d557c02a491aec371d71734c89868c0dfb27332222c659c254549f7163847ccbde15df12043bd4652b1732 0026-Handle-missing-gshadow.patch aeca4851d4cef2439eca2519dd031a842d7699782edee06239ca66f157711faf16c2943b310963faaf06d3b8c02bb0390b900ea8900c88e5ecbfc000f7929ab6 0100-Do-not-buffer-on-systemd-sleep.patch daf52c1f16fc29688e45d9bdbc67dff93bb606da3ef95963e3bcbf79690527e6704b8dffc50886342dc213154a62650ee70533dd70e58d6fd6238c17d8aa6e43 0101-efi-do-not-set-wide-exec-charset.patch +22e2dd208002d296f29cdc06b0d57297de28b3166904bdebffba823dbd88650a54a1e96df056f73d444e318f46a2dd1727766f57a99ad5650d985cd24d9f9899 0102-bootctl-include-bits-reg.h-for-musl-__WORD_SIZE.patch " -- 2.45.2