Hi,

A patch to unbreak dclib after openssl update, similar from dcmtk.

Cheers,
benoit
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/dclib/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile    12 Jul 2010 22:07:38 -0000      1.8
+++ Makefile    9 Oct 2010 09:08:43 -0000
@@ -3,7 +3,7 @@
 COMMENT=       Library for direct-connect protocol
 
 DISTNAME=      dclib-0.3.7
-REVISION=      1
+REVISION=      2
 CATEGORIES=    net
 SHARED_LIBS=   dc      1.0
 
Index: patches/patch-dclib_core_cssl_cpp
===================================================================
RCS file: patches/patch-dclib_core_cssl_cpp
diff -N patches/patch-dclib_core_cssl_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-dclib_core_cssl_cpp   9 Oct 2010 09:08:43 -0000
@@ -0,0 +1,21 @@
+$OpenBSD$
+--- 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. */

Reply via email to