diff mbox

[03/12] xapp_xinit: depends on MMU

Message ID 1410537011-29662-4-git-send-email-jezz@sysmic.org
State Accepted
Headers show

Commit Message

Jérôme Pouiller Sept. 12, 2014, 3:50 p.m. UTC
Fixes http://sysmic.org/~jezz/results/8b5af679:

xinit.o: In function `_main':
xinit.c:(.text+0x65e): undefined reference to `_fork'
xinit.c:(.text+0x7d4): undefined reference to `_fork'
collect2: ld returned 1 exit status

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
---
 package/x11r7/xapp_xinit/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Peter Korsgaard Sept. 12, 2014, 9:19 p.m. UTC | #1
>>>>> "Jérôme" == Jérôme Pouiller <jezz@sysmic.org> writes:

 > Fixes http://sysmic.org/~jezz/results/8b5af679:
 > xinit.o: In function `_main':
 > xinit.c:(.text+0x65e): undefined reference to `_fork'
 > xinit.c:(.text+0x7d4): undefined reference to `_fork'
 > collect2: ld returned 1 exit status

 > Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
 > ---
 >  package/x11r7/xapp_xinit/Config.in | 3 ++-
 >  1 file changed, 2 insertions(+), 1 deletion(-)

 > diff --git a/package/x11r7/xapp_xinit/Config.in b/package/x11r7/xapp_xinit/Config.in
 > index aede5d9..6537d89 100644
 > --- a/package/x11r7/xapp_xinit/Config.in
 > +++ b/package/x11r7/xapp_xinit/Config.in
 > @@ -1,8 +1,9 @@
 >  config BR2_PACKAGE_XAPP_XINIT
 >  	bool "xinit"
 > +	depends on BR2_USE_MMU # fork()
 >  	# Runtime dependency: can't start an X server unless there is one
 >  	depends on BR2_PACKAGE_XSERVER_XORG_SERVER
 > -	# Runtime dependency; mcookie is also in util-linux
 > +	#Runtime dependency; mcookie is also in util-linux

I'm not sure why you want to change this. Committed without this line,
thanks.
Jérôme Pouiller Sept. 13, 2014, 5:59 a.m. UTC | #2
On Friday 12 September 2014 23:19:06 Peter Korsgaard wrote:
> >>>>> "Jérôme" == Jérôme Pouiller <jezz@sysmic.org> writes:
[...]
>  >  	# Runtime dependency: can't start an X server unless there is one
>  >  	depends on BR2_PACKAGE_XSERVER_XORG_SERVER
>  > 
>  > -	# Runtime dependency; mcookie is also in util-linux
>  > +	#Runtime dependency; mcookie is also in util-linux
> 
> I'm not sure why you want to change this. Committed without this line,
> thanks.
I don't known either why... It is a mishandling.
diff mbox

Patch

diff --git a/package/x11r7/xapp_xinit/Config.in b/package/x11r7/xapp_xinit/Config.in
index aede5d9..6537d89 100644
--- a/package/x11r7/xapp_xinit/Config.in
+++ b/package/x11r7/xapp_xinit/Config.in
@@ -1,8 +1,9 @@ 
 config BR2_PACKAGE_XAPP_XINIT
 	bool "xinit"
+	depends on BR2_USE_MMU # fork()
 	# Runtime dependency: can't start an X server unless there is one
 	depends on BR2_PACKAGE_XSERVER_XORG_SERVER
-	# Runtime dependency; mcookie is also in util-linux
+	#Runtime dependency; mcookie is also in util-linux
 	select BR2_PACKAGE_MCOOKIE if !BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_XAPP_XAUTH
 	select BR2_PACKAGE_XLIB_LIBX11