]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cairo: fix build with gcc-15 on host
authorMartin Jansa <martin.jansa@gmail.com>
Sun, 17 Aug 2025 20:50:33 +0000 (22:50 +0200)
committerSteve Sakoman <steve@sakoman.com>
Tue, 19 Aug 2025 20:58:31 +0000 (13:58 -0700)
commit6bd49cba1d7e12a6d8a4521a2097ff9f5ddc6368
tree694f9236eb55f4f7b2b34c0986d41a45c7cb6cce
parent67c47f0ed5ba852930e0815691ee7ec06dec1d0e
cairo: fix build with gcc-15 on host

* backports from 1.18.2 used since:
  https://git.openembedded.org/openembedded-core/commit/?id=070d79c8adec7e0a8862019cf61910a59b18613a

* fixes build on hosts with gcc-15 (e.g. ubuntu-25.10)

../cairo-1.18.0/test/pdiff/pdiff.h:22:13: error: â\80\98boolâ\80\99 cannot be defined via â\80\98typedefâ\80\99
   22 | typedef int bool;
      |             ^~~~
../cairo-1.18.0/test/pdiff/pdiff.h:22:13: note: â\80\98boolâ\80\99 is a keyword with â\80\98-std=c23â\80\99 onwards
../cairo-1.18.0/test/pdiff/pdiff.h:22:1: warning: useless type name in empty declaration
   22 | typedef int bool;
      | ^~~~~~~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-graphics/cairo/cairo/0001-Require-C11.patch [new file with mode: 0644]
meta/recipes-graphics/cairo/cairo/0002-Meson-Require-C-11.patch [new file with mode: 0644]
meta/recipes-graphics/cairo/cairo_1.18.0.bb