guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: imgui-1.86: Adjust make-flags.


From: guix-commits
Subject: 02/02: gnu: imgui-1.86: Adjust make-flags.
Date: Thu, 29 Jun 2023 10:54:02 -0400 (EDT)

podiki pushed a commit to branch master
in repository guix.

commit 2b25bc03a11e1c6a473bbb000c35e94233120346
Author: John Kehayias <john.kehayias@protonmail.com>
AuthorDate: Tue Jun 27 20:49:34 2023 -0400

    gnu: imgui-1.86: Adjust make-flags.
    
    * gnu/packages/toolkits.scm (imgui-1.86)[arguments]: Remove the
    "-DImDrawIdx=unsigned int" make-flag which breaks the display of mangohud, 
the
    only dependent.
---
 gnu/packages/toolkits.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/toolkits.scm b/gnu/packages/toolkits.scm
index 1af10d83f4..46b7fd2cd6 100644
--- a/gnu/packages/toolkits.scm
+++ b/gnu/packages/toolkits.scm
@@ -168,4 +168,10 @@ standard operating system features.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "02a7b05zrka20jhzag2jb4jl624i1m456bsv69jb9zgys2p9dv1n"))))))
+                "02a7b05zrka20jhzag2jb4jl624i1m456bsv69jb9zgys2p9dv1n"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments imgui)
+       ((#:make-flags flags ''())
+        ;; Remove the "-DImDrawIdx=unsigned int" make-flag as this breaks
+        ;; mangohud, the only user of this version.
+        #~(delete "-DImDrawIdx=unsigned int" #$flags))))))



reply via email to

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