diff options
author | 宋文武 <iyzsong@member.fsf.org> | 2025-02-06 14:12:21 +0800 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:38 +0200 |
commit | 86c5509e28201a86a76e5a134736b13780bf98e4 (patch) | |
tree | 4975994b9a6df959e4da16342db0272424640004 | |
parent | f9170a9def4ad1104ec85c28fbdbccb504987335 (diff) |
gnu: ftgl: Fix build with newer freetype.
* gnu/packages/gl.scm (ftgl) [arguments]: Add -fpermissive to CXXFLAGS.
Change-Id: Id9d7c14b608c8352898467ecdff708b2b752b09c
-rw-r--r-- | gnu/packages/gl.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 42b821d6c2..f05e870335 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -186,7 +186,10 @@ the X-Consortium license.") "0zjs1h9w30gajq9lndzvjsa26rsmr1081lb1fbpbj10yhcdcsc79")))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--disable-static"))) + `(#:configure-flags + '("--disable-static" + ;; XXX: FTVectoriser.cpp: conversion from ‘unsigned char*’ to ‘char*’ + "CXXFLAGS=-fpermissive"))) ;; The pkg-config file lists "freetype2" as Requires.private. (propagated-inputs (list freetype)) (inputs (list libx11 mesa glu)) |