X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=inline;f=openssl%2Fmingw32-openssl.spec;h=a293c47a619fc04296d8af0f438bfa6970c10ad0;hb=338f392be18822e66320e217b2a77470db8375bd;hp=fb6e28b96fdbc401475c8122686202b2030a35b4;hpb=3a8181459ea2c1a6b62ce60be2f43c052f040799;p=fedora-mingw.git diff --git a/openssl/mingw32-openssl.spec b/openssl/mingw32-openssl.spec index fb6e28b..a293c47 100644 --- a/openssl/mingw32-openssl.spec +++ b/openssl/mingw32-openssl.spec @@ -175,8 +175,9 @@ 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. +unset DISPLAY display=:21 -Xvfb $display & xpid=$! +Xvfb $display -ac -noreset & xpid=$! trap "kill -TERM $xpid ||:" EXIT sleep 3 DISPLAY=$display @@ -185,10 +186,10 @@ export DISPLAY make LDCMD=%{_mingw32_cc} -C test apps tests # Disable this thread test, because we don't have pthread on Windows. -#%{_mingw32_cc} -o openssl-thread-test \ +#%-{_mingw32_cc} -o openssl-thread-test \ # -I./include \ -# %{_mingw32_cflags} \ -# %{SOURCE8} \ +# %-{_mingw32_cflags} \ +# %-{SOURCE8} \ # -L. \ # -lssl -lcrypto \ # -lpthread -lz -ldl