commit:     effc194e2aec52111906cf479dfbe976200d1b41
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Apr 26 14:27:18 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 26 18:16:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=effc194e

sci-libs/pgplot: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/862918
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/pgplot/pgplot-5.2.2-r7.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild 
b/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild
index 07e406e2d678..99f9fa03c2be 100644
--- a/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild
+++ b/sci-libs/pgplot/pgplot-5.2.2-r7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -66,6 +66,12 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/862918
+       #
+       # Upstream contact method is email. I have sent one.
+       filter-lto
+
        # GCC 10 workaround
        # bug #722190
        append-fflags $(test-flags-FC -fallow-argument-mismatch)

Reply via email to