diff options
-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 |