From de112ca81c9dcb95f56d45ae7ecd6b9284c82d3d Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 12 Mar 2024 06:09:51 +0000 Subject: [PATCH] media-libs/libiec61883: filter LTO, no-SA Dead upstream, canonical git repo 404s. No commits on the mirror since 2011. Closes: https://bugs.gentoo.org/859916 Signed-off-by: Sam James --- media-libs/libiec61883/libiec61883-1.2.0-r2.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/media-libs/libiec61883/libiec61883-1.2.0-r2.ebuild b/media-libs/libiec61883/libiec61883-1.2.0-r2.ebuild index 5ca93b155253d..4e9d17172773d 100644 --- a/media-libs/libiec61883/libiec61883-1.2.0-r2.ebuild +++ b/media-libs/libiec61883/libiec61883-1.2.0-r2.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=7 -inherit multilib-minimal +inherit flag-o-matic multilib-minimal DESCRIPTION="Library for capturing video (dv or mpeg2) over the IEEE 1394 bus" HOMEPAGE="https://ieee1394.wiki.kernel.org/index.php/Libraries#libiec61883" @@ -23,6 +23,14 @@ src_prepare() { use examples && eapply "${FILESDIR}/${P}-examples.patch" } +src_configure() { + # bug #859916 + append-flags -fno-strict-aliasing + filter-lto + + multilib-minimal_src_configure +} + multilib_src_configure() { ECONF_SOURCE=${S} econf --disable-static }