about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2024-12-12 17:04:49 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-12-12 17:14:11 +0900
commite7551939f40f3097bb6a358a48e5fc24825d7369 (patch)
treecc3dd16fd67e4b9c0293f0adafa8936041e9e2b0
parent2fa02a79e01ff078bea27b0cbcefb593a07db186 (diff)
downloadloftix-e7551939f40f3097bb6a358a48e5fc24825d7369.tar.gz
Update E9Patch
-rw-r--r--loftix/patching.scm14
1 files changed, 6 insertions, 8 deletions
diff --git a/loftix/patching.scm b/loftix/patching.scm
index 35b3aac..26b25e2 100644
--- a/loftix/patching.scm
+++ b/loftix/patching.scm
@@ -30,7 +30,7 @@
   #:use-module (guix packages))
 
 (define-public e9patch
-  (let ((commit "2ab9969d5314ef483936fab6c585754d961ef734")
+  (let ((commit "840358a4aeeeb397fd10a34ae815b5bd33b73b19")
         (revision "0"))
     (package
       (name "e9patch")
@@ -42,7 +42,7 @@
                      (commit commit)))
                 (sha256
                  (base32
-                  "0snpdn8xmyg6aypbxjayqpyvxsz4vqm8ggcjcvjpjrdxydplv2cd"))
+                  "04an37kny9aznizyy0l5djx1jvlgfn5k1z2kcva9bv3dz6ljhx99"))
                 (file-name (git-file-name name version))
                 (patches (search-patches
                            ;; https://github.com/GJDuck/e9patch/pull/94
@@ -60,12 +60,10 @@
                            ;; https://github.com/GJDuck/e9patch/pull/97
                            "patches/e9patch-check-same_op_2.patch"))))
       (build-system gnu-build-system)
-      (arguments (list #:phases
-                       #~(modify-phases %standard-phases
-                           (add-after 'unpack 'fix-prefix
-                             (lambda _
-                               (substitute* "Makefile" (("/usr") #$output))))
-                           (delete 'configure))))
+      (arguments (list #:phases #~(modify-phases %standard-phases
+                                    (delete 'configure))
+                       #:make-flags #~(list (string-append
+                                              "PREFIX=" #$output))))
       (native-inputs (list markdown xxd))
       (inputs (list elfutils zycore zydis zlib))
       (home-page "https://github.com/GJDuck/e9patch")