diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-28 12:20:40 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-28 12:20:40 +0200 |
commit | 5b0a7da41f1215f191edc2e2519941e43f03e89f (patch) | |
tree | 7045cd9646bb5a9ef83babbe1946710984a89626 /media-sound | |
parent | profiles/package.mask: dev-java/javolution last-rites (diff) | |
download | gentoo-5b0a7da41f1215f191edc2e2519941e43f03e89f.tar.gz gentoo-5b0a7da41f1215f191edc2e2519941e43f03e89f.tar.bz2 gentoo-5b0a7da41f1215f191edc2e2519941e43f03e89f.zip |
media-sound/cmus: fixed building of 2.9.1 on ppc
thanks to James Madgwick <james@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@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/cmus/cmus-2.9.1.ebuild | 4 | ||||
-rw-r--r-- | media-sound/cmus/files/cmus-2.9.1-atomic.patch | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/media-sound/cmus/cmus-2.9.1.ebuild b/media-sound/cmus/cmus-2.9.1.ebuild index f1d55a50f34b..92687b137803 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 000000000000..41941a31b785 --- /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 |