commit:     4d399c7b4f59f0ec81a0249585ce1a1ab008ef8f
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Apr  4 04:57:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  5 01:20:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d399c7b

net-vpn/tinc: mark as LTO-unsafe

It is fixed upstream in git but not released.

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

 net-vpn/tinc/tinc-1.1_pre18.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/net-vpn/tinc/tinc-1.1_pre18.ebuild 
b/net-vpn/tinc/tinc-1.1_pre18.ebuild
index a1f6b4969f72..e5e8aca62cfa 100644
--- a/net-vpn/tinc/tinc-1.1_pre18.ebuild
+++ b/net-vpn/tinc/tinc-1.1_pre18.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=7
@@ -6,7 +6,7 @@ EAPI=7
 MY_PV=${PV/_/}
 MY_P=${PN}-${MY_PV}
 
-inherit autotools systemd
+inherit autotools flag-o-matic systemd
 
 DESCRIPTION="tinc is an easy to configure VPN implementation"
 HOMEPAGE="https://www.tinc-vpn.org/";
@@ -49,6 +49,13 @@ src_prepare() {
 }
 
 src_configure() {
+       # -Werror=lto-type-mismatch
+       # https://bugs.gentoo.org/877743
+       #
+       # Fixed upstream:
+       # 
https://github.com/gsliepen/tinc/commit/28b7a53b693f6b4e70218a926e68a36ece54cda1
+       filter-lto
+
        econf \
                --enable-jumbograms \
                --enable-legacy-protocol \

Reply via email to