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
parent
fdb90e9ee8
commit
662e7e28d5
|
@ -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)
|
||||
|
|
Reference in New Issue