On 10/06/10 20:58, Matthias Kilian wrote:
On Wed, Oct 06, 2010 at 02:08:20PM +0200, Benoit Lecocq wrote:
A patch to unbreak dcmtk after openssl update.
Shouldn't it be enough to change the declaration of
SSL_METHOD *method
to
const SSL_METHOD *method?
Ciao,
Kili
Yes, more simple !
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/dcmtk/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 11 Apr 2008 11:27:24 -0000 1.2
+++ Makefile 6 Oct 2010 20:14:26 -0000
@@ -3,6 +3,7 @@
COMMENT= DICOM toolkit
DISTNAME= dcmtk-3.5.4
+REVISION= 0
CATEGORIES= graphics
Index: patches/patch-dcmtls_libsrc_tlslayer_cc
===================================================================
RCS file: patches/patch-dcmtls_libsrc_tlslayer_cc
diff -N patches/patch-dcmtls_libsrc_tlslayer_cc
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-dcmtls_libsrc_tlslayer_cc 6 Oct 2010 20:14:26 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- dcmtls/libsrc/tlslayer.cc.orig Wed Oct 6 22:10:42 2010
++++ dcmtls/libsrc/tlslayer.cc Wed Oct 6 22:10:53 2010
+@@ -188,7 +188,7 @@
+ SSLeay_add_all_algorithms();
+ seedPRNG(randFile);
+
+- SSL_METHOD *method = NULL;
++ const SSL_METHOD *method = NULL;
+ switch (networkRole)
+ {
+ case DICOM_APPLICATION_ACCEPTOR: