summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-22 02:46:37 +0000
committerSam James <sam@gentoo.org>2021-12-22 02:46:37 +0000
commita6f0728398f6fe33bfcab8ff6d79a1bbf6b13a10 (patch)
tree8a785e20cc2f1e9fc27574bc15a7a3146e0d8fe5 /media-sound/timidity++
parentmedia-sound/timidity++: fix automagic libXaw3d dependency (diff)
downloadgentoo-a6f0728398f6fe33bfcab8ff6d79a1bbf6b13a10.tar.gz
gentoo-a6f0728398f6fe33bfcab8ff6d79a1bbf6b13a10.tar.bz2
gentoo-a6f0728398f6fe33bfcab8ff6d79a1bbf6b13a10.zip
media-sound/timidity++: add LTO workaround patch
Closes: https://bugs.gentoo.org/763612 Thanks-to: Alexander Miller <alex.miller@gmx.de> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/timidity++')
-rw-r--r--media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch10
-rw-r--r--media-sound/timidity++/timidity++-2.15.0-r2.ebuild1
2 files changed, 11 insertions, 0 deletions
diff --git a/media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch b/media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch
new file mode 100644
index 000000000000..2a9c9e8282e4
--- /dev/null
+++ b/media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch
@@ -0,0 +1,10 @@
+https://bugs.gentoo.org/763612
+--- a/timidity/Makefile.am
++++ b/timidity/Makefile.am
+@@ -480,3 +480,6 @@ $(top_builddir)/utils/libutils.a:
+
+ objs: $(timidity_OBJECTS) $(timidity_DEPENDENCIES)
+ @:
++
++# Prevent .symver mixup with buggy alsa headers (global asm vs. LTO partitions)
++alsa_a.$(OBJEXT): CFLAGS += -fno-lto
diff --git a/media-sound/timidity++/timidity++-2.15.0-r2.ebuild b/media-sound/timidity++/timidity++-2.15.0-r2.ebuild
index df3d0aa774b9..b776c4681ac2 100644
--- a/media-sound/timidity++/timidity++-2.15.0-r2.ebuild
+++ b/media-sound/timidity++/timidity++-2.15.0-r2.ebuild
@@ -64,6 +64,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.14.0-configure-flags.patch
"${FILESDIR}"/${PN}-2.15.0-pkg-config.patch
"${FILESDIR}"/${PN}-2.14.0-CVE-2017-1154{6,7}.patch
+ "${FILESDIR}"/${PN}-2.15.0-lto-workaround.patch
)
src_prepare() {