third_party/libwebm/mkvparser/mkvparser.cc needs patched to +#include <cstdint> Reproducible: Always Steps to Reproduce: select gcc-15 emerge -va1 media-libs/libaom-3.9.1 Expected Results: /var/tmp/portage/media-libs/libaom-3.9.1/work/libaom-3.9.1/third_party/libwebm/mkvparser/mkvparser.cc:249:7: error: ‘uint32_t’ does not name a type 249 | uint32_t ff; | ^~~~~~~~ /var/tmp/portage/media-libs/libaom-3.9.1/work/libaom-3.9.1/third_party/libwebm/mkvparser/mkvparser.cc:24:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
Created attachment 899203 [details, diff] +#include <cstdint>
Created attachment 899204 [details] fail build log
Created attachment 899205 [details] success build log
committed upstream for main of libaom (see also link) and libvpx ap...@google.com added comment #3: Project: aom Branch: main commit e448dcd13a9f534c7291903e9ab18dfc4fea54ad Author: James Zern <jzern@google.com> Date: Tue Aug 06 10:38:00 2024 update libwebm to libwebm-1.0.0.31-10-g3b63004 This fixes a build error seen in gcc 15: 3b63004 mkvparser/mkvparser.cc: add missing <cstdint> include Bug: aomedia:357622679
Created attachment 899845 [details, diff] include cstdint
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0f4bc8800030a7ed449f98312c474148a5b327e commit c0f4bc8800030a7ed449f98312c474148a5b327e Author: Sam James <sam@gentoo.org> AuthorDate: 2024-08-15 00:29:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-08-15 00:29:17 +0000 media-libs/libaom: fix build w/ gcc-15 Closes: https://bugs.gentoo.org/937420 Signed-off-by: Sam James <sam@gentoo.org> .../libaom/files/libaom-3.9.1-gcc15-cstdint.patch | 39 ++++++++++++++++++++++ media-libs/libaom/libaom-3.9.1.ebuild | 1 + 2 files changed, 40 insertions(+)