diff --git a/net/dclib/Makefile b/net/dclib/Makefile index 8e2c4524509..db55ce7e37e 100644 --- a/net/dclib/Makefile +++ b/net/dclib/Makefile @@ -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 diff --git a/net/dclib/patches/patch-dclib_core_cssl_cpp b/net/dclib/patches/patch-dclib_core_cssl_cpp new file mode 100644 index 00000000000..700bccabed3 --- /dev/null +++ b/net/dclib/patches/patch-dclib_core_cssl_cpp @@ -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. */