aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-openssl
diff options
context:
space:
mode:
authorsbz <sbz@FreeBSD.org>2011-09-19 17:15:08 +0800
committersbz <sbz@FreeBSD.org>2011-09-19 17:15:08 +0800
commit219df824c908b0b11ab6c097cc914bedf192a723 (patch)
tree655c5b7cc1d6a42df1d2d00002e0c809b4d37db1 /security/py-openssl
parentd89c2dd71da872e42e532ac969311a4662e02e23 (diff)
downloadfreebsd-ports-gnome-219df824c908b0b11ab6c097cc914bedf192a723.tar.gz
freebsd-ports-gnome-219df824c908b0b11ab6c097cc914bedf192a723.tar.zst
freebsd-ports-gnome-219df824c908b0b11ab6c097cc914bedf192a723.zip
- Fix build on 7.x
Reported by: pav@ Approved by: miwi@ (mentor)
Diffstat (limited to 'security/py-openssl')
-rw-r--r--security/py-openssl/files/patch-OpenSSL__ssl__ssl.h11
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_ */