Skip to contentSkip to conversation

apr: needs mmu

PATCH New Gustavo Zacarias 2 participants 2 messages Nov 27, 2013 – Nov 28, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apr: needs mmu

Uses fork() in apr_proc_fork() which is used by almost all the packages that use apr (log4cxx, subversion).
apr-util doesn't use fork or apr_proc_fork but it's of no use alone.

---
 package/apr-util/Config.in   | 1 +
 package/apr/Config.in        | 1 +
 package/log4cxx/Config.in    | 1 +
 package/subversion/Config.in | 1 +
 4 files changed, 4 insertions(+)
package/apr-util/Config.in +1 -0
index 895dbb8..3d4ec23 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_APR_UTIL
 	select BR2_PACKAGE_ZLIB
 	# apr really needs shared library support
 	depends on !BR2_PREFER_STATIC_LIB
+	depends on BR2_USE_MMU # apr
 	help
 	  The utility library for the apache runtime project
 
package/apr/Config.in +1 -0
index ed319ed..e06d254 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_APR
 	bool "apr"
 	# apr really needs shared library support
 	depends on !BR2_PREFER_STATIC_LIB
+	depends on BR2_USE_MMU # fork() in apr_proc_fork()
 	help
 	  The mission of the Apache Portable Runtime (APR) project is to create
 	  and maintain software libraries that provide a predictable and
package/log4cxx/Config.in +1 -0
index 8791b8c..616fb1f 100644
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LOG4CXX
 	depends on !BR2_PREFER_STATIC_LIB
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU # apr
 	help
 	  Apache log4cxx is a logging framework for C++ patterned
 	  after Apache log4j.
package/subversion/Config.in +1 -0
index c1358fe..cc2549f 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_SUBVERSION
 	select BR2_PACKAGE_APR_UTIL
 	# apr really needs shared library support
 	depends on !BR2_PREFER_STATIC_LIB
+	depends on BR2_USE_MMU # apr
 	select BR2_PACKAGE_NEON
 	select BR2_PACKAGE_NEON_XML
 	help
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 apr: needs mmu

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

Uses fork() in apr_proc_fork() which is used by almost all the packages that use apr (log4cxx, subversion).
apr-util doesn't use fork or apr_proc_fork but it's of no use alone.

+++ b/package/log4cxx/Config.in

package/log4cxx/Config.in config BR2_PACKAGE_LOG4CXX · line 12

Quoted 7 lines
package/log4cxx/Config.in +1 -0
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LOG4CXX
 	depends on !BR2_PREFER_STATIC_LIB
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU # apr
 	help
 	  Apache log4cxx is a logging framework for C++ patterned
 	  after Apache log4j.

The log4cxx comment should also only be displayed when BR2_USE_MMU. Fixed that and committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard