svn commit: r348573 - in head/databases/py-MySQLdb: . files
Dmitry Sivachenko
demon at FreeBSD.org
Tue Mar 18 15:10:47 UTC 2014
Author: demon
Date: Tue Mar 18 15:10:46 2014
New Revision: 348573
URL: http://svnweb.freebsd.org/changeset/ports/348573
QAT: https://qat.redports.org/buildarchive/r348573/
Log:
Fix SSL support.
PR: 187666
Submitted by: Michael Gmelin <freebsd at grem.de>
Added:
head/databases/py-MySQLdb/files/
head/databases/py-MySQLdb/files/patch-_mysql.c (contents, props changed)
Modified:
head/databases/py-MySQLdb/Makefile
Modified: head/databases/py-MySQLdb/Makefile
==============================================================================
--- head/databases/py-MySQLdb/Makefile Tue Mar 18 15:10:20 2014 (r348572)
+++ head/databases/py-MySQLdb/Makefile Tue Mar 18 15:10:46 2014 (r348573)
@@ -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}
Added: head/databases/py-MySQLdb/files/patch-_mysql.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/py-MySQLdb/files/patch-_mysql.c Tue Mar 18 15:10:46 2014 (r348573)
@@ -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)
+ {
More information about the svn-ports-all
mailing list