From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/cmus/files/, media-sound/cmus/
Date: Wed, 28 Apr 2021 10:20:56 +0000 (UTC) [thread overview]
Message-ID: <1619605240.5b0a7da41f1215f191edc2e2519941e43f03e89f.fordfrog@gentoo> (raw)
commit: 5b0a7da41f1215f191edc2e2519941e43f03e89f
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 28 10:20:40 2021 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed Apr 28 10:20:40 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b0a7da4
media-sound/cmus: fixed building of 2.9.1 on ppc
thanks to James Madgwick <james <AT> madgwick.xyz> for the patch
Closes: https://bugs.gentoo.org/639678
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-sound/cmus/cmus-2.9.1.ebuild | 4 ++++
media-sound/cmus/files/cmus-2.9.1-atomic.patch | 11 +++++++++++
2 files changed, 15 insertions(+)
diff --git a/media-sound/cmus/cmus-2.9.1.ebuild b/media-sound/cmus/cmus-2.9.1.ebuild
index f1d55a50f34..92687b13780 100644
--- a/media-sound/cmus/cmus-2.9.1.ebuild
+++ b/media-sound/cmus/cmus-2.9.1.ebuild
@@ -67,6 +67,10 @@ DOCS=( AUTHORS README.md )
S="${WORKDIR}/${P/_/-}"
+PATCHES=(
+ "${FILESDIR}/${P}-atomic.patch"
+)
+
src_configure() {
my_config() {
local value
diff --git a/media-sound/cmus/files/cmus-2.9.1-atomic.patch b/media-sound/cmus/files/cmus-2.9.1-atomic.patch
new file mode 100644
index 00000000000..41941a31b78
--- /dev/null
+++ b/media-sound/cmus/files/cmus-2.9.1-atomic.patch
@@ -0,0 +1,11 @@
+--- cmus-2.8.0/Makefile 2019-01-29 09:09:08.000000000 +0000
++++ cmus-2.8.0.new/Makefile 2019-06-12 14:34:13.000000000 +0000
+@@ -21,7 +21,7 @@
+ FFMPEG_CFLAGS += $(shell pkg-config --cflags libswresample)
+ FFMPEG_LIBS += $(shell pkg-config --libs libswresample)
+
+-CMUS_LIBS = $(PTHREAD_LIBS) $(NCURSES_LIBS) $(ICONV_LIBS) $(DL_LIBS) $(DISCID_LIBS) \
++CMUS_LIBS = -latomic $(PTHREAD_LIBS) $(NCURSES_LIBS) $(ICONV_LIBS) $(DL_LIBS) $(DISCID_LIBS) \
+ -lm $(COMPAT_LIBS) $(LIBSYSTEMD_LIBS)
+
+ command_mode.o input.o main.o ui_curses.o op/pulse.lo: .version
next reply other threads:[~2021-04-28 10:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-28 10:20 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-04-29 4:39 [gentoo-commits] repo/gentoo:master commit in: media-sound/cmus/files/, media-sound/cmus/ Miroslav Šulc
2019-03-20 12:29 Andreas Sturmlechner
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=1619605240.5b0a7da41f1215f191edc2e2519941e43f03e89f.fordfrog@gentoo \
--to=fordfrog@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