All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/libuhttpd: needs MMU
@ 2022-02-06 10:27 Thomas Petazzoni via buildroot
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni via buildroot @ 2022-02-06 10:27 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=6647ee8ee6e35a17f9154ece4903b09fb5a3014c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

libuhttpd needs MMU since version 3.13.0 and
https://github.com/zhaojh329/libuhttpd/commit/ffdf7de3a4a1f5a62aa3814ac96e889958a30840
to avoid the following build failure raised since commit
61797c52f5deef2cb67e60cf075ca243078c8855:

/home/buildroot/autobuild/instance-0/output-1/build/libuhttpd-3.14.1/src/cgi.c: In function 'create_cgi':
/home/buildroot/autobuild/instance-0/output-1/build/libuhttpd-3.14.1/src/cgi.c:321:11: error: implicit declaration of function 'fork' [-Werror=implicit-function-declaration]
  321 |     pid = fork();
      |           ^~~~

Fixes:
 - http://autobuild.buildroot.org/results/8d2a79dacf9ac423f7ece51b8c23f3683238312b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/libuhttpd/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libuhttpd/Config.in b/package/libuhttpd/Config.in
index 9159341d89..52bbd313bc 100644
--- a/package/libuhttpd/Config.in
+++ b/package/libuhttpd/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBUHTTPD
 	bool "libuhttpd"
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_LIBEV
 	select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL
 	help
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-06 10:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-06 10:27 [Buildroot] [git commit] package/libuhttpd: needs MMU Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.