Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 33964 Details for
Bug 54898
virtualx.eclass has a bug whereby virtualmake always tries spawning Xvfb
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch for fixing issues with Xvfb and virtualmake
virtualx.eclass.patch (text/plain), 1.04 KB, created by
devsk
on 2004-06-23 10:38:17 UTC
(
hide
)
Description:
The patch for fixing issues with Xvfb and virtualmake
Filename:
MIME Type:
Creator:
devsk
Created:
2004-06-23 10:38:17 UTC
Size:
1.04 KB
patch
obsolete
>--- virtualx.eclass.ORG 2004-06-23 09:08:29.200639510 -0700 >+++ virtualx.eclass 2004-06-23 10:33:54.870475953 -0700 >@@ -20,7 +20,7 @@ > > #If $DISPLAY is not set, or xhost cannot connect to an X > #display, then do the Xvfb hack. >- if [ -z "$DISPLAY" ] || ! (/usr/X11R6/bin/xhost &>/dev/null) >+ if [ -z "$DISPLAY" ] || (/usr/X11R6/bin/xhost &>/dev/null) > then > export XAUTHORITY= > # The following is derived from Mandrake's hack to allow >@@ -32,7 +32,7 @@ > export SANDBOX_DISABLED="1" > > local i=0 >- XDISPLAY=$(i=0; while [ -f /tmp/.X${i}-lock ] ; do i=$((${i}+1));done; echo ${i}) >+ XDISPLAY=$(i=0; while [ -f /tmp/.X11-unix/X${i}= ] ; do i=$((${i}+1));done; echo ${i}) > > # If we are in a chrooted environment, and there is already a > # X server started outside of the chroot, Xvfb will fail to start >@@ -45,7 +45,7 @@ > sleep 2 > > local start=${XDISPLAY} >- while [ ! -f /tmp/.X${XDISPLAY}-lock ] >+ while [ ! -f /tmp/.X11-unix/X${XDISPLAY}= ] > do > # Stop trying after 15 tries > if [ $((${XDISPLAY} - ${start})) -gt 15 ]; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54898
: 33964