diff options
author | pawel <pawel@FreeBSD.org> | 2012-01-11 03:10:15 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-01-11 03:10:15 +0800 |
commit | 73ca826147f8e68568852e14a0112c97417a694d (patch) | |
tree | 0aa087925385e14dfba3ab3bfe8f1e28a33711aa /devel/ace | |
parent | ecae3debb6cb1c495074914902e5d9c54df8f919 (diff) | |
download | freebsd-ports-graphics-73ca826147f8e68568852e14a0112c97417a694d.tar.gz freebsd-ports-graphics-73ca826147f8e68568852e14a0112c97417a694d.tar.zst freebsd-ports-graphics-73ca826147f8e68568852e14a0112c97417a694d.zip |
Fix build with openssl from ports
PR: ports/163712
Reported by: Anthony Chavez <acc@hexadecagram.org>
Diffstat (limited to 'devel/ace')
-rw-r--r-- | devel/ace/files/patch-ace-ssl-ssl_context.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/ace/files/patch-ace-ssl-ssl_context.cpp b/devel/ace/files/patch-ace-ssl-ssl_context.cpp new file mode 100644 index 00000000000..1029129bac5 --- /dev/null +++ b/devel/ace/files/patch-ace-ssl-ssl_context.cpp @@ -0,0 +1,14 @@ +--- ace/SSL/SSL_Context.cpp.orig 2012-01-10 18:04:45.000000000 +0100 ++++ ace/SSL/SSL_Context.cpp 2012-01-10 18:17:42.000000000 +0100 +@@ -231,7 +231,11 @@ + if (this->context_ != 0) + return -1; + ++#if OPENSSL_VERSION_NUMBER < 0x1000000f + SSL_METHOD *method = 0; ++#else ++ const SSL_METHOD *method = 0; ++#endif + + switch (mode) + { |