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