1 |
commit: a6f0728398f6fe33bfcab8ff6d79a1bbf6b13a10 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 22 02:46:37 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 22 02:46:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6f07283 |
7 |
|
8 |
media-sound/timidity++: add LTO workaround patch |
9 |
|
10 |
Closes: https://bugs.gentoo.org/763612 |
11 |
Thanks-to: Alexander Miller <alex.miller <AT> gmx.de> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
.../timidity++/files/timidity++-2.15.0-lto-workaround.patch | 10 ++++++++++ |
15 |
media-sound/timidity++/timidity++-2.15.0-r2.ebuild | 1 + |
16 |
2 files changed, 11 insertions(+) |
17 |
|
18 |
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 |
19 |
new file mode 100644 |
20 |
index 000000000000..2a9c9e8282e4 |
21 |
--- /dev/null |
22 |
+++ b/media-sound/timidity++/files/timidity++-2.15.0-lto-workaround.patch |
23 |
@@ -0,0 +1,10 @@ |
24 |
+https://bugs.gentoo.org/763612 |
25 |
+--- a/timidity/Makefile.am |
26 |
++++ b/timidity/Makefile.am |
27 |
+@@ -480,3 +480,6 @@ $(top_builddir)/utils/libutils.a: |
28 |
+ |
29 |
+ objs: $(timidity_OBJECTS) $(timidity_DEPENDENCIES) |
30 |
+ @: |
31 |
++ |
32 |
++# Prevent .symver mixup with buggy alsa headers (global asm vs. LTO partitions) |
33 |
++alsa_a.$(OBJEXT): CFLAGS += -fno-lto |
34 |
|
35 |
diff --git a/media-sound/timidity++/timidity++-2.15.0-r2.ebuild b/media-sound/timidity++/timidity++-2.15.0-r2.ebuild |
36 |
index df3d0aa774b9..b776c4681ac2 100644 |
37 |
--- a/media-sound/timidity++/timidity++-2.15.0-r2.ebuild |
38 |
+++ b/media-sound/timidity++/timidity++-2.15.0-r2.ebuild |
39 |
@@ -64,6 +64,7 @@ PATCHES=( |
40 |
"${FILESDIR}"/${PN}-2.14.0-configure-flags.patch |
41 |
"${FILESDIR}"/${PN}-2.15.0-pkg-config.patch |
42 |
"${FILESDIR}"/${PN}-2.14.0-CVE-2017-1154{6,7}.patch |
43 |
+ "${FILESDIR}"/${PN}-2.15.0-lto-workaround.patch |
44 |
) |
45 |
|
46 |
src_prepare() { |