openbsd-ports/databases/py-mysql/patches/patch-_mysql_c
benoit 774bdc3d6b - update py-mysql to 1.2.3
- regen patches, PLIST
- take maintainership
- use MODPY_EGG_VERSION
2010-11-14 08:57:16 +00:00

13 lines
422 B
Plaintext

$OpenBSD: patch-_mysql_c,v 1.3 2010/11/14 08:57:17 benoit Exp $
--- _mysql.c.orig Thu Jun 17 09:21:56 2010
+++ _mysql.c Sun Nov 14 09:30:49 2010
@@ -1878,7 +1878,7 @@ _mysql_ConnectionObject_shutdown(
check_connection(self);
Py_BEGIN_ALLOW_THREADS
r = mysql_shutdown(&(self->connection)
-#if MYSQL_VERSION_ID >= 40103
+#if (MYSQL_VERSION_ID >= 40103 && MYSQL_VERSION_ID != 50000)
, SHUTDOWN_DEFAULT
#endif
);