commit: 45dcf3ec690a8ac11c62dce2d3fba6d14f507768 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu May 15 08:03:51 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu May 15 08:36:36 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45dcf3ec
app-text/calibre: add -std=gnu17 workaround to 7.22.0 It can be dropped w/ >=7.25.0. Closes: https://bugs.gentoo.org/949509 Signed-off-by: Sam James <sam <AT> gentoo.org> app-text/calibre/calibre-7.22.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app-text/calibre/calibre-7.22.0.ebuild b/app-text/calibre/calibre-7.22.0.ebuild index f1f0180630d4..9ee965558d70 100644 --- a/app-text/calibre/calibre-7.22.0.ebuild +++ b/app-text/calibre/calibre-7.22.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) PYTHON_REQ_USE="sqlite,ssl" -inherit edo toolchain-funcs python-single-r1 qmake-utils verify-sig xdg +inherit edo flag-o-matic toolchain-funcs python-single-r1 qmake-utils verify-sig xdg DESCRIPTION="Ebook management application" HOMEPAGE="https://calibre-ebook.com/" @@ -164,6 +164,10 @@ src_compile() { # TODO: get qmake called by setup.py to respect CC and CXX too tc-export CC CXX + # Workaround for GCC 15 (bug #949509) + # Can be dropped w/ >=7.25.0 + append-cflags -std=gnu17 + # bug 821871 local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)" export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
