mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Fix SSL support.
PR: 187666 Submitted by: Michael Gmelin <freebsd@grem.de>
This commit is contained in:
parent
84c94c7326
commit
1dde51176b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348573
2 changed files with 14 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= MySQLdb
|
||||
DISTVERSION= 1.2.3
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= SF/mysql-python/mysql-python/${PORTVERSION}
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
13
databases/py-MySQLdb/files/patch-_mysql.c
Normal file
13
databases/py-MySQLdb/files/patch-_mysql.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- _mysql.c.orig 2014-03-18 19:07:07.000000000 +0400
|
||||
+++ _mysql.c 2014-03-18 19:07:40.000000000 +0400
|
||||
@@ -102,6 +102,10 @@ static int _mysql_server_init_done = 0;
|
||||
#define check_server_init(x) if (!_mysql_server_init_done) _mysql_server_init_done = 1
|
||||
#endif
|
||||
|
||||
+#if MYSQL_VERSION_ID >= 50500
|
||||
+#define HAVE_OPENSSL 1
|
||||
+#endif
|
||||
+
|
||||
PyObject *
|
||||
_mysql_Exception(_mysql_ConnectionObject *c)
|
||||
{
|
Loading…
Add table
Reference in a new issue