- unbreak dclib after the openssl update
ok landry@, sthen@
This commit is contained in:
parent
5bb3c4934b
commit
ef7cef1a31
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2010/07/12 22:07:38 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2010/10/09 09:41:41 benoit Exp $
|
||||
|
||||
COMMENT= Library for direct-connect protocol
|
||||
|
||||
DISTNAME= dclib-0.3.7
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
CATEGORIES= net
|
||||
SHARED_LIBS= dc 1.0
|
||||
|
||||
|
21
net/dclib/patches/patch-dclib_core_cssl_cpp
Normal file
21
net/dclib/patches/patch-dclib_core_cssl_cpp
Normal file
@ -0,0 +1,21 @@
|
||||
$OpenBSD: patch-dclib_core_cssl_cpp,v 1.1 2010/10/09 09:41:44 benoit Exp $
|
||||
--- dclib/core/cssl.cpp.orig Sat Oct 9 10:57:51 2010
|
||||
+++ dclib/core/cssl.cpp Sat Oct 9 11:02:54 2010
|
||||
@@ -48,7 +48,7 @@
|
||||
/** */
|
||||
SSL_CTX * CSSL::InitClientCTX()
|
||||
{
|
||||
- SSL_METHOD *method;
|
||||
+ const SSL_METHOD *method;
|
||||
SSL_CTX *ctx = NULL;
|
||||
|
||||
OpenSSL_add_all_algorithms(); /* Load cryptos, et.al. */
|
||||
@@ -74,7 +74,7 @@
|
||||
/** */
|
||||
SSL_CTX * CSSL::InitServerCTX()
|
||||
{
|
||||
- SSL_METHOD *method;
|
||||
+ const SSL_METHOD *method;
|
||||
SSL_CTX *ctx = NULL;
|
||||
|
||||
OpenSSL_add_all_algorithms(); /* Load cryptos, et.al. */
|
Loading…
Reference in New Issue
Block a user