package/dc3dd: needs MMU

savewd.c:75:27: error: implicit declaration of function 'fork' [-Wimplicit-function-declaration]
   75 |           wd->val.child = fork ();

Fixes:
https://autobuild.buildroot.net/results/40a/40a90638f90260ca2cb51bac03b0f8fb23a6ccc4/

The build error occurred already in January 2025:
https://autobuild.buildroot.net/results/9f3/9f3fefe5578dc41272e460146b566ac20f6cde75/
so a backport to the LTS branches should be considered.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls
2026-01-05 20:40:56 +01:00
committed by Peter Korsgaard
parent a22fca0055
commit 4df3fa1ab5

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_DC3DD
bool "dc3dd"
depends on BR2_USE_MMU # fork()
depends on !BR2_RISCV_32
depends on !BR2_arc
depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -13,6 +14,7 @@ config BR2_PACKAGE_DC3DD
https://sourceforge.net/projects/dc3dd/
comment "dc3dd needs a glibc or uClibc toolchain w/ threads"
depends on BR2_USE_MMU
depends on !BR2_RISCV_32
depends on !BR2_arc
depends on !BR2_TOOLCHAIN_HAS_THREADS || \