heirloom-mailx: add libressl support patch
authorAdam Duskett <aduskett@gmail.com>
Wed, 18 Oct 2017 02:32:35 +0000 (22:32 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 21 Oct 2017 19:28:13 +0000 (21:28 +0200)
commit9f145e4957fa562ed8df89527433fccd438b3502
treee3b1378170f4623ce83f25769c634ed2e628695e
parent123e0c9fefcf53641b8e80254929d485a1783f36
heirloom-mailx: add libressl support patch

heirloom-mailx has two small issues when compiling against LibreSSL:
  - RAND_egd is used (LibreSSL does not support RAND_egd)
    Solution: "Guard" the code calling RAND_egd

  - SSLv3_client_method function is used (LibreSSL does not support SSLv3)
    Solution: "Guard" the code with #ifndef OPENSSL_NO_SSL3

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/heirloom-mailx/0002-fix-libressl-support.patch [new file with mode: 0644]