guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: libffi: On powerpc64le, patch using --force.


From: guix-commits
Subject: 01/02: gnu: libffi: On powerpc64le, patch using --force.
Date: Sun, 27 Dec 2020 23:13:15 -0500 (EST)

marusich pushed a commit to branch master
in repository guix.

commit fdb90e9ee8a578c88ef3a33067e8a532e43ae7b8
Author: Chris Marusich <cmmarusich@gmail.com>
AuthorDate: Sun Dec 27 19:50:40 2020 -0800

    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.
---
 gnu/packages/libffi.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm
index 66239e0..375a792 100644
--- a/gnu/packages/libffi.scm
+++ b/gnu/packages/libffi.scm
@@ -76,7 +76,7 @@
                             (lambda* (#:key inputs #:allow-other-keys)
                               (let ((patch (assoc-ref inputs
                                                       "powerpc64le-patch")))
-                                (invoke "patch" "--batch" "-p1"
+                                (invoke "patch" "--force" "-p1"
                                         "-i" patch))))))
              '())))
     (inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]