commit:     f30e7f7f7319330640d9fc44c10909f482c278da
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 31 23:29:33 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 03:14:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30e7f7f

sci-visualization/gle: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/927779
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sci-visualization/gle/gle-4.3.4-r1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/sci-visualization/gle/gle-4.3.4-r1.ebuild 
b/sci-visualization/gle/gle-4.3.4-r1.ebuild
index 38c0f6b7b18f..4eeeda66df9f 100644
--- a/sci-visualization/gle/gle-4.3.4-r1.ebuild
+++ b/sci-visualization/gle/gle-4.3.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake elisp-common
+inherit cmake elisp-common flag-o-matic
 
 DESCRIPTION="Graphics Layout Engine"
 HOMEPAGE="http://glx.sourceforge.io/ https://github.com/vlabella/GLE/";
@@ -43,6 +43,11 @@ PATCHES=( "${FILESDIR}"/license.patch 
"${FILESDIR}"/tiff.patch )
 SITEFILE="64${PN}-gentoo.el"
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/927779
+       # https://github.com/vlabella/GLE/issues/35
+       filter-lto
+
        local mycmakeargs=(
                
-DGLE_EXAMPLES_LIBRARY_PATH="${WORKDIR}"/gle-library-${LIB_VERSION}
        )

Reply via email to