diff options
author | Zach van Rijn <me@zv.io> | 2022-12-07 14:49:19 -0600 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-12-07 14:49:19 -0600 |
commit | 324ceed0e3026ad280841fe07e2e75461dcdf1dd (patch) | |
tree | 9b9d1c38e8a917292485b2be2d91164f5a0000a5 /scripts | |
parent | 1a548bbc5388df9344cceb778b5689887700507e (diff) | |
download | packages-324ceed0e3026ad280841fe07e2e75461dcdf1dd.tar.gz packages-324ceed0e3026ad280841fe07e2e75461dcdf1dd.tar.bz2 packages-324ceed0e3026ad280841fe07e2e75461dcdf1dd.tar.xz packages-324ceed0e3026ad280841fe07e2e75461dcdf1dd.zip |
Add fakeroot patches.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/setup-abuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/setup-abuild b/scripts/setup-abuild index f35ddd114..bfd75add8 100644 --- a/scripts/setup-abuild +++ b/scripts/setup-abuild @@ -331,14 +331,20 @@ test ! -f ._${nfrt}-${vfrt#*:} && \ ; cd ${nfrt}-${vfrt}; git checkout ${vfrt}; + while read k; do curl -s ${k} | patch -p1 || true; done <<EOF +https://git.alpinelinux.org/aports/plain/main/fakeroot/do-not-redefine-id_t.patch?id=bb497eeb2155d0332284942105692bc05fec25a9 +https://git.alpinelinux.org/aports/plain/main/fakeroot/fakeroot-no64.patch?id=bb497eeb2155d0332284942105692bc05fec25a9 +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 +EOF ./bootstrap; f=$(mktemp); # needed due to "error: unknown type name 'cap_user_header_t'" echo > ${f} "#include <linux/capability.h>"; cat libfakeroot.c >> ${f}; mv ${f} libfakeroot.c; rm -fr x; mkdir x; cd x; - # -D_ID_T is for "error: conflicting types for 'id_t'; have 'int'" - CFLAGS="-D_ID_T" \ + CFLAGS="-D_STAT_VER=0 $CFLAGS" \ ../configure \ --prefix="${DEST}" \ ; |