commit: c2a1e6b202c6f3f8144fda42ce90b7d521a76ace Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jul 17 15:27:42 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jul 17 15:27:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2a1e6b2
app-doc/doxygen: filter LTO (-Wodr) Closes: https://bugs.gentoo.org/854357 Signed-off-by: Sam James <sam <AT> gentoo.org> app-doc/doxygen/{doxygen-1.9.4.ebuild => doxygen-1.9.4-r1.ebuild} | 3 +++ app-doc/doxygen/doxygen-9999.ebuild | 8 +++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app-doc/doxygen/doxygen-1.9.4.ebuild b/app-doc/doxygen/doxygen-1.9.4-r1.ebuild similarity index 96% rename from app-doc/doxygen/doxygen-1.9.4.ebuild rename to app-doc/doxygen/doxygen-1.9.4-r1.ebuild index 9084302b6093..3d31296157c3 100644 --- a/app-doc/doxygen/doxygen-1.9.4.ebuild +++ b/app-doc/doxygen/doxygen-1.9.4-r1.ebuild @@ -93,6 +93,9 @@ src_prepare() { } src_configure() { + # -Wodr warnings, see bug #854357 and https://github.com/doxygen/doxygen/issues/9287 + filter-lto + local mycmakeargs=( -Duse_libclang=$(usex clang) -Dbuild_doc=$(usex doc) diff --git a/app-doc/doxygen/doxygen-9999.ebuild b/app-doc/doxygen/doxygen-9999.ebuild index cd997872fb53..98ae522f189f 100644 --- a/app-doc/doxygen/doxygen-9999.ebuild +++ b/app-doc/doxygen/doxygen-9999.ebuild @@ -57,10 +57,9 @@ RDEPEND="app-text/ghostscript-gpl DEPEND="${RDEPEND}" PATCHES=( - "${FILESDIR}/${PN}-1.8.16-link_with_pthread.patch" - "${FILESDIR}/${PN}-1.8.17-ensure_static_support_libraries.patch" + "${FILESDIR}/${PN}-1.9.4-link_with_pthread.patch" "${FILESDIR}/${PN}-1.9.1-ignore-bad-encoding.patch" - "${FILESDIR}/${PN}-1.9.1-header-dep.patch" + "${FILESDIR}/${PN}-1.9.1-do_not_force_libcxx.patch" ) DOCS=( LANGUAGE.HOWTO README.md ) @@ -93,6 +92,9 @@ src_prepare() { } src_configure() { + # -Wodr warnings, see bug #854357 and https://github.com/doxygen/doxygen/issues/9287 + filter-lto + local mycmakeargs=( -Duse_libclang=$(usex clang) -Dbuild_doc=$(usex doc)
