diff options
author | Sofian Brabez <sbz@FreeBSD.org> | 2011-09-19 09:15:08 +0000 |
---|---|---|
committer | Sofian Brabez <sbz@FreeBSD.org> | 2011-09-19 09:15:08 +0000 |
commit | 58c1bd2cfb67f597d66945300cfb3445d56bc60d (patch) | |
tree | a02ae3af0fe81493252dabec9b81902d54388bbb /security/py-openssl | |
parent | 3fc3b4d9268964e374832b4d9c26057c04fdb4ec (diff) |
- Fix build on 7.x
Reported by: pav@
Approved by: miwi@ (mentor)
Notes
Notes:
svn path=/head/; revision=281979
Diffstat (limited to 'security/py-openssl')
-rw-r--r-- | security/py-openssl/files/patch-OpenSSL__ssl__ssl.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h b/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h new file mode 100644 index 000000000000..c6e29cd82765 --- /dev/null +++ b/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h @@ -0,0 +1,11 @@ +--- ./OpenSSL/ssl/ssl.h.orig 2011-09-02 17:46:13.000000000 +0200 ++++ ./OpenSSL/ssl/ssl.h 2011-09-12 15:49:37.000000000 +0200 +@@ -73,4 +73,8 @@ + + #endif /* SSL_MODULE */ + ++#if !defined(TLSEXT_NAMETYPE_host_name) && defined(__FreeBSD__) ++#define TLSEXT_NAMETYPE_host_name 0 ++#endif ++ + #endif /* PyOpenSSL_SSL_H_ */ |