From 389eabca1888387458f4400cda71d9be7b604f27 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Sun, 9 Dec 2018 08:13:09 +0000 Subject: irc/ratbox-respond: Fix build with OpenSSL 1.1.1 PR: 232128 Submitted by: ndowens@yahoo.com Approved by: zi (maintainer timeout, 2 months) --- .../files/patch-ratbox-respond_ratbox-respond.c | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c (limited to 'irc/ratbox-respond') diff --git a/irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c b/irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c new file mode 100644 index 000000000000..b6e42cfe9d0a --- /dev/null +++ b/irc/ratbox-respond/files/patch-ratbox-respond_ratbox-respond.c @@ -0,0 +1,23 @@ +--- ratbox-respond/ratbox-respond.c.orig 2018-10-09 21:09:45 UTC ++++ ratbox-respond/ratbox-respond.c +@@ -27,8 +27,10 @@ + #include + #include + #include ++#include + #include + #include ++#include + #include + #include + #include +@@ -235,7 +237,9 @@ main(int argc, char **argv) + return -1; + } + ++#if OPENSSL_VERSION_NUMBER < 0x10100000L + SSLeay_add_all_ciphers(); ++#endif + rsa = PEM_read_RSAPrivateKey(kfile, NULL,pass_cb, NULL); + + if(!rsa) -- cgit v1.2.3