pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/pwlib Fix build failure on -current caused by op...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22c7e53006ab
branches:  trunk
changeset: 545966:22c7e53006ab
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Aug 17 21:46:06 2008 +0000

description:
Fix build failure on -current caused by openssl API change.

diffstat:

 devel/pwlib/distinfo         |   4 ++--
 devel/pwlib/patches/patch-ba |  16 +++++++++++++---
 2 files changed, 15 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r dfabc4166489 -r 22c7e53006ab devel/pwlib/distinfo
--- a/devel/pwlib/distinfo      Sun Aug 17 21:10:32 2008 +0000
+++ b/devel/pwlib/distinfo      Sun Aug 17 21:46:06 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2008/08/10 19:50:47 tonnerre Exp $
+$NetBSD: distinfo,v 1.27 2008/08/17 21:46:06 dholland Exp $
 
 SHA1 (pwlib-v1_8_3-src-tar.gz) = d3a6eff571ebfd37889e75cbaef75983e6119d2e
 RMD160 (pwlib-v1_8_3-src-tar.gz) = 1ce2544ef631c8344543e62988f97022c998bb05
@@ -29,7 +29,7 @@
 SHA1 (patch-ax) = 4058be18b01483f2dd929a113493fc53c4c1fc40
 SHA1 (patch-ay) = 4a7978e13956172e9190444cb773c950c2e95ace
 SHA1 (patch-az) = b82405bea8da7d93d965457f1090e64149e5f561
-SHA1 (patch-ba) = 5695be7e37677e7d4db84bb997404030e8a8523f
+SHA1 (patch-ba) = 3da4e928c9e434eb2759c56b4c8dc40a24ca2fb2
 SHA1 (patch-bb) = 03345fade582539c3b7332f14f1956686ad15289
 SHA1 (patch-bd) = 2d2fb1c6772a1e015cc1bceeb27fda39f57f5acc
 SHA1 (patch-ca) = 931083e2254cf8e09d0f95ce01d36e8176efcba5
diff -r dfabc4166489 -r 22c7e53006ab devel/pwlib/patches/patch-ba
--- a/devel/pwlib/patches/patch-ba      Sun Aug 17 21:10:32 2008 +0000
+++ b/devel/pwlib/patches/patch-ba      Sun Aug 17 21:46:06 2008 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ba,v 1.6 2007/03/14 17:12:48 yyamano Exp $
+$NetBSD: patch-ba,v 1.7 2008/08/17 21:46:06 dholland Exp $
 
---- src/ptclib/pssl.cxx.orig   2004-04-09 15:52:17.000000000 +0900
-+++ src/ptclib/pssl.cxx
+--- src/ptclib/pssl.cxx.orig   2004-04-09 02:52:17.000000000 -0400
++++ src/ptclib/pssl.cxx        2008-08-17 17:30:14.000000000 -0400
 @@ -297,14 +297,22 @@ PSSLPrivateKey::PSSLPrivateKey(const PFi
  
  PSSLPrivateKey::PSSLPrivateKey(const BYTE * keyData, PINDEX keySize)
@@ -76,3 +76,13 @@
  // 2/21/04 Yuri Kiryanov - fix for compiler choke on BeOS for usage of
  // SSL function d2i_DHparams_bio below in PSSLDiffieHellman::Load
  #undef  d2i_DHparams_bio
+@@ -862,6 +882,9 @@ PSSLContext::PSSLContext(const void * se
+   InitialisationMutex.Signal();
+ 
+   // create the new SSL context
++#if OPENSSL_VERSION_NUMBER >= 0x00909000L
++  const
++#endif
+   SSL_METHOD * meth = SSLv23_method();
+   context  = SSL_CTX_new(meth);
+   if (context == NULL)



Home | Main Index | Thread Index | Old Index