Hello,

Here's an update to ncmpc 0.47 that's been working so far, but if
anyone can test on a ld.lld arch, that'd be great to make sure there
are no breakages.

Changelog:
ncmpc 0.47 - (2022-06-30)
* handle Ctrl-C in search prompt
* link with libintl and libiconv if necessary
* require libmpdclient 2.16 or newer
* require MPD 0.21 or newer
* switch to C++20

Thanks,
Lucas
diff /usr/ports
commit - 280d0daa2a4ceef9ce3d6cca8cea65b9352eb98f
path + /usr/ports
blob - f018cb79b9a165b08258fc256478d72ffa2f810a
file + audio/ncmpc/Makefile
--- audio/ncmpc/Makefile
+++ audio/ncmpc/Makefile
@@ -1,6 +1,6 @@
 COMMENT=               curses based frontend for mpd
 
-VER=                   0.46
+VER=                   0.47
 DISTNAME=              ncmpc-${VER}
 EPOCH=                 0
 CATEGORIES=            audio
blob - ff5c90cad08bcf7317642cda7b39b7ba33b27121
file + audio/ncmpc/distinfo
--- audio/ncmpc/distinfo
+++ audio/ncmpc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ncmpc-0.46.tar.xz) = F393zwndSrkU6EOL45nN1dg8mqmSq8jZq6wAa7CSk04=
-SIZE (ncmpc-0.46.tar.xz) = 289332
+SHA256 (ncmpc-0.47.tar.xz) = Ydojsbxselk/3ChhGTLNejD89oA4MOAXZMKbir7SJJw=
+SIZE (ncmpc-0.47.tar.xz) = 291400
blob - 1f0aef0c202a7c1ab47b7ad2fa5c6be0c0b43a14
file + /dev/null
--- audio/ncmpc/patches/patch-src_ProgressBar_cxx
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: src/ProgressBar.cxx
---- src/ProgressBar.cxx.orig
-+++ src/ProgressBar.cxx
-@@ -29,7 +29,7 @@ ProgressBar::ProgressBar(Point p, unsigned _width) noe
-       leaveok(window.w, true);
- #ifdef ENABLE_COLORS
-       if (options.enable_colors)
--              wbkgd(window.w, COLOR_PAIR(Style::PROGRESSBAR));
-+              wbkgd(window.w, COLOR_PAIR((int)Style::PROGRESSBAR));
- #endif
- }
- 
blob - d1da2b4ba22cb28265f52e4df56c5b3a1f4b358a
file + /dev/null
--- audio/ncmpc/patches/patch-src_StatusBar_cxx
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: src/StatusBar.cxx
---- src/StatusBar.cxx.orig
-+++ src/StatusBar.cxx
-@@ -42,7 +42,7 @@ StatusBar::StatusBar(EventLoop &event_loop,
- 
- #ifdef ENABLE_COLORS
-       if (options.enable_colors)
--              wbkgd(window.w, COLOR_PAIR(Style::STATUS));
-+              wbkgd(window.w, COLOR_PAIR((int)Style::STATUS));
- #endif
- }
- 
blob - 5a2ecf3d7297377442735da4c457e1329d5980b0
file + /dev/null
--- audio/ncmpc/patches/patch-src_TitleBar_cxx
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: src/TitleBar.cxx
---- src/TitleBar.cxx.orig
-+++ src/TitleBar.cxx
-@@ -37,7 +37,7 @@ TitleBar::TitleBar(Point p, unsigned width) noexcept
- 
- #ifdef ENABLE_COLORS
-       if (options.enable_colors)
--              wbkgd(window.w, COLOR_PAIR(Style::TITLE));
-+              wbkgd(window.w, COLOR_PAIR((int)Style::TITLE));
- #endif
- }
- 
blob - 6a749d1538caaff3977a2b55450a0c6fe592fa9a
file + /dev/null
--- audio/ncmpc/patches/patch-src_screen_init_cxx
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: src/screen_init.cxx
---- src/screen_init.cxx.orig
-+++ src/screen_init.cxx
-@@ -49,8 +49,8 @@ ScreenManager::ScreenManager(EventLoop &event_loop) no
- #ifdef ENABLE_COLORS
-       if (options.enable_colors) {
-               /* set background attributes */
--              wbkgd(stdscr, COLOR_PAIR(Style::LIST));
--              wbkgd(main_window.w, COLOR_PAIR(Style::LIST));
-+              wbkgd(stdscr, COLOR_PAIR((int)Style::LIST));
-+              wbkgd(main_window.w, COLOR_PAIR((int)Style::LIST));
-       }
- #endif
- }

Reply via email to