me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 1 additions and 1 deletions

View File

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