~xdavidwu/systemd-apkbuilds

a79f5705a3aafcf1505681e96ce4551854b7e437 — xdavidwu 1 year, 10 months ago 34dacb4
systemd: fix bootctl build
2 files changed, 27 insertions(+), 1 deletions(-)

A systemd/0102-bootctl-include-bits-reg.h-for-musl-__WORD_SIZE.patch
M systemd/APKBUILD
A systemd/0102-bootctl-include-bits-reg.h-for-musl-__WORD_SIZE.patch => systemd/0102-bootctl-include-bits-reg.h-for-musl-__WORD_SIZE.patch +24 -0
@@ 0,0 1,24 @@
From 7c47949582cae5481a1b05c4ddc489e8fbb7a3b1 Mon Sep 17 00:00:00 2001
From: xdavidwu <xdavidwuph@gmail.com>
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 <stdlib.h>
 #include <sys/mman.h>
 #include <unistd.h>
+#include <bits/reg.h>
 
 #include "sd-id128.h"
 
-- 
2.39.0


M systemd/APKBUILD => systemd/APKBUILD +3 -1
@@ 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
"