commit:     6f41146196d8324a7339495055cf1a5ab1b0a47d
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Mon Mar  4 04:11:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  4 04:14:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f411461

media-gfx/geeqie: mark as LTO-unsafe

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

 media-gfx/geeqie/geeqie-2.1-r1.ebuild | 7 ++++++-
 media-gfx/geeqie/geeqie-2.2.ebuild    | 7 ++++++-
 media-gfx/geeqie/geeqie-9999.ebuild   | 9 +++++++--
 3 files changed, 19 insertions(+), 4 deletions(-)

diff --git a/media-gfx/geeqie/geeqie-2.1-r1.ebuild 
b/media-gfx/geeqie/geeqie-2.1-r1.ebuild
index e19752f02bbd..2a7751b70258 100644
--- a/media-gfx/geeqie/geeqie-2.1-r1.ebuild
+++ b/media-gfx/geeqie/geeqie-2.1-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 LUA_COMPAT=( lua5-{3,4} )
 
-inherit lua-single meson optfeature xdg
+inherit flag-o-matic lua-single meson optfeature xdg
 
 DESCRIPTION="A lightweight GTK image viewer forked from GQview"
 HOMEPAGE="http://www.geeqie.org";
@@ -64,6 +64,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/585432
+       # https://github.com/BestImageViewer/geeqie/issues/1270
+       filter-lto
+
        local emesonargs=(
                -Dgq_helpdir="share/doc/${PF}"
                -Dgq_htmldir="share/doc/${PF}/html"

diff --git a/media-gfx/geeqie/geeqie-2.2.ebuild 
b/media-gfx/geeqie/geeqie-2.2.ebuild
index c1bf5433b1fb..db97d02cdbaa 100644
--- a/media-gfx/geeqie/geeqie-2.2.ebuild
+++ b/media-gfx/geeqie/geeqie-2.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 LUA_COMPAT=( lua5-{3,4} )
 
-inherit lua-single meson optfeature xdg
+inherit flag-o-matic lua-single meson optfeature xdg
 
 DESCRIPTION="A lightweight GTK image viewer forked from GQview"
 HOMEPAGE="http://www.geeqie.org";
@@ -62,6 +62,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/585432
+       # https://github.com/BestImageViewer/geeqie/issues/1270
+       filter-lto
+
        local emesonargs=(
                -Dgq_helpdir="share/doc/${PF}"
                -Dgq_htmldir="share/doc/${PF}/html"

diff --git a/media-gfx/geeqie/geeqie-9999.ebuild 
b/media-gfx/geeqie/geeqie-9999.ebuild
index 80135160f44c..97a864ec91b7 100644
--- a/media-gfx/geeqie/geeqie-9999.ebuild
+++ b/media-gfx/geeqie/geeqie-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 LUA_COMPAT=( lua5-{3,4} )
 
-inherit git-r3 lua-single meson optfeature xdg
+inherit flag-o-matic git-r3 lua-single meson optfeature xdg
 
 DESCRIPTION="A lightweight GTK image viewer forked from GQview"
 HOMEPAGE="http://www.geeqie.org";
@@ -59,6 +59,11 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=odr
+       # https://bugs.gentoo.org/585432
+       # https://github.com/BestImageViewer/geeqie/issues/1270
+       filter-lto
+
        local emesonargs=(
                -Dgq_helpdir="share/doc/${PF}"
                -Dgq_htmldir="share/doc/${PF}/html"

Reply via email to