Bug 215363 - Irc/hexchat fails with libressl
Summary: Irc/hexchat fails with libressl
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Olivier Cochard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-17 23:06 UTC by Walter Schwarzenfeld
Modified: 2017-01-03 14:13 UTC (History)
1 user (show)

See Also:


Attachments
svn_diff-Irc_hexchat (1.18 KB, patch)
2016-12-17 23:06 UTC, Walter Schwarzenfeld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Schwarzenfeld 2016-12-17 23:06:49 UTC
Created attachment 178040 [details]
svn_diff-Irc_hexchat

Update fails on 10.3-RELEASE_amd64  /I have libressl)
with:;
ssl.c:182:13: error: implicit declaration of function
 'X509_get_signature_nid' is invalid in C99 [-Werror,-Wimplicit-function-d
 eclaration]
         sign_alg = X509_get_signature_nid (peer_cert);
                    ^
ssl.c:312:11: error: implicit declaration of function
'SSL_CTX_get_ssl_method' is invalid in C99 [-Werror,-Wimplicit-function-d
eclaration]
        method = SSL_CTX_get_ssl_method (ctx);
                  ^
ssl.c:312:11: note: did you mean 'SSL_get_ssl_method'?
/usr/local/include/openssl/ssl.h:1708:19: note: 'SSL_get_ssl_method'
declared here
const SSL_METHOD *SSL_get_ssl_method(SSL *s);

-----
Testbuilds of the patch with poudriere 10.3amd64/i386 ok.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-01-03 14:13:03 UTC
A commit references this bug:

Author: olivier
Date: Tue Jan  3 14:12:28 UTC 2017
New revision: 430473
URL: https://svnweb.freebsd.org/changeset/ports/430473

Log:
  Fix build with libressl

  PR:		215363
  Submitted by:	w.schwarzenfeld@utanet.at
  Reviewed by:	pkubaj@anongoth.pl (maintainer)
  Approved by:	jadawin (mentor)
  Differential Revision:	https://reviews.freebsd.org/D8824

Changes:
  head/irc/hexchat/Makefile
  head/irc/hexchat/files/patch-src__common__ssl.c
Comment 2 Olivier Cochard freebsd_committer freebsd_triage 2017-01-03 14:13:41 UTC
Thanks a lot's for your patch, and sorry for the delay.