Got the following error when compiling the snapshot:
/usr/bin/ld.bfd.real: ext/openssl/openssl.o: undefined reference to symbol
'SSL_free@@OPENSSL_1.0.0'
/usr/bin/ld.bfd.real: note: 'SSL_free@@OPENSSL_1.0.0' is defined in DSO
/usr/lib/libssl.so.1.0.0 so try adding it to the linker command line
/usr/lib/libssl.so.1.0.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

I found and fixed this problem a couple of weeks ago with a patch very similar
to the one you linked to. It builds fine on my Debian dev box which has the new
libssl without SSLv2.
Do this for me:
8:09am new:~> dpkg -l | grep libssl
ii libssl-dev 1.0.0d-2 SSL
development libraries, header files and documentation
ii libssl-doc 1.0.0d-2 SSL
development documentation documentation
ii libssl0.9.8 0.9.8o-7 SSL shared
libraries
ii libssl1.0.0 1.0.0d-2 SSL shared
libraries
Let's see your installed ssl versions.

To answer your question, I'm running Debian (squeeze/sid) with a few packages
custom-compiled:
runit
nginx
php
memcached
mariadb
Confirmed that your configuration compiles successfully on my server.
I'm trying to produce the smallest possible config script that reproduces the
error on my server, but it will take some time, as each compile takes 20-30 min.
to either succeed or fail.