Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136343247
D8824.id23022.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D8824.id23022.diff
View Options
Index: irc/hexchat/Makefile
===================================================================
--- irc/hexchat/Makefile
+++ irc/hexchat/Makefile
@@ -3,6 +3,7 @@
PORTNAME= hexchat
PORTVERSION= 2.12.4
+PORTREVISION= 1
CATEGORIES= irc gnome ipv6
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/archive/
DISTNAME= v${PORTVERSION}
@@ -79,7 +80,7 @@
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
-WITH_OPENSSL_PORT= yes
+DEFAULT_VERSIONS+= ssl=openssl
.endif
.if ${PORT_OPTIONS:MCA_BUNDLE}
Index: irc/hexchat/files/patch-src__common__ssl.c
===================================================================
--- irc/hexchat/files/patch-src__common__ssl.c
+++ irc/hexchat/files/patch-src__common__ssl.c
@@ -1,5 +1,23 @@
--- src/common/ssl.c.orig 2016-12-10 14:30:51 UTC
+++ src/common/ssl.c
+@@ -176,7 +176,7 @@ _SSL_get_cert_info (struct cert_info *ce
+ return 1;
+
+ alg = OBJ_obj2nid (algor->algorithm);
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if LIBRESSL_VERSION_NUMBER || OPENSSL_VERSION_NUMBER < 0x10100000L
+ sign_alg = OBJ_obj2nid (peer_cert->sig_alg->algorithm);
+ #else
+ sign_alg = X509_get_signature_nid (peer_cert);
+@@ -306,7 +306,7 @@ _SSL_socket (SSL_CTX *ctx, int sd)
+
+ SSL_set_fd (ssl, sd);
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if LIBRESSL_VERSION_NUMBER || OPENSSL_VERSION_NUMBER < 0x10100000L
+ method = ctx->method;
+ #else
+ method = SSL_CTX_get_ssl_method (ctx);
@@ -328,7 +328,7 @@ _SSL_set_verify (SSL_CTX *ctx, void *ver
__SSL_fill_err_buf ("SSL_CTX_set_default_verify_paths");
return (err_buf);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 18, 8:03 AM (9 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25492159
Default Alt Text
D8824.id23022.diff (1 KB)
Attached To
Mode
D8824: irc/hexchat: Fix build with libressl
Attached
Detach File
Event Timeline
Log In to Comment