diff options
author | Julian Ospald <hasufell@gentoo.org> | 2015-09-20 14:57:34 +0200 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2015-09-20 14:58:23 +0200 |
commit | 1fbc7d68335e35af898606f1dfdaedf9bf6bea14 (patch) | |
tree | 5424c89096265b936bb55d1df6886cfd4f79552b /net-irc/znc/files | |
parent | dev-libs/geoip: add alpha keyword (diff) | |
download | gentoo-1fbc7d68335e35af898606f1dfdaedf9bf6bea14.tar.gz gentoo-1fbc7d68335e35af898606f1dfdaedf9bf6bea14.tar.bz2 gentoo-1fbc7d68335e35af898606f1dfdaedf9bf6bea14.zip |
net-irc/znc: add libressl support
Diffstat (limited to 'net-irc/znc/files')
-rw-r--r-- | net-irc/znc/files/znc-1.6.1-libressl.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-irc/znc/files/znc-1.6.1-libressl.patch b/net-irc/znc/files/znc-1.6.1-libressl.patch new file mode 100644 index 000000000000..8bbe9cfc07f4 --- /dev/null +++ b/net-irc/znc/files/znc-1.6.1-libressl.patch @@ -0,0 +1,19 @@ +$OpenBSD: patch-src_Csocket_cpp,v 1.1 2014/07/12 14:42:37 pascal Exp $ +--- src/Csocket.cpp.orig Sat Jul 12 16:03:48 2014 ++++ src/Csocket.cpp Sat Jul 12 16:04:36 2014 +@@ -555,6 +555,7 @@ bool InitSSL( ECompType eCompressionType ) + } + #endif /* _WIN32 */ + ++#ifndef OPENSSL_NO_COMP + COMP_METHOD *cm = NULL; + + if( CT_ZLIB & eCompressionType ) +@@ -570,6 +571,7 @@ bool InitSSL( ECompType eCompressionType ) + if( cm ) + SSL_COMP_add_compression_method( CT_RLE, cm ); + } ++#endif + + // setting this up once in the begining + g_iCsockSSLIdx = SSL_get_ex_new_index( 0, ( void * )"CsockGlobalIndex", NULL, NULL, NULL ); |