From 9e83e0e81976dc62822ec27a09579e20451c8719 Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Sat, 7 Dec 2024 20:07:06 -0600 Subject: setup-abuild: install libfakeroot.so and add xstat patch. --- setup-abuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup-abuild b/setup-abuild index 9ee0e7f..93d2046 100755 --- a/setup-abuild +++ b/setup-abuild @@ -347,6 +347,7 @@ https://git.alpinelinux.org/aports/plain/main/fakeroot/fakeroot-no64.patch?id=bb https://git.alpinelinux.org/aports/plain/main/fakeroot/fakeroot-stdint.patch?id=bb497eeb2155d0332284942105692bc05fec25a9 https://git.alpinelinux.org/aports/plain/main/fakeroot/fix-format.patch?id=bb497eeb2155d0332284942105692bc05fec25a9 https://git.alpinelinux.org/aports/plain/main/fakeroot/fix-shell-in-fakeroot.patch?id=bb497eeb2155d0332284942105692bc05fec25a9 +https://git.adelielinux.org/adelie/packages/-/raw/bc7fcd1b36a697ab8ce5fd6ace425a9143330dce/system/fakeroot/xstatjunk.patch EOF ./bootstrap; f=$(mktemp); # needed due to "error: unknown type name 'cap_user_header_t'" @@ -354,7 +355,8 @@ EOF cat libfakeroot.c >> ${f}; mv ${f} libfakeroot.c; rm -fr x; mkdir x; cd x; - CFLAGS="-static -D_STAT_VER=0 $CFLAGS" \ + # If CFLAGS has '-static', .so files are not installed! + CFLAGS="-D_STAT_VER=0 $CFLAGS" \ ../configure \ --prefix="${DEST}" \ --host="$(${CC} -dumpmachine)" \ -- cgit v1.2.3-70-g09d2