Re: [voidlinux/void-packages] qt5 needs to be patched to work with libressl (#5998)

"Jason A. Donenfeld" at Fri, 17 Mar 2017 13:58:14 -0700
But your patch changes the line to: ``` #if (OPENSSL_VERSION_NUMBER >= 0x10001000L) && !defined(LIBRESSL_VERSION_NUMBER) ``` So it always falls to the error case.
"Jason A. Donenfeld" at Fri, 17 Mar 2017 14:04:16 -0700
> Its definitively too easy to make such mistakes which could be really bad. This is one such mistake, unfortunately. :( Can this ticket be assigned to whoever does the Qt stuff for y'all?
Jürgen Buchmüller at Fri, 17 Mar 2017 15:29:51 -0700
Thank you! Well, this is going to be a tedious job: 48 patches to inspect and validate ;-P
Jürgen Buchmüller at Fri, 17 Mar 2017 16:09:08 -0700
Ok, the TLSv1_{1,2}_{client,server}_method are available in libressl and thus a good number of patches are wrong. I [stripped them from the patch](http://misc.voidlinux.de/libressl-compat.patch) in a first round. 41 patches left.
Jürgen Buchmüller at Fri, 17 Mar 2017 16:21:09 -0700
Patches validation - [x] TLSv1_{1,2}_{client,server}_method available in libressl; related patches removed - [x] EC_curve_nist2nid not available in libressl; patches must remain - [ ] SSL_{set,get}_ex_data, SSL_get_ex_new_index are available in libressl. Need to closely inspect the related patches. - [x] SSL_set_psk_{client,server}_callback not available, i.e. related patches must remain or I could perhaps use -DOPENSSL_NO_PSK - [ ] more to come...
Jürgen Buchmüller at Fri, 17 Mar 2017 19:34:25 -0700
Closed #5998 via 92db076a8d5d603fb49b674d369f9ba15622e01a.