iyzsong pushed a commit to branch qt-team
in repository guix.
commit 38fd7bb12370deda1820e41a4aee704f5be86e94
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 2a5dd4a75c..aa3b7533fe 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1886,6 +1886,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