gnu: agg: Fix build with newer freetype.

* gnu/packages/graphics.scm (agg) [arguments]: Add -fpermissive to CXXFLAGS.

Change-Id: I49ee36c99802548e7cc9ec4cbed322f95640bfc8
This commit is contained in:
宋文武 2025-02-07 20:43:24 +08:00 committed by Andreas Enge
parent 86c5509e28
commit 410c4b6db7
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -2052,6 +2052,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