me
/
guix
Archived
1
0
Fork 0

gnu: libffi: On powerpc, patch with --force.

As explained in bug 45252, this is the right way to invoke it.

Efraim has confirmed that it is OK to make this change on master branch for
the generic powerpc case, even though it will in theory cause rebuilds on that
architecture, since in practice it isn't actually being used yet.

* 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 "powerpc", so that we invoke it using --force instead of --batch.
master
Chris Marusich 2020-12-27 19:57:15 -08:00
parent fdb90e9ee8
commit 662e7e28d5
No known key found for this signature in database
GPG Key ID: DD409A15D822469D
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@
(lambda* (#:key inputs #:allow-other-keys)
(let ((patch (assoc-ref inputs
"powerpc-patch")))
(invoke "patch" "--batch" "-p1"
(invoke "patch" "--force" "-p1"
"-i" patch))))))
'())
,@(if (string-prefix? "powerpc64le-" (or (%current-target-system)