pkgsrc/benchmarks/postal/patches/patch-ad
marino 7f7c812e33 benchmarks/postal: Upgrade from version 0.62 to 0.70
Despite several additional patches, postal 0.62 wouldn't compile on
DragonFly (broke on stl vectors), so upgrading the package was the
most effective approach to restore this package.
License updated in Makefile.

Summary of changes since version 0.62
=====================================
0.65   Significant improvement, many new features and many bugs fixed!
0.66   Made GNUTLS work in BHM and added Messageld to Postal
0.67   Changed license to GPLv3
0.68   Fixed compiler warnings on GCC 4.3, make it work for OpenSolaris
0.69   Fixed compiler warnings and more GCC 4.3 compatibility work
0.70   Updated man pages and allowed build without SSL support
2011-11-24 01:15:41 +00:00

16 lines
346 B
Text

$NetBSD: patch-ad,v 1.2 2011/11/24 01:15:41 marino Exp $
--- tcp.h.orig 2007-01-12 07:12:10.000000000 +0000
+++ tcp.h
@@ -100,7 +100,11 @@ private:
#ifdef USE_SSL
#ifdef USE_OPENSSL
+#if OPENSSL_VERSION_NUMBER < 0x00909000L
SSL_METHOD *m_sslMeth;
+#else
+ const SSL_METHOD *m_sslMeth;
+#endif
SSL_CTX* m_sslCtx;
SSL *m_ssl;
#else