svn commit: r382626 - head/devel/dcmtk/files

Kurt Jaeger pi at FreeBSD.org
Sun Mar 29 20:22:43 UTC 2015


Author: pi
Date: Sun Mar 29 20:22:42 2015
New Revision: 382626
URL: https://svnweb.freebsd.org/changeset/ports/382626
QAT: https://qat.redports.org/buildarchive/r382626/

Log:
  devel/dcmtk: add EGD conditional to fix build with LibreSSL
  
  PR:		198780
  Submitted by:	Bernard Spil <spil.oss at gmail.com>

Added:
  head/devel/dcmtk/files/patch-dcmtls_libsrc_tlslayer.cc   (contents, props changed)

Added: head/devel/dcmtk/files/patch-dcmtls_libsrc_tlslayer.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/dcmtk/files/patch-dcmtls_libsrc_tlslayer.cc	Sun Mar 29 20:22:42 2015	(r382626)
@@ -0,0 +1,12 @@
+--- dcmtls/libsrc/tlslayer.cc.orig	2010-10-14 13:14:46 UTC
++++ dcmtls/libsrc/tlslayer.cc
+@@ -371,7 +371,9 @@ void DcmTLSTransportLayer::seedPRNG(cons
+ #endif
+   if (randFile)
+   {
++#ifndef LIBRESSL_VERSION_NUMBER
+     if (RAND_egd(randFile) <= 0)
++#endif
+     {
+       RAND_load_file(randFile ,-1);
+     }


More information about the svn-ports-head mailing list