commit: 1c346c2eebb3e2fb0da7d9c758938d57cdd23adc
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 12 04:51:21 2024 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Jul 12 05:54:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c346c2e
media-tv/tvheadend: mark as LTO-unsafe
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
media-tv/tvheadend/tvheadend-4.3_p20240618.ebuild | 6 +++++-
media-tv/tvheadend/tvheadend-9999.ebuild | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/media-tv/tvheadend/tvheadend-4.3_p20240618.ebuild
b/media-tv/tvheadend/tvheadend-4.3_p20240618.ebuild
index e9fefcd6df55..733fd0370d43 100644
--- a/media-tv/tvheadend/tvheadend-4.3_p20240618.ebuild
+++ b/media-tv/tvheadend/tvheadend-4.3_p20240618.ebuild
@@ -6,7 +6,7 @@ EAPI=8
COMMIT="e855f62e6697cf756ad2eed2ed03b8d06ba2019b"
PYTHON_COMPAT=( python3_{10..12} )
-inherit linux-info python-single-r1 systemd toolchain-funcs
+inherit flag-o-matic linux-info python-single-r1 systemd toolchain-funcs
DESCRIPTION="Tvheadend is a TV streaming server and digital video recorder"
HOMEPAGE="https://tvheadend.org/"
@@ -91,6 +91,10 @@ pkg_setup() {
# most of them only take effect when --enable-ffmpeg_static is given.
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://github.com/tvheadend/tvheadend/issues/1732
+ filter-lto
+
CC="$(tc-getCC)" \
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
econf \
diff --git a/media-tv/tvheadend/tvheadend-9999.ebuild
b/media-tv/tvheadend/tvheadend-9999.ebuild
index aa832d625e41..91152498ae00 100644
--- a/media-tv/tvheadend/tvheadend-9999.ebuild
+++ b/media-tv/tvheadend/tvheadend-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit git-r3 linux-info python-single-r1 systemd toolchain-funcs
+inherit flag-o-matic git-r3 linux-info python-single-r1 systemd toolchain-funcs
DESCRIPTION="Tvheadend is a TV streaming server and digital video recorder"
HOMEPAGE="https://tvheadend.org/"
@@ -88,6 +88,10 @@ pkg_setup() {
# most of them only take effect when --enable-ffmpeg_static is given.
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://github.com/tvheadend/tvheadend/issues/1732
+ filter-lto
+
CC="$(tc-getCC)" \
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
econf \