summaryrefslogtreecommitdiff
path: root/media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch')
-rw-r--r--media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch10
1 files changed, 10 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