From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1419084-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 2F7A5158094
	for <garchives@archives.gentoo.org>; Sun, 17 Jul 2022 15:27:59 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3E8E8E0DA3;
	Sun, 17 Jul 2022 15:27:58 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1C691E0DA3
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Jul 2022 15:27:58 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0E90334100D
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Jul 2022 15:27:57 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 886C64FB
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Jul 2022 15:27:55 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1658071662.c2a1e6b202c6f3f8144fda42ce90b7d521a76ace.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/doxygen/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-doc/doxygen/doxygen-1.9.4-r1.ebuild app-doc/doxygen/doxygen-1.9.4.ebuild app-doc/doxygen/doxygen-9999.ebuild
X-VCS-Directories: app-doc/doxygen/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: c2a1e6b202c6f3f8144fda42ce90b7d521a76ace
X-VCS-Branch: master
Date: Sun, 17 Jul 2022 15:27:55 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 7ded72bf-2053-4f90-aecd-5647d9df99b5
X-Archives-Hash: fb24339109eed838fb56189ba8d5d8ba

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)