-diff -udrNP openssl-0.9.8-stable-SNAP-20050703.orig/util/libeay.num openssl-0.9.8-stable-SNAP-20050703/util/libeay.num
---- openssl-0.9.8-stable-SNAP-20050703.orig/util/libeay.num 2005-07-04 00:27:14.653639088 +0200
-+++ openssl-0.9.8-stable-SNAP-20050703/util/libeay.num 2005-07-04 22:50:07.986576664 +0200
+diff -ur openssl-0.9.8i.orig/Configure openssl-0.9.8i/Configure
+--- openssl-0.9.8i.orig/Configure 2008-05-31 17:31:04.000000000 +0200
++++ openssl-0.9.8i/Configure 2008-05-31 17:30:47.000000000 +0200
+@@ -1714,6 +1714,11 @@
+ close(OUT);
+ }
+
++# ugly hack to disable engines
++if($target eq "mingwx") {
++ system("sed -e s/^LIB/XLIB/g -i engines/Makefile");
++}
++
+ print <<EOF;
+
+ Configured for $target.
+diff -ur openssl-0.9.8i.orig/util/libeay.num openssl-0.9.8i/util/libeay.num
+--- openssl-0.9.8i.orig/util/libeay.num 2008-05-31 17:27:46.000000000 +0200
++++ openssl-0.9.8i/util/libeay.num 2008-05-31 17:30:47.000000000 +0200