diff options
author | Sam James <sam@gentoo.org> | 2024-10-08 17:05:00 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-08 17:05:47 +0100 |
commit | c9130151b56e3be1adc76e84df0e9dcd1a4bd3e3 (patch) | |
tree | fd6a6e9a5be708f75c756e2ca8d351dee47e3d99 /net-fs | |
parent | sys-apps/cpu-x: add 5.1.0 (diff) | |
download | gentoo-c9130151b56e3be1adc76e84df0e9dcd1a4bd3e3.tar.gz gentoo-c9130151b56e3be1adc76e84df0e9dcd1a4bd3e3.tar.bz2 gentoo-c9130151b56e3be1adc76e84df0e9dcd1a4bd3e3.zip |
media-libs/fontconfig: fix aliasing violation
We had a report of GCC 14 with -O3 -flto causing wrong font
sizes with fontconfig (showing up in qalculate-gtk).
It turns out to be because _FcPatternIter and _FcPatternPrivateIter
are punned between which violates strict-aliasing rules, which
manifested in FcDefaultSubstitute getting a bogus value from
FcValueCanonicalize for size.
Mark the bad struct as may_alias to fix that.
Closes: https://bugs.gentoo.org/940923
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-fs')
0 files changed, 0 insertions, 0 deletions