From 3dd9a92d498aeb5ba33242d0f8d0906ca64195d0 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 25 Nov 2011 22:12:28 +0000 Subject: [PATCH] Fix issues with newer OpenSSL --- net/kftpgrabber/distinfo | 3 ++- .../patches/patch-kftpgrabber_src_engine_ssl.cpp | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 net/kftpgrabber/patches/patch-kftpgrabber_src_engine_ssl.cpp diff --git a/net/kftpgrabber/distinfo b/net/kftpgrabber/distinfo index 55d1f791f3ef..dd4e9abb932e 100644 --- a/net/kftpgrabber/distinfo +++ b/net/kftpgrabber/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.7 2007/05/28 21:54:41 markd Exp $ +$NetBSD: distinfo,v 1.8 2011/11/25 22:12:28 joerg Exp $ SHA1 (kftpgrabber-0.8.1.tar.bz2) = da5c6100a6e3129bc1f845c35475cd48b42afc8a RMD160 (kftpgrabber-0.8.1.tar.bz2) = a0f724bce57becdbfb4c4ceb130039f9df256129 Size (kftpgrabber-0.8.1.tar.bz2) = 1349940 bytes SHA1 (patch-aa) = 243ed3196298121553039d1c827f7042f69eb033 +SHA1 (patch-kftpgrabber_src_engine_ssl.cpp) = 1164f2d875943f4924ef32646637a4a11a779061 diff --git a/net/kftpgrabber/patches/patch-kftpgrabber_src_engine_ssl.cpp b/net/kftpgrabber/patches/patch-kftpgrabber_src_engine_ssl.cpp new file mode 100644 index 000000000000..f7fc91757df9 --- /dev/null +++ b/net/kftpgrabber/patches/patch-kftpgrabber_src_engine_ssl.cpp @@ -0,0 +1,13 @@ +$NetBSD: patch-kftpgrabber_src_engine_ssl.cpp,v 1.1 2011/11/25 22:12:28 joerg Exp $ + +--- kftpgrabber/src/engine/ssl.cpp.orig 2011-11-25 18:51:58.000000000 +0000 ++++ kftpgrabber/src/engine/ssl.cpp +@@ -169,7 +169,7 @@ bool Ssl::setClientCertificate(KSSLPKCS1 + + void Ssl::setConnectionInfo() + { +- SSL_CIPHER *cipher; ++ const SSL_CIPHER *cipher; + char buffer[1024]; + + buffer[0] = 0;