summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-04-04 00:57:24 -0400
committerSam James <sam@gentoo.org>2024-04-05 02:20:52 +0100
commit4d399c7b4f59f0ec81a0249585ce1a1ab008ef8f (patch)
treef6cf68c75b1d5b08118c401b1ed815477f846224 /net-vpn
parentdev-embedded/sdcc: mark as LTO-unsafe (diff)
downloadgentoo-4d399c7b4f59f0ec81a0249585ce1a1ab008ef8f.tar.gz
gentoo-4d399c7b4f59f0ec81a0249585ce1a1ab008ef8f.tar.bz2
gentoo-4d399c7b4f59f0ec81a0249585ce1a1ab008ef8f.zip
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@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-vpn')
-rw-r--r--net-vpn/tinc/tinc-1.1_pre18.ebuild11
1 files 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 \