public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/timidity++/, media-sound/timidity++/files/
Date: Wed, 22 Dec 2021 03:57:13 +0000 (UTC)	[thread overview]
Message-ID: <1640141197.a6f0728398f6fe33bfcab8ff6d79a1bbf6b13a10.sam@gentoo> (raw)

commit:     a6f0728398f6fe33bfcab8ff6d79a1bbf6b13a10
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 22 02:46:37 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 22 02:46:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6f07283

media-sound/timidity++: add LTO workaround patch

Closes: https://bugs.gentoo.org/763612
Thanks-to: Alexander Miller <alex.miller <AT> gmx.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../timidity++/files/timidity++-2.15.0-lto-workaround.patch    | 10 ++++++++++
 media-sound/timidity++/timidity++-2.15.0-r2.ebuild             |  1 +
 2 files changed, 11 insertions(+)

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() {


             reply	other threads:[~2021-12-22  3:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-22  3:57 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-08-22 22:23 [gentoo-commits] repo/gentoo:master commit in: media-sound/timidity++/, media-sound/timidity++/files/ Andreas Sturmlechner
2015-08-28  0:54 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1640141197.a6f0728398f6fe33bfcab8ff6d79a1bbf6b13a10.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox