[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
288/416: gnu: imgui: Use unsigned int vertex indexes.
From: |
guix-commits |
Subject: |
288/416: gnu: imgui: Use unsigned int vertex indexes. |
Date: |
Fri, 14 Apr 2023 15:26:06 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 0d5746ee7ca337dcc82553ca6dd794b04bb6563d
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Apr 1 10:47:12 2023 -0400
gnu: imgui: Use unsigned int vertex indexes.
* gnu/packages/toolkits.scm (imgui)
[arguments]: Add the "-DImDrawIdx=unsigned int" compiler option to the build
phase.
---
gnu/packages/toolkits.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/toolkits.scm b/gnu/packages/toolkits.scm
index 3030e3aa49..82b9490e62 100644
--- a/gnu/packages/toolkits.scm
+++ b/gnu/packages/toolkits.scm
@@ -66,7 +66,12 @@
(replace 'build
(lambda* (#:key inputs #:allow-other-keys)
;; Build main library.
- (apply invoke #$(cc-for-target) "-I" (getcwd)
+ (apply invoke #$(cc-for-target)
+ ;; This option is necessary at least for OpenBoardView,
+ ;; otherwise it would fail with the "Too many vertices in
+ ;; ImDrawList using 16-bit indices".
+ "-DImDrawIdx=unsigned int"
+ "-I" (getcwd)
"-I" (search-input-directory inputs "include/freetype2")
"-g" "-O2" "-fPIC" "-shared"
"-lGL" "-lSDL2" "-lglfw"
- 400/416: gnu: python-fonttools-next: Update to 4.39.3., (continued)
- 400/416: gnu: python-fonttools-next: Update to 4.39.3., guix-commits, 2023/04/14
- 399/416: gnu: python-fontmath: Update to 0.9.3., guix-commits, 2023/04/14
- 407/416: gnu: python-fontparts-bootstrap: Update to 0.11.0., guix-commits, 2023/04/14
- 410/416: gnu: python-afdko: Add bash-minimal to inputs., guix-commits, 2023/04/14
- 409/416: gnu: font-abattis-cantarell: Update to 0.303-0.e049149., guix-commits, 2023/04/14
- 406/416: gnu: python-unicodedata2: Update to 15.0.0., guix-commits, 2023/04/14
- 284/416: gnu: gnunet: Disable flaky tests., guix-commits, 2023/04/14
- 285/416: gnu: blender: Use gexps and remove labels., guix-commits, 2023/04/14
- 314/416: gnu: Add rust-indexmap-1.7., guix-commits, 2023/04/14
- 394/416: gnu: heimdal: Update to 7.8.0 [fixes CVE-2022-44640]., guix-commits, 2023/04/14
- 288/416: gnu: imgui: Use unsigned int vertex indexes.,
guix-commits <=
- 307/416: gnu: gi-docgen: Update to 2023.1., guix-commits, 2023/04/14
- 311/416: gnu: rust-pyo3-macros-0.15: Update to 0.15.2., guix-commits, 2023/04/14
- 321/416: gnu: Add rust-android-system-properties-0.1., guix-commits, 2023/04/14
- 323/416: gnu: Add rust-asn1-0.13., guix-commits, 2023/04/14
- 324/416: gnu: rust-openssl-0.10: Update to 0.10.49., guix-commits, 2023/04/14
- 325/416: gnu: rust-bindgen-0.64: Add package., guix-commits, 2023/04/14
- 328/416: gnu: Add rust-sptr-0.3., guix-commits, 2023/04/14
- 337/416: gnu: rust-futures-core-0.3: Update to 0.3.26., guix-commits, 2023/04/14
- 340/416: gnu: rust-futures-macro-0.3: Update to 0.3.26., guix-commits, 2023/04/14
- 341/416: gnu: rust-futures-task-0.3: Update to 0.3.26., guix-commits, 2023/04/14