summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2015-03-29 20:22:42 +0000
committerKurt Jaeger <pi@FreeBSD.org>2015-03-29 20:22:42 +0000
commitf26190de66b7056d76bb6f71bc67fc20afd2676d (patch)
treec06a977fa75d67c61d22cda27029d5177ac3e97e
parent- update to 10.1 (diff)
devel/dcmtk: add EGD conditional to fix build with LibreSSL
PR: 198780 Submitted by: Bernard Spil <spil.oss@gmail.com>
Notes
Notes: svn path=/head/; revision=382626
-rw-r--r--devel/dcmtk/files/patch-dcmtls_libsrc_tlslayer.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/devel/dcmtk/files/patch-dcmtls_libsrc_tlslayer.cc b/devel/dcmtk/files/patch-dcmtls_libsrc_tlslayer.cc
new file mode 100644
index 000000000000..9b7a7aa50e79
--- /dev/null
+++ b/devel/dcmtk/files/patch-dcmtls_libsrc_tlslayer.cc
@@ -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);
+ }