x86_64-pc-linux-gnu-gcc -I. -I. -march=native -mtune=native -O2 -pipe -I./libwc -DHAVE_CONFIG_H -DAUXBIN_DIR=\"/usr/libexec/w3m\" -DCGIBIN_DIR=\"/usr/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/usr/share/w3m\" -DETC_DIR=\"/etc\" -DCONF_DIR=\" /etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/usr/share/locale\" -c -o url.o url.c url.c: In function ‘openSSLHandle’: url.c:323:12: error: too few arguments to function ‘SSL_CTX_new’ ssl_ctx = SSL_CTX_new(); ^ In file included from html.h:7:0, from fm.h:39, from url.c:2: /usr/include/openssl/ssl.h:1302:17: note: declared here __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ url.c:324:2: warning: implicit declaration of function ‘X509_set_default_verify_paths’ [-Wimplicit-function-declaration] X509_set_default_verify_paths(ssl_ctx->cert); ^ url.c:324:39: error: dereferencing pointer to incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’ X509_set_default_verify_paths(ssl_ctx->cert); ^ url.c: In function ‘openURL’: url.c:1625:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(sock, tmp->ptr, tmp->length); ^ url.c:1725:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(sock, tmp->ptr, tmp->length); ^ url.c:1747:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(sock, tmp->ptr, tmp->length); ^ url.c: In function ‘write_from_file’: url.c:431:6: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(sock, buf, 1); ^ make: *** [<builtin>: url.o] Error 1
Created attachment 444520 [details] build.log
Created attachment 498824 [details, diff] w3m-0.5.3-r9-openssl-1.1.patch
(In reply to Mark Wright from comment #2) Could you send this patch to upstream?
https://github.com/tats/w3m/commit/d10007a2c61709a5b8f7ed6a5e9f4a24ac374c92