kumquat-buildroot/package/nodm/Config.in
Fabrice Fontaine c77e25c3f1 package/linux-pam: needs gcc >= 4.9
linux-pam raises the following build failure with gcc 4.8 since bump to
version 1.5.3 in commit f8147e27cd and
8f9816b57e:

pam_access.c: In function 'pam_sm_authenticate':
pam_access.c:1084:13: error: 'for' loop initial declarations are only allowed in C99 mode
             for (int i = 0; filename_list[i] != NULL; i++) {
             ^

Those build failures could be fixed by adding -std=c99 but then the
build will fails because stdadtomic.h is mandatory since
a35e092e24

Fixes:
 - http://autobuild.buildroot.org/results/9b2ba987d2c873f4a7caea72707acb655279d16b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-09-30 12:19:47 +02:00

25 lines
905 B
Plaintext

config BR2_PACKAGE_NODM
bool "nodm"
depends on BR2_PACKAGE_XORG7
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam
depends on !BR2_STATIC_LIBS # linux-pam
depends on BR2_USE_MMU # linux-pam
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # linux-pam
select BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_LINUX_PAM
help
nodm is a minimal display manager that simply logs in
as a given user and starts an X session, without asking
for username or password.
For those cases where automatic login is needed (and
does not imply a security issue), nodm is simple to setup,
lightweight, and it should do exactly the right thing.
https://github.com/spanezz/nodm/
comment "nodm needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9"
depends on BR2_PACKAGE_XORG7
depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9