guix_mirror_bot pushed a commit to branch 
linux-libre-arm64-mnt-reform-fix-build-6.12.33
in repository guix.

commit f0639fc659054470c6f56af83864f6a63192be4d
Author: Vagrant Cascadian <[email protected]>
AuthorDate: Sun Jun 15 07:12:47 2025 -0700

    gnu: linux-libre-arm64-mnt-reform: Fix build.
    
    * gnu/packages/linux.scm (%mnt-reform-revert-drm-rockchip-vop2-patch): New
    variable.  (linux-libre-arm64-mnt-reform): Apply patch.
---
 gnu/packages/linux.scm | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index dd477e02c7..bf93bd57b7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1511,12 +1511,29 @@ Linux kernel.  It has been modified to remove all 
non-free binary blobs.")
               license:gpl3
               license:x11))))
 
+(define %mnt-reform-revert-drm-rockchip-vop2-patch
+  (origin
+    (method url-fetch)
+    (uri (string-append
+          "https://source.mnt.re/vagrantc/reform-debian-packages/";
+          "-/raw/e4e6b0972dcbe21c83c0704a9f36d29e0657a9f2/linux/"
+          "patches6.12/rk3588-drm-revert/"
+          "0001-Revert-drm-rockchip-vop2-Improve-display-modes-handl.patch"))
+    (file-name "mnt-reform-revert-drm-rockchip-vop2.patch")
+    (sha256
+     (base32 "1h4cznxx0ix5bd7cfwxil0zrxmzqryha19l11ww6hd8bad1f9i7p"))))
+
 (define-public linux-libre-arm64-mnt-reform
   ;; Kernel for use on the MNT/Reform systems
   ;; https://mntre.com/reform.html
   (let ((base (make-linux-libre* linux-libre-6.12-version
                                  linux-libre-6.12-gnu-revision
-                                 linux-libre-6.12-source
+                                 (source-with-patches linux-libre-6.12-source
+                                                      ;; Revert upstream patch
+                                                      ;; that conflicts with
+                                                      ;; MNT/Reform patches
+                                                      (list
+                                                       
%mnt-reform-revert-drm-rockchip-vop2-patch))
                                  '("aarch64-linux")
                                  #:extra-version "arm64-mnt-reform"
                                  #:extra-options

Reply via email to