aboutsummaryrefslogtreecommitdiff
path: root/development/MySQL-python/MySQL-python.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-11-07 21:30:50 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-14 16:55:50 +0700
commit2481137949e81ed12a6b4359a6b57550ed73b049 (patch)
tree7feb5bbbf4028239dca658e8177fe195650adea8 /development/MySQL-python/MySQL-python.SlackBuild
parentcbc962b13533837c8976298cf91b1b9a102de41e (diff)
development/MySQL-python: Patch to build with newer mysqls.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/MySQL-python/MySQL-python.SlackBuild')
-rw-r--r--development/MySQL-python/MySQL-python.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/development/MySQL-python/MySQL-python.SlackBuild b/development/MySQL-python/MySQL-python.SlackBuild
index 7c68cb94ca412..36c14cbac164c 100644
--- a/development/MySQL-python/MySQL-python.SlackBuild
+++ b/development/MySQL-python/MySQL-python.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=MySQL-python
VERSION=1.2.4
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,7 +53,9 @@ find -L . \
-exec chmod 644 {} \;
# Avoid downloading distribute
-patch -p1 < $CWD/no_distribute_download.patch
+patch -p1 < $CWD/patches/no_distribute_download.patch
+# Include my_config.h first
+patch -p1 < $CWD/patches/MySQL-python-1.2.4-include-my_config-first.patch
python setup.py install --root=$PKG