aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-mysqldb/mariadb.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-03-26 14:34:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-26 14:34:14 +0000
commitb9807df83b6ab649d915bca53299dd73b1db0897 (patch)
tree135585d951c8368b255c1d4b120640914400a9ae /community/py-mysqldb/mariadb.patch
parent6073409488faf0051dc1f188042f444bbd4c4743 (diff)
downloadaports-b9807df83b6ab649d915bca53299dd73b1db0897.tar.bz2
aports-b9807df83b6ab649d915bca53299dd73b1db0897.tar.xz
community/py-mysqldb: build fix
we dont need my_config.h
Diffstat (limited to 'community/py-mysqldb/mariadb.patch')
-rw-r--r--community/py-mysqldb/mariadb.patch13
1 files changed, 11 insertions, 2 deletions
diff --git a/community/py-mysqldb/mariadb.patch b/community/py-mysqldb/mariadb.patch
index a2cbd8574b..ed7d496f63 100644
--- a/community/py-mysqldb/mariadb.patch
+++ b/community/py-mysqldb/mariadb.patch
@@ -1,8 +1,17 @@
diff --git a/_mysql.c b/_mysql.c
-index f081346..481617e 100644
+index f081346..1c434d3 100644
--- a/_mysql.c
+++ b/_mysql.c
-@@ -2002,7 +2002,7 @@ _mysql_ConnectionObject_ping(
+@@ -40,8 +40,6 @@ PERFORMANCE OF THIS SOFTWARE.
+ #include "structmember.h"
+ #if defined(MS_WINDOWS)
+ #include <config-win.h>
+-#else
+-#include "my_config.h"
+ #endif
+ #include "mysql.h"
+ #include "mysqld_error.h"
+@@ -2002,7 +2000,7 @@ _mysql_ConnectionObject_ping(
int r, reconnect = -1;
if (!PyArg_ParseTuple(args, "|I", &reconnect)) return NULL;
check_connection(self);