From: Richard W.M. Jones <"Richard W.M. Jones "> Date: Wed, 1 Oct 2008 09:13:39 +0000 (+0100) Subject: Run Xvfb in 24 bit depth so it doesn't segfault. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=1017164b7be1544fdd1f127bb28e60217ebc6a5e;p=fedora-mingw.git Run Xvfb in 24 bit depth so it doesn't segfault. --- diff --git a/openssl/mingw32-openssl.spec b/openssl/mingw32-openssl.spec index 8f0fc68..62cddf5 100644 --- a/openssl/mingw32-openssl.spec +++ b/openssl/mingw32-openssl.spec @@ -83,6 +83,8 @@ BuildRequires: /usr/bin/rename BuildRequires: imake # Required both to build, and to run the tests. +# XXX This needs to be fixed - cross-compilation should not +# require running executables. BuildRequires: wine %if %{with_tests} @@ -193,9 +195,10 @@ export WINEDLLPATH # it). Therefore we create a virtual framebuffer for the duration of # the tests. # XXX There is no good way to choose a random, unused display. +# XXX Setting depth to 24 bits avoids bug 458219. unset DISPLAY display=:21 -Xvfb $display -ac -noreset & xpid=$! +Xvfb $display -screen 0 1024x768x24 -ac -noreset & xpid=$! trap "kill -TERM $xpid ||:" EXIT sleep 3 DISPLAY=$display