summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-03-19 23:28:58 -0400
committerSam James <sam@gentoo.org>2024-03-20 06:17:02 +0000
commitb0be20cb5f11819c24b8418d2298995afa3379f8 (patch)
tree67a4288d654411835dd19bb4578e8c6686393e0c
parentmedia-libs/nas: backport upstreamed patches to fix Modern C bugs (diff)
downloadgentoo-b0be20cb5f11819c24b8418d2298995afa3379f8.tar.gz
gentoo-b0be20cb5f11819c24b8418d2298995afa3379f8.tar.bz2
gentoo-b0be20cb5f11819c24b8418d2298995afa3379f8.zip
media-libs/nas: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/859934 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/nas/nas-1.9.5-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/media-libs/nas/nas-1.9.5-r1.ebuild b/media-libs/nas/nas-1.9.5-r1.ebuild
index 8e1276acd78a..f8dd1d5ac36b 100644
--- a/media-libs/nas/nas-1.9.5-r1.ebuild
+++ b/media-libs/nas/nas-1.9.5-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit multilib multilib-minimal toolchain-funcs
+inherit flag-o-matic multilib multilib-minimal toolchain-funcs
DESCRIPTION="Network Audio System"
HOMEPAGE="https://radscan.com/nas.html"
@@ -52,6 +52,11 @@ src_prepare() {
}
multilib_src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/859934
+ # https://sourceforge.net/p/nas/bugs/13/
+ filter-lto
+
# Need to run econf so that config.guess is updated
pushd config || die
econf