]> git.sthu.org Git - shuber-gentoo-overlay.git/commit
dev-embedded/simulavr: fix build with modern GCC
authorStefan Huber <shuber@sthu.org>
Mon, 17 Aug 2026 22:02:27 +0000 (00:02 +0200)
committerStefan Huber <shuber@sthu.org>
Mon, 17 Aug 2026 22:02:27 +0000 (00:02 +0200)
commit2ac7305c948d1ecbe446d3aac337f698a38fa463
tree9077fa6e8401decd88819d505288ce054aba5a9e
parent01c988cea6d4fec8fc97a1550123c49e72c983ea
dev-embedded/simulavr: fix build with modern GCC

The bundled googletest 1.10.0 copy under regress/gtest fails to
compile with GCC 15: gtest-death-test.cc uses uintptr_t without
including <cstdint>, which older GCC/libstdc++ used to pull in
transitively via <limits.h> but no longer does. The regress/
subdirectory is unconditionally added to the "all" target with no
CMake toggle to skip it, so this breaks a plain build, not just
`make check`. Verified by building the release-1.1.0 tag standalone
with cmake/make outside the ebuild sandbox: the fix lets both the
main build and `make doc` complete.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
dev-embedded/simulavr/Manifest
dev-embedded/simulavr/files/fix-gcc15-cstdint.patch [new file with mode: 0644]
dev-embedded/simulavr/simulavr-1.1.0.ebuild