diff options
author | Robert Clausecker <fuz@fuz.su> | 2022-11-07 19:55:17 +0100 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2022-11-09 14:10:25 +0100 |
commit | a5f1cca72a5b84fe783e600eb468cf140b5e3a31 (patch) | |
tree | 1c551e439d8bba94518946b0f9bccdcdee7e96c4 /mail/wmmaiload/files/patch-wmmaiload_ssl.c | |
parent | games/wmqstat: fix build with -fno-common (diff) |
mail/wmmaiload: fix build on recent FreeBSD.
Also fix some obvious things (missing deps, etc).
PR: 267613
Reported by: fuz@fuz.su (maintainer)
MFH: 2022Q4 (build fix)
Diffstat (limited to 'mail/wmmaiload/files/patch-wmmaiload_ssl.c')
-rw-r--r-- | mail/wmmaiload/files/patch-wmmaiload_ssl.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/wmmaiload/files/patch-wmmaiload_ssl.c b/mail/wmmaiload/files/patch-wmmaiload_ssl.c new file mode 100644 index 000000000000..a422839eec16 --- /dev/null +++ b/mail/wmmaiload/files/patch-wmmaiload_ssl.c @@ -0,0 +1,20 @@ +--- wmmaiload/ssl.c.orig 2005-07-30 13:52:55 UTC ++++ wmmaiload/ssl.c +@@ -23,6 +23,8 @@ + * + */ + ++#include <string.h> ++ + #include "config.h" + + #ifdef HAVE_SSL +@@ -39,7 +41,7 @@ static SSL_CTX *init_CTX(void) + + OpenSSL_add_all_algorithms(); + +- method = SSLv2_client_method(); ++ method = SSLv23_client_method(); + ctx = SSL_CTX_new(method); + return ctx; + } |