From fdb90e9ee8a578c88ef3a33067e8a532e43ae7b8 Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Sun, 27 Dec 2020 19:50:40 -0800 Subject: gnu: libffi: On powerpc64le, patch using --force. As explained in bug 45252, this is the right way to invoke it. * gnu/packages/libffi.scm (arguments): Change the invocation of the "patch" tool in the case where the %current-target-system or %current-system begins with "powerpc64le", so that we invoke it using --force instead of --batch. --- gnu/packages/libffi.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm index 66239e0363..375a792ebf 100644 --- a/gnu/packages/libffi.scm +++ b/gnu/packages/libffi.scm @@ -76,7 +76,7 @@ (lambda* (#:key inputs #:allow-other-keys) (let ((patch (assoc-ref inputs "powerpc64le-patch"))) - (invoke "patch" "--batch" "-p1" + (invoke "patch" "--force" "-p1" "-i" patch)))))) '()))) (inputs -- cgit v1.2.3