summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-17 15:27:42 +0000
committerSam James <sam@gentoo.org>2022-07-17 15:27:42 +0000
commitc2a1e6b202c6f3f8144fda42ce90b7d521a76ace (patch)
tree1888f3f1ef45eabc6b4ac9e0404f77aec7633c75
parentsys-apps/pciutils: filter LTO (diff)
downloadgentoo-c2a1e6b202c6f3f8144fda42ce90b7d521a76ace.tar.gz
gentoo-c2a1e6b202c6f3f8144fda42ce90b7d521a76ace.tar.bz2
gentoo-c2a1e6b202c6f3f8144fda42ce90b7d521a76ace.zip
app-doc/doxygen: filter LTO (-Wodr)
Closes: https://bugs.gentoo.org/854357 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--app-doc/doxygen/doxygen-1.9.4-r1.ebuild (renamed from app-doc/doxygen/doxygen-1.9.4.ebuild)3
-rw-r--r--app-doc/doxygen/doxygen-9999.ebuild8
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
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)