mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
community/py-mysqldb: build fix
we dont need my_config.h
This commit is contained in:
parent
6073409488
commit
b9807df83b
@ -8,8 +8,7 @@ url="https://github.com/farcepest/MySQLdb1"
|
|||||||
arch="all"
|
arch="all"
|
||||||
license="GPL"
|
license="GPL"
|
||||||
depends="python2"
|
depends="python2"
|
||||||
depends_dev="mariadb-connector-c-dev"
|
makedepends="mariadb-connector-c-dev python2-dev py-setuptools"
|
||||||
makedepends="$depends_dev python2-dev py-setuptools"
|
|
||||||
source="https://files.pythonhosted.org/packages/source/M/MySQL-python/MySQL-python-$pkgver.zip
|
source="https://files.pythonhosted.org/packages/source/M/MySQL-python/MySQL-python-$pkgver.zip
|
||||||
mariadb.patch"
|
mariadb.patch"
|
||||||
|
|
||||||
@ -26,4 +25,4 @@ package() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="37521c6fd855c4cde495cc8ec085aca79c2d441a6e3710759385bf2e2c17f43d3311cf1166663892829d2e3999c419443c358c7031cdda225ac44611ced188d0 MySQL-python-1.2.5.zip
|
sha512sums="37521c6fd855c4cde495cc8ec085aca79c2d441a6e3710759385bf2e2c17f43d3311cf1166663892829d2e3999c419443c358c7031cdda225ac44611ced188d0 MySQL-python-1.2.5.zip
|
||||||
edc8b1fc11c4dfbc4af42b9a2122bf8adb0bc32ae593606be0bda6a2a5987f47e5136281c7d1b10f84aa6643ecb93f45853960153a4701e49e42ea4158d34ec0 mariadb.patch"
|
fcb15e47a1cc5faa9c6ef33826a661d2728a0bd59ee2d35f7046b5079875741574a3a80ff95f86b419fd6ae58d59fce8f391b1d0630aaec034098054683487ca mariadb.patch"
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
diff --git a/_mysql.c b/_mysql.c
|
diff --git a/_mysql.c b/_mysql.c
|
||||||
index f081346..481617e 100644
|
index f081346..1c434d3 100644
|
||||||
--- a/_mysql.c
|
--- a/_mysql.c
|
||||||
+++ b/_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;
|
int r, reconnect = -1;
|
||||||
if (!PyArg_ParseTuple(args, "|I", &reconnect)) return NULL;
|
if (!PyArg_ParseTuple(args, "|I", &reconnect)) return NULL;
|
||||||
check_connection(self);
|
check_connection(self);
|
||||||
|
Loading…
Reference in New Issue
Block a user