From 1017164b7be1544fdd1f127bb28e60217ebc6a5e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Run Xvfb in 24 bit depth so it doesn't segfault. --- openssl/mingw32-openssl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 1.8.3.1