Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/fakeroot
diff options
context:
space:
mode:
Diffstat (limited to 'core/fakeroot')
-rw-r--r--core/fakeroot/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/fakeroot/PKGBUILD b/core/fakeroot/PKGBUILD
new file mode 100644
index 00000000..02dbd7ea
--- /dev/null
+++ b/core/fakeroot/PKGBUILD
@@ -0,0 +1,17 @@
+# https://salsa.debian.org/clint/fakeroot/-/merge_requests/19
+# t.cp-a test fails because of directly using fchown32, the patch
+# adds a test, but it is already applied upstream
+#
+
+source+=(cp-a.patch)
+sha256sums+=('e4d059e2abbeeffde2ffb2a87ca6daa476e789da5ce76884ffa52479ca326a15')
+eval "$(
+ {
+ declare -f prepare || \
+ printf 'prepare() {\n}\n'
+ } \
+ | sed '
+ $i cd "${srcdir}/${pkgbase}-${pkgver}" \
+ patch -Np1 -i "$srcdir/cp-a.patch"
+ '
+)"