* [Buildroot] [PATCH 1/1] package/ncmpc: needs threads
@ 2021-12-27 19:06 Fabrice Fontaine
2021-12-27 20:08 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-12-27 19:06 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
threads dependency was wrongly removed by commit
d29d1368478df621c2426820e1a6019225467234
Fixes:
- http://autobuild.buildroot.org/results/151765cb4000643048e8d86c7a49bc8bcbf9f390
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/ncmpc/Config.in | 5 +++--
package/ncmpc/ncmpc.mk | 3 +--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/ncmpc/Config.in b/package/ncmpc/Config.in
index 4155404fcf..eda6e0bbd5 100644
--- a/package/ncmpc/Config.in
+++ b/package/ncmpc/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_NCMPC
depends on BR2_USE_MMU # fork()
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
+ depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
select BR2_PACKAGE_LIBMPDCLIENT
select BR2_PACKAGE_NCURSES
@@ -13,7 +14,7 @@ config BR2_PACKAGE_NCMPC
http://www.musicpd.org/clients/ncmpc/
-comment "ncmpc needs a toolchain w/ C++, wchar, gcc >= 7"
+comment "ncmpc needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
- !BR2_TOOLCHAIN_GCC_AT_LEAST_7
+ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7
diff --git a/package/ncmpc/ncmpc.mk b/package/ncmpc/ncmpc.mk
index 91859cbc24..41fface525 100644
--- a/package/ncmpc/ncmpc.mk
+++ b/package/ncmpc/ncmpc.mk
@@ -20,8 +20,7 @@ NCMPC_CPE_ID_VENDOR = ncmpc_project
NCMPC_CONF_OPTS = \
-Dcurses=ncurses \
-Ddocumentation=disabled \
- $(if $(BR2_SYSTEM_ENABLE_NLS),-Dnls=enabled,-Dnls=disabled) \
- $(if $(BR2_TOOLCHAIN_HAS_THREADS),-Dsignalfd=true,-Dsignalfd=false)
+ $(if $(BR2_SYSTEM_ENABLE_NLS),-Dnls=enabled,-Dnls=disabled)
ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y)
NCMPC_DEPENDENCIES += lirc-tools
--
2.33.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/ncmpc: needs threads
2021-12-27 19:06 [Buildroot] [PATCH 1/1] package/ncmpc: needs threads Fabrice Fontaine
@ 2021-12-27 20:08 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-12-27 20:08 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
On Mon, 27 Dec 2021 20:06:36 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> threads dependency was wrongly removed by commit
> d29d1368478df621c2426820e1a6019225467234
>
> Fixes:
> - http://autobuild.buildroot.org/results/151765cb4000643048e8d86c7a49bc8bcbf9f390
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/ncmpc/Config.in | 5 +++--
> package/ncmpc/ncmpc.mk | 3 +--
> 2 files changed, 4 insertions(+), 4 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-27 20:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-27 19:06 [Buildroot] [PATCH 1/1] package/ncmpc: needs threads Fabrice Fontaine
2021-12-27 20:08 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox