andreas pushed a commit to branch qt-team
in repository guix.
commit 150d37d4d11a56b54dcde631c2bf7fd9c7d944d7
Author: 宋文武 <[email protected]>
AuthorDate: Fri Feb 7 20:43:24 2025 +0800
gnu: agg: Fix build with newer freetype.
* gnu/packages/graphics.scm (agg) [arguments]: Add -fpermissive to CXXFLAGS.
Change-Id: I49ee36c99802548e7cc9ec4cbed322f95640bfc8
---
gnu/packages/graphics.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index c3f02fac6f..1de7c3012e 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1922,6 +1922,7 @@ understanding different BRDFs (and other component
functions).")
"/include")
(string-append "--x-libraries=" (assoc-ref %build-inputs "libx11")
"/lib")
+ "CXXFLAGS=-fpermissive" ;from ‘unsigned char*’ to ‘char*’
"--disable-examples")
#:phases
(modify-phases %standard-phases