about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2024-12-10 19:26:21 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-12-10 19:42:10 +0900
commit459fc71b744a905707cff6235a15166f47cf1b15 (patch)
treec97c96da8e62218bcb175a75a980069b06ac1b97
parent07d8c67d21a1c56bd7e1c2415311da29de551281 (diff)
downloadloftix-459fc71b744a905707cff6235a15166f47cf1b15.tar.gz
Update E9Patch
-rw-r--r--loftix/patching.scm14
1 files changed, 4 insertions, 10 deletions
diff --git a/loftix/patching.scm b/loftix/patching.scm
index b7470d4..35b3aac 100644
--- a/loftix/patching.scm
+++ b/loftix/patching.scm
@@ -30,7 +30,7 @@
   #:use-module (guix packages))
 
 (define-public e9patch
-  (let ((commit "a31c106e1e2375bb4ffc0cd9e50a4e6a3eba9ea2")
+  (let ((commit "2ab9969d5314ef483936fab6c585754d961ef734")
         (revision "0"))
     (package
       (name "e9patch")
@@ -42,7 +42,7 @@
                      (commit commit)))
                 (sha256
                  (base32
-                  "1w9am7p662kjmikx92p4w264q95na9plpnba2n7w3sbqdxs43g4l"))
+                  "0snpdn8xmyg6aypbxjayqpyvxsz4vqm8ggcjcvjpjrdxydplv2cd"))
                 (file-name (git-file-name name version))
                 (patches (search-patches
                            ;; https://github.com/GJDuck/e9patch/pull/94
@@ -60,17 +60,11 @@
                            ;; https://github.com/GJDuck/e9patch/pull/97
                            "patches/e9patch-check-same_op_2.patch"))))
       (build-system gnu-build-system)
-      (arguments (list #:modules `((ice-9 string-fun) ; string-replace-substring
-                                   ,@%default-gnu-modules)
-                       #:phases
+      (arguments (list #:phases
                        #~(modify-phases %standard-phases
                            (add-after 'unpack 'fix-prefix
                              (lambda _
-                               (substitute* "Makefile"
-                                 ;; https://github.com/GJDuck/e9patch/pull/87
-                                 (("\\\\/usr")
-                                  (string-replace-substring #$output "/" "\\/"))
-                                 (("/usr") #$output))))
+                               (substitute* "Makefile" (("/usr") #$output))))
                            (delete 'configure))))
       (native-inputs (list markdown xxd))
       (inputs (list elfutils zycore zydis zlib))