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.
This commit is contained in:
Chris Marusich 2020-12-27 19:50:40 -08:00
parent f9e1baa893
commit fdb90e9ee8
No known key found for this signature in database
GPG key ID: DD409A15D822469D

View file

@ -76,7 +76,7 @@ (define-public libffi
(lambda* (#:key inputs #:allow-other-keys)
(let ((patch (assoc-ref inputs
"powerpc64le-patch")))
(invoke "patch" "--batch" "-p1"
(invoke "patch" "--force" "-p1"
"-i" patch))))))
'())))
(inputs