openbsd-ports/devel/pwlib/patches/patch-src_ptclib_pssl_cxx
ajacoutot 7de7eeae8e - major upgrade to pwlib-1.12.0
- rework the way we handle shared_libs versus ptlib version so it stays
compatible with upstream
- install version.h
- dtmf decoder patch from FreeBSD
2008-03-15 17:38:07 +00:00

13 lines
635 B
Plaintext

$OpenBSD: patch-src_ptclib_pssl_cxx,v 1.2 2008/03/15 17:38:07 ajacoutot Exp $
--- src/ptclib/pssl.cxx.orig Fri Jan 4 14:17:19 2008
+++ src/ptclib/pssl.cxx Fri Jan 4 14:17:32 2008
@@ -794,7 +794,7 @@ PSSLDiffieHellman::~PSSLDiffieHellman()
DH_free(dh);
}
-#if defined(__BEOS__) || defined(__APPLE__) || defined(__OpenBSD__)
+#if defined(__BEOS__) || defined(__APPLE__) || (defined(__OpenBSD__) && !defined(__PPC__))
// 2/21/04 Yuri Kiryanov - fix for compiler choke on BeOS for usage of
// SSL function d2i_DHparams_bio below in PSSLDiffieHellman::Load
// 5/26/06 Hannes Friederich - Mac OS X seems to need that fix too...